pub const CUDA_ERROR_STUB_LIBRARY: cudaError_enum = 34;Expand description
This indicates that the CUDA driver that the application has loaded is a stub library. Applications that run with the stub rather than a real driver loaded will result in CUDA API returning this error.