AdaptiveCpp Portable CUDA: A SYCL-Compatible CUDA Compiler for CPUs and GPUs...
summary
A single-pass SYCL‑compatible CUDA compiler and runtime called AdaptiveCpp Portable CUDA or PCuda compiles CUDA and HIP to CPUs, Nvidia, AMD, Intel and Apple GPUs by JITting LLVM IR to PTX, AMDGCN, SPIR‑V or MSL and lets CUDA and SYCL coexist in one binary. Benchmarks show SYCL and CUDA compiled with the same compiler match within about 5% across devices, AdaptiveCpp is ~16–20% faster than NVCC on NVIDIA and delivers 4–36% geometric mean speedups overall. Compile time shows SYCL builds are ~10× slower than CUDA with the same compiler and SYCL submission overheads hit ~44% of NVCC baseline unless coarse‑grained event optimizations are used. Limitations include preprocessing for triple‑chevrons and nonportable inline PTX.
AI-written summary · about
chapters (19)
- 0:00Motivation for AdaptiveCpp
- 1:25Introducing AdaptiveCpp Portable CUDA
- 3:33AdaptiveCpp SYCL compiler background
- 6:25How Portable CUDA works
- 8:10Kernel launch mechanisms
- 10:18Local memory handling
- 11:40Interoperability with SYCL
- 13:03Limitations and constraints
- 14:26Performance benchmarks overview
- 15:06CPU performance results
- 16:20NVIDIA GPU performance
- 17:11Intel GPU performance
- 17:53AMD GPU performance
- 18:35Performance summary
- 19:17Compile time analysis
- 21:44Submission overhead comparison
- 23:09Key contributions
- 24:14Conclusion and availability
- 24:36Q&A session
