Tom Deakin
1336400311
[SYCL 2020] Use unique pointer for queue constructor
2021-02-08 11:34:37 +00:00
Tom Deakin
1db9a6b648
[SYCL 2020] Use smart pointers instead of raw pointers
2021-02-08 11:33:03 +00:00
Tom Deakin
1517101ceb
[SYCL 2020] Remove work-group heuristic for reduction as unused
2021-02-08 11:07:38 +00:00
Tom Deakin
fb7ef884c6
Merge branch 'main' into sycl-2020
2021-02-08 11:05:22 +00:00
Tom Deakin
f90d911551
Add nstream to OpenACC, but it looks like NVHPC is ignoring the += in the kernel so results are wrong
2021-02-03 16:58:47 +00:00
Tom Deakin
c53b635a3c
Add nstream kernel to HIP
2021-02-03 11:25:26 +00:00
Tom Deakin
44e74b574b
Update initial starting values
2021-02-03 11:21:56 +00:00
Tom Deakin
490af52147
Add nstream to C++ STD version -- untested as compilers not ready
2021-02-03 10:54:33 +00:00
Tom Deakin
579247dc06
Normalise sum result to mitigate errors with large iteration counts
2021-02-03 10:16:13 +00:00
Tom Deakin
210cfb7520
Revert "Update initial array values to ensure dot product works with the nstream kernel"
...
This reverts commit 5346e1226d .
Conflicts:
CHANGELOG.md
2021-02-03 10:14:58 +00:00
Tom Deakin
aefe5af18b
Add nstream to Kokkos
2021-02-02 15:58:00 +00:00
Tom Deakin
4203ccb017
Add nstream kernel to OpenCL
2021-02-02 15:46:53 +00:00
Tom Deakin
fdac285110
Merge branch 'main' into nstream
...
Conflicts:
CHANGELOG.md
2021-02-02 15:46:39 +00:00
Tom Deakin
018d8a4510
[OpenCL] Remove dot kernel object in deconstructor
2021-02-02 15:45:54 +00:00
Tom Deakin
30231575cb
Tidy CUDA memory mode Makefile
2021-02-02 12:33:18 +00:00
Tom Deakin
05e3e5a127
Add CUDA nstream kernel
2021-02-02 12:32:33 +00:00
Tom Deakin
fa477bd466
Merge branch 'main' into nstream
2021-02-02 12:33:39 +00:00
Tom Deakin
bda9525b95
Add SYCL 1.2.1 nstream kernel
2021-02-02 12:29:03 +00:00
Tom Deakin
b470e4466c
Merge branch 'main' into nstream
2021-02-02 11:49:38 +00:00
Tom Deakin
5d697fdfe9
Add missing OpenMP flag to Intel CPU builds
2021-02-02 11:49:16 +00:00
Tom Deakin
4c905e6a86
Add OpenMP nstream kernel
2021-02-02 11:44:37 +00:00
Tom Deakin
84406024cf
Update CHANGELOG
2021-02-02 11:28:33 +00:00
Tom Deakin
5346e1226d
Update initial array values to ensure dot product works with the nstream kernel
2021-02-02 11:27:54 +00:00
Tom Deakin
767df86f1a
Update README with nstream citations
2021-02-02 11:25:48 +00:00
Tom Deakin
bd04e6db3c
Add nstream kernel from PRK
...
PRK has a nstream kernel, which is Triad with a += update.
This means there are 3 reads and a write, which is a higher
read/write ratio. In addition, non-temporal stores for the
write on CPUs will not be beneficial, and so compilers should
take care to emit these for the other kernels, but not these.
2021-02-02 11:25:42 +00:00
Tom Deakin
f99f8d35d9
Revert "Add nstream kernel from PRK"
...
This reverts commit 1e94a41f3c .
2021-02-02 11:25:27 +00:00
Tom Deakin
877f820282
Revert "Update README with nstream citations"
...
This reverts commit cb0c345ad5 .
2021-02-02 11:25:14 +00:00
Tom Deakin
cb0c345ad5
Update README with nstream citations
2021-02-02 11:24:41 +00:00
Tom Deakin
1e94a41f3c
Add nstream kernel from PRK
...
PRK has a nstream kernel, which is Triad with a += update.
This means there are 3 reads and a write, which is a higher
read/write ratio. In addition, non-temporal stores for the
write on CPUs will not be beneficial, and so compilers should
take care to emit these for the other kernels, but not these.
2021-02-01 17:41:30 +00:00
Tom Deakin
b825df0074
[SYCL 2020] Declare reduction inline to reduce one variable name
2021-01-21 18:18:35 +00:00
Tom Deakin
4726f3f0f1
[SYCL 2020] Specify no_init property when initalising buffers
2021-01-21 10:39:13 +00:00
Tom Deakin
42c8954789
[SYCL 2020] use new reduction for dot kernel
2021-01-21 10:38:12 +00:00
Tom Deakin
aa0ab6a8e3
use new header path
2021-01-21 10:37:11 +00:00
Tom Deakin
435a104f6e
Check input array size is positive
2021-01-12 15:30:41 +00:00
Tom Deakin
b611db8cab
[SYCL 2020] Use host accessor constructors
2021-01-12 11:58:14 +00:00
Tom Deakin
282fb1e5e3
[SYCL 2020] Use accessor constructurs using CTAD and Tags instead of get_access
2021-01-12 11:54:39 +00:00
Tom Deakin
8f5357011a
[SYCL 2020] Use sycl::id for init kernel
2021-01-12 11:16:46 +00:00
Tom Deakin
501c61cfbd
[SYCL 2020] update namespace from cl::sycl to sycl::
...
Also remove the use namespace to make it clear what comes from SYCL
2021-01-12 11:14:43 +00:00
Tom Deakin
e8faf6843d
Remove old comment
2021-01-12 11:01:11 +00:00
Tom Deakin
8c72b52f16
[SYCL 2020] Use unnamed lamdas
2021-01-12 11:00:54 +00:00
Tom Deakin
903eb40d19
Add parseInt function for parsing CLI arguments for array size
2021-01-12 10:28:01 +00:00
Tom Deakin
15001000c5
use signed int for array size in RAJA
2021-01-12 10:25:45 +00:00
Tom Deakin
87ab797490
use signed ints for HC
2021-01-12 10:25:16 +00:00
Tom Deakin
66aaec281f
use signed ints for HIP
2021-01-12 10:24:27 +00:00
Tom Deakin
9a69d3d5d9
use signed array size for SYCL
2021-01-12 10:24:00 +00:00
Tom Deakin
20c3284629
Update CHANGELOG with signed int change
2021-01-12 10:23:21 +00:00
Tom Deakin
d01b46a87a
use signed ints for STD C++20
2021-01-12 10:22:53 +00:00
Tom Deakin
ecc47f5320
use signed ints for STD C++17
2021-01-12 10:22:29 +00:00
Tom Deakin
94c7c3dbd8
use signed array size for OpenCL
2021-01-12 10:21:48 +00:00
Tom Deakin
693a7e7478
use signed array size for CUDA
2021-01-12 10:20:44 +00:00