Skip to content

garymm/xpu

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published