pub const cudaErrorDeviceNotLicensed: cudaError = 102;
This indicates that the device doesn’t have a valid Grid License.