-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[alpaka] Add support for the SYCL back-end #407
base: master
Are you sure you want to change the base?
[alpaka] Add support for the SYCL back-end #407
Commits on Aug 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 552f0e0 - Browse repository at this point
Copy the full SHA 552f0e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54ee48f - Browse repository at this point
Copy the full SHA 54ee48fView commit details -
[sycl] add path to debugger in Makefile
additional sources are necessary to use gdb-oneapi the same is true for the other tools (advisor, inspector, vtune...) but since they are useless there is no point in sourcing them as well
Configuration menu - View commit details
-
Copy full SHA for 2be85e8 - Browse repository at this point
Copy the full SHA 2be85e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for e8fdc61 - Browse repository at this point
Copy the full SHA e8fdc61View commit details
Commits on Sep 4, 2023
-
[alpaka] add option to compile for the SYCL backend
The application is compiled once for the CPU(s) and once for the Intel GPU(s). The flags for AOT compilation have been added and icpx is used as the default compiler for the SYCL backend. The linking step is performed as well with icpx when the SYCL backend is enabled.
Configuration menu - View commit details
-
Copy full SHA for decbfd4 - Browse repository at this point
Copy the full SHA decbfd4View commit details -
[alpaka] checkout a newer alpaka version
commit 819974ddc5b2eb4b33e709bd317701793cdb7d15 Author: Jan Stephan <[email protected]> Date: Thu Aug 3 14:20:59 2023 +0200 Always use std::size_t for CUDA pitch calculations
Configuration menu - View commit details
-
Copy full SHA for 5994097 - Browse repository at this point
Copy the full SHA 5994097View commit details -
[alpaka] put static after ALPAKA_FN_INLINE
Changed the order to make the ONEAPI compiler happy
Configuration menu - View commit details
-
Copy full SHA for 4452287 - Browse repository at this point
Copy the full SHA 4452287View commit details -
[alpaka] define CONSTANT_VAR as constexpr for SYCL
For the other backends it is mapped to ALPAKA_STATIC_ACC_MEM_CONSTANT, but global variables are not supported yet in the SYCL backend. However, in this case a `constexpr` is enough to obtain the same result
Configuration menu - View commit details
-
Copy full SHA for fe69537 - Browse repository at this point
Copy the full SHA fe69537View commit details -
[alpaka] add support for SYCL in the framework
- added the allocator policy: Caching or Synchronous - added allocCachedBuf: TODO implement pitch in SYCL - fixed cout because SYCL events in alpaka are not shared pointers - do not cache SYCL events - Changed size of CountersOnly to 1 because SYCL kernels do not support zero-lenght arrays - implemented HostOnlyTask using `alpaka/core/CallbackThread` - adapt `prefixScan` and `radixSort` to SYCL: work around the function pointer not supported in SYCl kernels - implemented the work division - add the `--syclcpu` and `--syclgpu` options for the backends
Configuration menu - View commit details
-
Copy full SHA for e0dc17b - Browse repository at this point
Copy the full SHA e0dc17bView commit details -
[alpaka] define a common interface for math functions
Math functions are defined in the `namespace math` and are taken from the `sycl namespace` for the SYCL backend, from the global namespace for the CUDA and HIP backends and from the `std namespace` in every other case
Configuration menu - View commit details
-
Copy full SHA for 9377ce5 - Browse repository at this point
Copy the full SHA 9377ce5View commit details -
[alpaka] add support for SYCL in the plugins and in the tests
added the ifdef for SYCL
Configuration menu - View commit details
-
Copy full SHA for 37aa0cb - Browse repository at this point
Copy the full SHA 37aa0cbView commit details -
Add trait to set the warp size to 32 for the kernels that requires it. Implemented in alpaka only for the SYCL backend at the moment, does nothing for the other backends
Configuration menu - View commit details
-
Copy full SHA for 1013547 - Browse repository at this point
Copy the full SHA 1013547View commit details -
[alpaka] fix for the SYCL CPU backend
There is a bug with `any_of_group` / `all_of_group` in the OpenCL runtime that can be worked around setting the sub-group size equal to the block size. The bug has been solved in the latest runtimes, but the application hangs with these..
Configuration menu - View commit details
-
Copy full SHA for 1774c68 - Browse repository at this point
Copy the full SHA 1774c68View commit details