Commit Graph

60 Commits

Author SHA1 Message Date
Tom Lin
14844ceb56 Fix CMakeLists.txt typo on USE_ONEDPL 2022-07-28 16:53:57 +01:00
Tom Lin
dfb4eb06b2 Add oneDPL for std models 2022-07-28 15:03:26 +01:00
Tom Lin
f5513cd69e Add in-tree oneTBB build 2022-07-26 23:51:21 +01:00
Tom Deakin
9be9e71542 Version bump CPP implementations 2021-12-22 12:59:05 +00:00
Tom Deakin
272cc719bd
Merge pull request #115 from UoB-HPC/std-next
More STD variants
2021-12-22 12:58:06 +00:00
Tom Lin
2cd52228b7 Revert "Add oneDPL support for std-data and std-indices"
This reverts commit 6ea09a9620.
2021-12-22 12:20:33 +00:00
Tom Lin
847d87c338 Append link flags directly without check 2021-12-22 10:26:03 +00:00
Tom Lin
6ea09a9620 Add oneDPL support for std-data and std-indices 2021-12-22 09:14:46 +00:00
Tom Lin
fbd2e1bdc1 Add comments for custom range iterator
Remove debug leftovers from CMakeList
Update copyright
2021-12-22 09:10:41 +00:00
Tom Lin
f9bba3c0de Split implementation for index/data oriented std variants
Fix missing range iterator functions for std-indices
Rename std20 to std-ranges
2021-12-15 21:38:56 +00:00
Tom Deakin
2f1187f0d5 Move SYCL2020 to subdirectory 2021-12-09 11:40:30 +00:00
Tom Lin
65b8b51b35 Move CMakeList.txt to top level 2021-12-03 13:26:09 +00:00
Tom Lin
717cc40c2c Move all C++ impl. to ./cpp 2021-05-23 07:21:21 +01:00
Tom Lin
cc16547e4d Add install target for CMake 2021-05-10 17:50:36 +01:00
Andrei Poenaru
f279f58a72 Improve CMake messages 2021-03-30 17:08:03 +03:00
Tom Lin
23f343fa15 Default to C++11 2021-03-24 17:20:11 +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
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
1d4b809b44 Remove CMake from project
CMake is unable to use multiple compilers within a single build.
We require building multiple binaries, one for each model, and as
such they often require different compilers for each. Therefore
we feel it is simpler to provide a simple, sample Makefile for each
model. Some common configurations will be specalised in due course.
2017-02-23 14:58:34 +00:00
James Price
caf367f8fb Remove broken common.h generation from CMake build 2017-01-30 16:12:09 +00:00
James Price
b09b90f6fc Merge remote-tracking branch 'origin' into kernel-dot 2016-10-28 21:07:57 +01:00
James Price
cce8e78cae Merge pull request #12 from Ruyk/master
Updated the SYCL Stream benchmark with latest ComputeCpp CE 0.1.1 Edition
2016-10-28 21:06:34 +01:00
Tom Deakin
e5b67ac969 Version bump 2016-10-25 12:22:01 +01:00
Tom Deakin
963f3abfa0 Version bump 2016-10-24 13:52:03 +01:00
Ruyman Reyes
23a43bfa6d Adding support for ComputeCpp CE
This patch updates the CMake building options to support
the ComputeCpp Community Edition 0.1, including the FindComputeCpp
CMake module provided with the ComputeCpp SDK.

In order to build with ComputeCpp, only the standard CMake flags from
the SDK are required:

cmake ../
  -DHAS_SYCL=ON \
  -DCOMPUTECPP_PACKAGE_ROOT_DIR=/path/to/computecpp/package \
  -DCMAKE_MODULE_PATH=GPU-STREAM/cmake/Modules/
2016-10-12 17:51:41 +01:00
pensun
a1f9d9ece7 Add support of HIP version of GPU-STREAM.
This commit was tested with HIP developer preview branch.
2016-09-05 23:41:01 -05:00
James Price
1ec98b4496 Use 'Release' if CMAKE_BUILD_TYPE not specified 2016-07-04 15:46:00 +01:00
James Price
525fb4d5e2 Fix out-of-tree builds 2016-06-30 17:04:23 +01:00
Tom Deakin
2033f3f0c6 Break RAJA build but fix all the others.. 2016-05-12 16:37:06 +01:00
Tom Deakin
2001ab5fb1 Build against a RAJA installation in the CMake build system 2016-05-12 15:40:22 +01:00
Tom Deakin
d75084b753 Fix Kokkos CMake so it works.. 2016-05-12 12:35:47 +01:00
Tom Deakin
2381f059ed Set KOKKOS_PATH to build Kokkos version 2016-05-12 12:31:16 +01:00
Tom Deakin
f6fca3ac06 Add Kokkos building to CMake config 2016-05-12 12:30:06 +01:00
James Price
3ebad06bd4 [SYCL] Fix detection of CL/sycl.hpp for C++14 versions 2016-05-11 22:22:20 +01:00
James Price
7cd14f480d [SYCL] Auto-detect presence of CL/sycl.hpp and ComputeCpp 2016-05-11 22:00:04 +01:00
Tom Deakin
5638cbb283 Check for OpenMP support and build OMP3 version 2016-05-11 17:49:48 +01:00
Tom Deakin
bf9c6fb6cd Add -fopenacc flag on linking with GCC compiler 2016-05-11 17:21:52 +01:00
Tom Deakin
494e89d16b Add placeholder banners for CMake build systems to fix 2016-05-11 16:02:34 +01:00
Tom Deakin
9b2a586e08 Add rule to build OMP4.5 on Cray 2016-05-11 15:57:39 +01:00
Tom Deakin
eae8da57ac Delete commented out C++ flag for OpenACC as no longer needed 2016-05-11 15:57:20 +01:00
Tom Deakin
e095cb67f8 Remove ugly CMake endif text in parenthesis 2016-05-11 13:37:12 +01:00
Tom Deakin
bf29b02d35 Add banners in CMakeLists file so easy to spot build rules for versions 2016-05-11 13:35:24 +01:00
Tom Deakin
8a195b6416 Remove printout of compiler id in cmake 2016-05-11 13:35:12 +01:00
Tom Deakin
e0ca56bd67 Set the C++11 flag when using the Cray compiler 2016-05-11 13:33:01 +01:00
Tom Deakin
8d45e61f6c Check for OpenACC support by checking the various compiler flags 2016-05-11 13:20:15 +01:00
Tom Deakin
1a9225ca95 If building CUDA on Darwin with Xcode 7.3.1 skip becuase CUDA doesn't work this version 2016-05-11 12:54:12 +01:00
James Price
fb8f06e683 [SYCL] Pass -no-serial-memop to compute++ to squelch warning 2016-05-06 22:33:18 +01:00
James Price
d4b3b3533c Update SYCL version to work with ComputeCpp
Still needs proper CMake rules and kernel names need to be fixed for
multiple template instantiations.
2016-05-06 00:38:30 +01:00
Tom Deakin
48cae0cbc1 Make sure CUDA nvcc builds with C++11 2016-05-03 15:20:26 +01:00