pub const cudaErrorProfilerDisabled: cudaError = 5;
This indicates profiler is not initialized for this run. This can happen when the application is running with external profiling tools like visual profiler.