Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
util/all_gpus.cpp: throw custom exception instead of SEGV in select_g…
…pu(). Application is expected to check for GPU availability prior to making any calls, including the one in quesiton. In other word it shouldn't get here, but if it did, make the failure more informative.
- Loading branch information