pub const cudaErrorInvalidSurface: cudaError = 37;
This indicates that the surface passed to the API call is not a valid surface.