Commit Graph

935 Commits

Author SHA1 Message Date
Tom Lin
717cc40c2c Move all C++ impl. to ./cpp 2021-05-23 07:21:21 +01:00
Tom Deakin
2ab68ab39e Update changelog 2021-05-18 16:47:56 +01:00
Tom Deakin
82dedad676 [SYCL 1.2.1] Add check for FP64 support
Fixes #98
2021-05-18 16:47:36 +01:00
Tom Deakin
d3269ece59
Merge pull request #101 from UoB-HPC/revert-100-issue-98
Revert "Add check for FP64 support"
2021-05-18 16:44:20 +01:00
Tom Deakin
b772d00fe4
Revert "Add check for FP64 support" 2021-05-18 16:44:06 +01:00
Tom Deakin
a209f16c16
Merge pull request #100 from UoB-HPC/issue-98
Add check for FP64 support
2021-05-18 11:31:36 +01:00
Tom Lin
0616068ade Merge branch 'main' into issue-98 2021-05-17 20:16:50 +01:00
Tom Lin
45ebd09ef2 Don't use hardcoded rocm path 2021-05-17 20:00:00 +01:00
Tom Deakin
6581ee63b8 Update changelog 2021-05-17 15:33:54 +01:00
Tom Deakin
9f38177e1b [SYCL 2020] Add check for FP64 support using device aspects.
This will resolve #98 in the future SYCL 2020 version.
2021-05-17 15:32:42 +01:00
Tom Deakin
e20aecd845 [SYCL 1.2.1] Add check for FP64 support
Fixes #98
2021-05-17 15:25:43 +01:00
Tom Lin
cc16547e4d Add install target for CMake 2021-05-10 17:50:36 +01:00
Tom Deakin
e5c9f313cb
Merge pull request #96 from tob2/stdlib_fix
Include stdlib.h for aligned_alloc
2021-04-28 11:19:27 +01:00
Tobias Burnus
75a4394830 Include stdlib.h for aligned_alloc
Silence "error: there are no arguments to 'aligned_alloc' that depend
on a template parameter, so a declaration of 'aligned_alloc' must be
available"

* OMPStream.cpp: #include <cstdlib>.
* RAJAStream.cpp: Likewise.
2021-04-22 09:00:55 +02:00
Tom Lin
2eca3974e6 Disable CI for RAJA on gcc-10+CUDA due to ICE
Update changelog to include RAJA 0.13.x
2021-04-21 16:28:12 +01:00
Tom Lin
2ff883f2f7 Merge branch 'main' into rust
# Conflicts:
#	README.md
2021-04-21 15:58:43 +01:00
Tom Deakin
6ecd10bf98 Deprecate HC 2021-04-20 16:16:56 +01:00
Tom Deakin
a94d678b34
Update CHANGELOG.md 2021-04-08 17:06:43 +01:00
Tom Deakin
9642821afa
Merge pull request #91 from UoB-HPC/cmake
CMake+CI integration
2021-04-08 16:18:38 +01:00
Andrei Poenaru
f279f58a72 Improve CMake messages 2021-03-30 17:08:03 +03:00
Andrei Poenaru
4d83bf4b18 Fix some README typos 2021-03-30 16:54:48 +03:00
Tom Lin
7ec28e55f1 CMake: Update CI rocm to 4.1.0 2021-03-30 13:02:48 +01:00
Tom Lin
9b23f6e54d Initial Rust implementation 2021-03-25 15:40:16 +00:00
Tom Lin
23f343fa15 Default to C++11 2021-03-24 17:20:11 +00:00
Tom Lin
fc6d032d7f Use model name as exe prefix
Drop C++17 requirement for OMP
2021-03-23 18:16:42 +00:00
Tom Lin
14aefecc57 Re-add all compile and arch dependent flags
Fix ACC not linking on CMake < 3.16
Fix CUDA warnings for CMP0104 and avoid repeated -O[n] flags
Fix ComputeCpp not picking up custom flags
[CI] Highlight compiler warnings
[CI] Don't skip remaining tests when one fails
[CI] Add CMake 3.13, 3.15, 3.18 checks
2021-03-11 15:46:23 +00:00
Tom Lin
ec131e2cfc Merge branch 'main' into cmake 2021-03-10 17:22:04 +00:00
Tom Deakin
3c637cd04d
Merge pull request #93 from UoB-HPC/sycl_size_t
Fix int to size_t narrowing for SYCL
2021-03-10 17:09:04 +00:00
Tom Lin
94e0c5ff4d Fix int to size_t narrowing for SYCL, closes #92 2021-03-10 15:48:41 +00:00
Tom Lin
856822d663 Don't run the CI twice in an open PR 2021-03-08 20:31:23 +00:00
Tom Lin
cda17d7b30 Add -march=native 2021-03-08 20:19:44 +00:00
Tom Lin
6536c1736a Initial CMake+CI integration 2021-03-05 13:41:35 +00:00
Tom Deakin
f7dc20b875 Merge branch 'sycl-2020' of github.com:uob-hpc/babelstream into sycl-2020
Conflicts:
	CHANGELOG.md
2021-02-22 15:20:38 +00:00
Tom Deakin
67da8f6a8e [SYCL 2020] Add nstream kernel 2021-02-22 15:19:56 +00:00
Tom Deakin
5490253342 Merge branch 'main' into sycl-2020
Conflicts:
	SYCLStream.h
2021-02-22 15:18:34 +00:00
Tom Deakin
89c676ac91 Merge branch 'main' into sycl-2020 2021-02-22 15:15:32 +00:00
Tom Deakin
9025afec1a
Merge pull request #88 from UoB-HPC/nstream
Add PRK Nstream kernel
2021-02-22 15:14:21 +00:00
Tom Deakin
312af25cfb Merge branch 'main' into nstream 2021-02-22 15:13:31 +00:00
Tom Deakin
aa8701af76
Merge pull request #87 from UoB-HPC/computecpp_fix
Fixed sycl kernel linking for computecpp
2021-02-19 16:29:44 +00:00
Tom Deakin
683b8fcf88 update README 2021-02-18 13:51:24 +00:00
Tom Deakin
13c9e0c1c7 update changelog 2021-02-18 13:48:45 +00:00
Tom Deakin
a6f23ba900 Add option to run nstream in isolation 2021-02-18 13:32:35 +00:00
Tom Deakin
9715ffff27 Merge branch 'main' into nstream
Conflicts:
	CHANGELOG.md
	main.cpp
2021-02-18 13:20:36 +00:00
Tom Deakin
13dfff45a6
Merge pull request #90 from UoB-HPC/generalise-run
Generalise run function
2021-02-18 13:18:38 +00:00
Tom Deakin
ba47571ab2 update changelog 2021-02-18 12:37:58 +00:00
Tom Deakin
3deb9f8eff Generalise the run functions to share construction of models and check vectors
An enum is added and set by the command line options to choose the running mode:
all 5 kernels or triad only.

There is now only one run fuction which call the constructor of each
model implementation, calling another routine to run the kernels.
The output is then determined by the enum value.
2021-02-18 12:35:12 +00:00
Tom Deakin
487e59c6a9 Don't run nstream in the main benchmark 2021-02-18 11:37:49 +00:00
Tom Deakin
46bbab6ebb Revert "Update initial starting values"
This reverts commit 44e74b574b.
2021-02-18 11:06:14 +00:00
Tom Lin
94e394845f Clean up SYCL.make with unified build target 2021-02-17 17:17:20 +00:00
Tom Deakin
98d2140a88 [SYCL 2020] Add note about glibc 2021-02-17 16:48:42 +00:00