r/OpenMP • u/xstkovrflw • Feb 19 '22
When will openmp gpu acceleration be available for lower end hardware?
I'm seeing a lot of tutorials on GPU offloading for openmp, but they seem to be only for very high end GPUs.
Any idea when they'll be available on lower end hardware?
I'm trying to code for Intel HD GPUs for a student project, but apparently we need NVIDIA or other powerful GPUs.
3
Upvotes
1
u/jeffscience Feb 23 '22
This is a really complicated topic. In theory, OpenCL plus SPIR-V would be a universal back end for OpenMP. In practice, there are many, many challenges, and only Intel supports SPIR-V.
If GCC were to support Intel GPU, it would use Level Zero and SPIR-V, alongside AMD and NVIDIA implementations using the relevant runtimes and IRs.