Library/ManagedCuda/NVRTC/NVRTCNativeMethods.cs
/// <summary>
/// helper function that stringifies the given #nvrtcResult code, e.g., NVRTC_SUCCESS to
/// "NVRTC_SUCCESS". For unrecognized enumeration values, it returns "NVRTC_ERROR unknown"
/// </summary>
/// <param name="result">CUDA Runtime Compiler API result code.</param>
/// <returns>Message string for the given nvrtcResult code.</returns>
helper function that stringifies the given #nvrtcResult code, e.g., NVRTC_SUCCESS to
"NVRTC_SUCCESS". For unrecognized enumeration values, it returns "NVRTC_ERROR unknown"
helper function that stringifies the given #nvrtcResult code e . g . NVRTC_SUCCESS to " NVRTC_SUCCESS " . For unrecognized enumeration values it returns " NVRTC_ERROR unknown "
public static string nvrtcGetErrorString(nvrtcResult result)
		{
			IntPtr ptr = nvrtcGetErrorStringInternal(result);
			return Marshal.PtrToStringAnsi(ptr);
		}
public static string nvrtcGetErrorString ( nvrtcResult result ) { IntPtr ptr = nvrtcGetErrorStringInternal ( result ) ; return Marshal . PtrToStringAnsi ( ptr ) ; }
helper function that stringifies the given #nvrtcResult code, e.g., NVRTC_SUCCESS to
"NVRTC_SUCCESS".
helper function that stringifies the given #nvrtcResult code e . g . NVRTC_SUCCESS to " NVRTC_SUCCESS " .
Message string for the given nvrtcResult code.
Message string for the given nvrtcResult code .
result
nvrtcResult
CUDA Runtime Compiler API result code.
CUDA Runtime Compiler API result code .