pub const cudaErrorInvalidValue: cudaError = 1;
This indicates that one or more of the parameters passed to the API call is not within an acceptable range of values.