C# Class ManagedCuda.NVRTC.NVRTCNativeMethods

Show file Open project: kunzmi/managedCuda Class Usage Examples

Public Methods

Method Description
nvrtcGetErrorString ( nvrtcResult result ) : string

helper function that stringifies the given #nvrtcResult code, e.g., NVRTC_SUCCESS to "NVRTC_SUCCESS". For unrecognized enumeration values, it returns "NVRTC_ERROR unknown"

Private Methods

Method Description
nvrtcAddNameExpression ( nvrtcProgram prog, [ name_expression ) : nvrtcResult
nvrtcCompileProgram ( nvrtcProgram prog, int numOptions, IntPtr options ) : nvrtcResult
nvrtcCreateProgram ( nvrtcProgram &prog, [ src, [ name, int numHeaders, IntPtr headers, IntPtr includeNames ) : nvrtcResult
nvrtcDestroyProgram ( nvrtcProgram &prog ) : nvrtcResult
nvrtcGetErrorStringInternal ( nvrtcResult result ) : IntPtr
nvrtcGetLoweredName ( nvrtcProgram prog, [ name_expression, IntPtr &lowered_name ) : nvrtcResult
nvrtcGetPTX ( nvrtcProgram prog, byte ptx ) : nvrtcResult
nvrtcGetPTXSize ( nvrtcProgram prog, ManagedCuda.BasicTypes.SizeT &ptxSizeRet ) : nvrtcResult
nvrtcGetProgramLog ( nvrtcProgram prog, byte log ) : nvrtcResult
nvrtcGetProgramLogSize ( nvrtcProgram prog, ManagedCuda.BasicTypes.SizeT &logSizeRet ) : nvrtcResult
nvrtcVersion ( int &major, int &minor ) : nvrtcResult

Method Details

nvrtcGetErrorString() public static method

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 nvrtcGetErrorString ( nvrtcResult result ) : string
result nvrtcResult CUDA Runtime Compiler API result code.
return string