C# Class ManagedCuda.NVRTC.CudaRuntimeCompiler

Cuda runtime compiler
Inheritance: IDisposable
显示文件 Open project: kunzmi/managedCuda Class Usage Examples

Public Methods

Method Description
AddNameExpression ( string nameExpression ) : void
Compile ( string options ) : void
CudaRuntimeCompiler ( string src, string name ) : System

Creates a runtime compiler instance.

CudaRuntimeCompiler ( string src, string name, string headers, string includeNames ) : System

Creates a runtime compiler instance.

Dispose ( ) : void

Dispose

GetLog ( ) : byte[]
GetLogAsString ( ) : string
GetLoweredName ( string nameExpression ) : string
GetPTX ( ) : byte[]
GetPTXAsString ( ) : string
GetVersion ( ) : System.Version

Protected Methods

Method Description
Dispose ( bool fDisposing ) : void

For IDisposable

Method Details

AddNameExpression() public method

public AddNameExpression ( string nameExpression ) : void
nameExpression string
return void

Compile() public method

public Compile ( string options ) : void
options string
return void

CudaRuntimeCompiler() public method

Creates a runtime compiler instance.
public CudaRuntimeCompiler ( string src, string name ) : System
src string CUDA program source.
name string CUDA program name. /// name can be NULL; "default_program" is used when name is NULL.
return System

CudaRuntimeCompiler() public method

Creates a runtime compiler instance.
public CudaRuntimeCompiler ( string src, string name, string headers, string includeNames ) : System
src string CUDA program source.
name string CUDA program name. /// name can be NULL; "default_program" is used when name is NULL.
headers string Name of each header by which they can be included in the CUDA program source.
includeNames string Sources of the headers.
return System

Dispose() public method

Dispose
public Dispose ( ) : void
return void

Dispose() protected method

For IDisposable
protected Dispose ( bool fDisposing ) : void
fDisposing bool
return void

GetLog() public method

public GetLog ( ) : byte[]
return byte[]

GetLogAsString() public method

public GetLogAsString ( ) : string
return string

GetLoweredName() public method

public GetLoweredName ( string nameExpression ) : string
nameExpression string
return string

GetPTX() public method

public GetPTX ( ) : byte[]
return byte[]

GetPTXAsString() public method

public GetPTXAsString ( ) : string
return string

GetVersion() public static method

public static GetVersion ( ) : System.Version
return System.Version