single source that compiles to run on both GPU and CPU
Currently only supported on Linux x86_64 / AMD64.
-
Install
bazel
orbazelisk
-
Verify that you can build and test:
bazel test //...
And with CUDA:
bazel test --cuda //...
- Got it building and running with OpenSYCL on CPU / OpenMP.
- Doesn't work with nvc++ possibly due to an nvc++ bug. AdaptiveCpp/AdaptiveCpp#1052.
- Got it building and running with Intel DPC++ on CPU and GPU, but not through bazel.
Working with bazel for both CUDA and CPU.
Working with bazel for both CUDA and CPU.