You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to build a standalone module that can run on any supported GPU.
How do I detect what packages need to be loaded so that I can have a pattern like
ifisCUDAsupported()
using CUDA
backend =CUDABackend()
elseifisMetalsupported()
using Metal
backend =MetalBackend()
elseif etc
else@warn"No supported accelerator detected. GPU kernels will be executed on the CPU!"
backend =CPU()
end
The text was updated successfully, but these errors were encountered:
I want to build a standalone module that can run on any supported GPU.
How do I detect what packages need to be loaded so that I can have a pattern like
The text was updated successfully, but these errors were encountered: