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
Hello! I was wondering about the implementation detail behind Device::cuda_if_available. It seems like, since this is a runtime query for a device, then I had expected it to return the CPU if there is CUDA device at the ordinal index. I'd love to know more about the purpose of this function and where it's used (as well as a potential metal_if_available or host-agnostic device targeting).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello! I was wondering about the implementation detail behind Device::cuda_if_available. It seems like, since this is a runtime query for a device, then I had expected it to return the CPU if there is CUDA device at the ordinal index. I'd love to know more about the purpose of this function and where it's used (as well as a potential metal_if_available or host-agnostic device targeting).
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions