Our great sponsors
-
chipStar
chipStar is a tool for compiling and running HIP/CUDA on SPIR-V via OpenCL or Level Zero APIs.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
FluidX3D
The fastest and most memory efficient lattice Boltzmann CFD software, running on all GPUs via OpenCL.
-
OpenCL-Wrapper
OpenCL is the most powerful programming language ever created. Yet the OpenCL C++ bindings are cumbersome and the code overhead prevents many people from getting started. I created this lightweight OpenCL-Wrapper to greatly simplify OpenCL software development with C++ while keeping functionality and performance.
https://github.com/bashbaug/SimpleOpenCLSamples/tree/main/samples/usm - some USM samples, including several linked list samples.
Regarding the second item (CUDA to OpenCL), have a look at hipstar: https://github.com/CHIP-SPV/hipstar
For years now I'm trying to raise awareness to this, and it's starting to bear fruits. My FluidX3D software, entirely written in OpenCL, is the most popular CFD software in GitHub now. People realize that it's damn fast, cannot possibly be any faster (roofline model), and is compatible across all hardware, low-end toaster to datacenter beast, from any vendor. No porting required. The hardware vendors realize this too, and
I've also open-sourced an OpenCL-Wrapper to eliminate all of the boilerplate code that otherwise comes with the OpenCL C++ bindings and lower the entry barrier. Especially for larger projects, the biolerplate code becomes really offputting, and I solved it entirely.
Related posts
- ChipStar: Run CUDA/Hip on SPIR-V via OpenCL/Level Zero
- Offloading standard C++ PSTL to Intel, NVIDIA and AMD GPUs with AdaptiveCpp
- AMD's HIPRT Working Its Way To Blender With ~25% Faster Rendering
- hipSYCL can now generate a binary that runs on any Intel/NVIDIA/AMD GPU - in a single compiler pass. It is now the first single-pass SYCL compiler, and the first with unified code representation across backends.
- Bringing Nvidia® and AMD support to oneAPI