SoCudaLoadBinaryModule Method |
This function loads a cubin file and register it in the list of modules.
Namespace: OIV.Inventor.CudaAssembly: OIV.Inventor.Cuda (in OIV.Inventor.Cuda.dll) Version: 9.9.36.0 (9.9.36.0)
Syntaxpublic static SoCudaSoCudaErrors LoadBinaryModule(
string filename,
string moduleName
)
Public Shared Function LoadBinaryModule (
filename As String,
moduleName As String
) As SoCudaSoCudaErrors
public:
static SoCudaSoCudaErrors LoadBinaryModule(
String^ filename,
String^ moduleName
)
static member LoadBinaryModule :
filename : string *
moduleName : string -> SoCudaSoCudaErrors
Parameters
- filename
- Type: SystemString
The cubin filename.
- moduleName
- Type: SystemString
The name of the module linked to the file.
Return Value
Type:
SoCudaSoCudaErrorsAn error code is returned on error, 0 means no error.
Remarks
See Also