Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 657 Bytes

README.md

File metadata and controls

38 lines (23 loc) · 657 Bytes

XPU

single source that compiles to run on both GPU and CPU

Set up

Currently only supported on Linux x86_64 / AMD64.

  • Install bazel or bazelisk

  • Verify that you can build and test:

bazel test //...

And with CUDA:

bazel test --cuda //...

Status

SYCL

  • 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.

HIP

Working with bazel for both CUDA and CPU.

Thrust

Working with bazel for both CUDA and CPU.