2 ms·
both OneAPI and ROCm are, or should, or could provide higher level APIs to isolate you from OpenCL's C APIs, or just leverage SPIR-V. Other than CUDA, I failed
by synergy20 3y ago
both OneAPI and ROCm are, or should, or could provide higher level APIs to isolate you from OpenCL's C APIs, or just leverage SPIR-V. Other than CUDA, I failed to see any other open alternatives to get heterogeneous computing working yet, OpenCL is the only one on the table as far as I can tell for now. Yes there are Vulkan compute shader etc but they're still pretty far behind, and they could be made OpenCL compatible too.
While CUDA is great, OpenCL can be made by OneAPI and ROCm more open source friendly, I hope.
- pjmlp 3y agoC APIs are one half of the coin, the other being what is actually running on the GPU. OneAPI is focused on C++, and it remains to be seen if Data Parallel C++ isn't also Intel's CUDA, even if based on SYCL. SPIR so far has hardly got any adoption to the level of PTX, regarding polyglot compute.