Search code examples
openclnvidiagpgpuspir-v

What is the status of NVIDIA SPIR support as of mid-2018?


This question:

Does NVidia support OpenCL SPIR?

was asked 5 years ago. Since then, NVIDIA support for Khronos OpenCL has improved over this period, and it has also adopted Khronos Vulkan (of which I know little), I was wondering whether things had changed w.r.t. SPIR (the Khronos standards equivalent of PTX, if you will) as well.


Solution

  • No change. NVIDIA does not support the cl_khr_spir extension ("SPIR 1.2") in their otherwise nice OpenCL 1.2 drivers (and SPIR-V is a 2.x thing, so also not supported).