Do you have another open, cross-platform, widely compatible GPU programming framework to recommend?
Do you have another open, cross-platform, widely compatible GPU programming framework to recommend?
The alternatives recommended here aren't even serious IMHO. I'd rather switch to CUDA and wait till Intel/AMD sort out a REAL compatibility layer than deal with those.
Unless I'm mistaken, HIP still requires a separate compile for either platform and what runtime do they expect end users to have exactly?! At least CUDA and OpenCL are integrated in the vendor drivers.
Vulkan compute with SPIR-V seems to be the only real solution, but even that is still very early. Sill waiting for proper OpenCL 2.0 support in NVIDIA drivers :P
(The models can be executed on low-powered, commodity CPUs. No need for any GPU there.)
That's totally an option for our product, great idea! Why did I never think of this!
No seriously we are shipping, using OpenCL and it gives about a 20 times performance advantage for most users regardless if they have AMD or NVIDIA hardware. If something that's actually better than OpenCL comes along (or if AMD RTG goes out of business) I'll switch to it no heart broken.
But that hasn't happened yet.
On iOS it is kind of deprecated and the way forward is Metal Compute.
On Android it never happened, Google created their own Renderscript dialect instead.