cuda-api-wrappers icon indicating copy to clipboard operation
cuda-api-wrappers copied to clipboard

scoped_existence_ensurer_t fails if the driver has not been initialized

Open eyalroz opened this issue 2 years ago • 0 comments

Currently, scoped_existence_ensurer_t uses context::current::detail_::get_handle(), which assumes the driver has been initialized. To drop this assumption, we need to check the return status of the CUDA driver API call.

eyalroz avatar Aug 23 '22 16:08 eyalroz