chipStar: OpenCL as a Portability Layer for CUDA/HIP Applications
summary
ChipStar compiles HIP/CUDA to SPIR‑V then hands it to an OpenCL runtime for JIT execution, using LLVM passes to bridge CUDA/HIP semantics and a device library plus MKL shims for missing math routines. It supports about 70% of the HIP API, targets Intel, AMD, NVIDIA, RISC‑V, Apple M and runs via OpenCL runtimes (Intel compute runtime, RustiCL, CLVK, POCL). Porting required small code or build tweaks for OpenMM and libSeed, performance is generally within ~1–1.25× native but some codes (e.g. LAMMPS) run ~4× slower.
AI-written summary · about
chapters (10)
- 0:00Introduction and background
- 3:49Why not rewrite CUDA
- 7:23SPIR-V and OpenCL layers
- 11:18Memory allocations and device library
- 16:17Library support and BLAS
- 20:20API coverage and limitations
- 22:51Hardware support overview
- 26:49Performance and benchmarks
- 30:20Application enablement examples
- 39:36Q&A session
