MyCaffe  1.12.2.41
Deep learning software for Windows C# programmers.
MyCaffe.common.IXMyCaffeExtension< T > Interface Template Reference

The IXMyCaffeExtension interface allows for easy extension management of the low-level software that interacts directly with CUDA. More...

Inheritance diagram for MyCaffe.common.IXMyCaffeExtension< T >:
MyCaffe.MyCaffeControl< T >

Public Member Functions

long CreateExtension (string strExtensionDLLPath)
 Create and load a new extension DLL. More...
 
void FreeExtension (long hExtension)
 Free an existing extension and unload it. More...
 
T[] RunExtension (long hExtension, long lfnIdx, T[] rgParam)
 Run a function on an existing extension. More...
 
double[] RunExtensionD (long hExtension, long lfnIdx, double[] rgParam)
 Run a function on an existing extension using the double base type. More...
 
float[] RunExtensionF (long hExtension, long lfnIdx, float[] rgParam)
 Run a function on an existing extension using the float base type. More...
 

Detailed Description

The IXMyCaffeExtension interface allows for easy extension management of the low-level software that interacts directly with CUDA.

Template Parameters
TSpecifies the base type of float or double.

Definition at line 613 of file Interfaces.cs.

Member Function Documentation

◆ CreateExtension()

long MyCaffe.common.IXMyCaffeExtension< T >.CreateExtension ( string  strExtensionDLLPath)

Create and load a new extension DLL.

Parameters
strExtensionDLLPathSpecifies the path to the extension DLL.
Returns
The handle to the extension is returned.

Implemented in MyCaffe.MyCaffeControl< T >.

◆ FreeExtension()

void MyCaffe.common.IXMyCaffeExtension< T >.FreeExtension ( long  hExtension)

Free an existing extension and unload it.

Parameters
hExtensionSpecifies the handle to the extension to free.

Implemented in MyCaffe.MyCaffeControl< T >.

◆ RunExtension()

T[] MyCaffe.common.IXMyCaffeExtension< T >.RunExtension ( long  hExtension,
long  lfnIdx,
T[]  rgParam 
)

Run a function on an existing extension.

Parameters
hExtensionSpecifies the extension.
lfnIdxSpecifies the function to run on the extension.
rgParamSpecifies the parameters.
Returns
The return values of the function are returned.

Implemented in MyCaffe.MyCaffeControl< T >.

◆ RunExtensionD()

double[] MyCaffe.common.IXMyCaffeExtension< T >.RunExtensionD ( long  hExtension,
long  lfnIdx,
double[]  rgParam 
)

Run a function on an existing extension using the double base type.

Parameters
hExtensionSpecifies the extension.
lfnIdxSpecifies the function to run on the extension.
rgParamSpecifies the parameters.
Returns
The return values of the function are returned.

Implemented in MyCaffe.MyCaffeControl< T >.

◆ RunExtensionF()

float[] MyCaffe.common.IXMyCaffeExtension< T >.RunExtensionF ( long  hExtension,
long  lfnIdx,
float[]  rgParam 
)

Run a function on an existing extension using the float base type.

Parameters
hExtensionSpecifies the extension.
lfnIdxSpecifies the function to run on the extension.
rgParamSpecifies the parameters.
Returns
The return values of the function are returned.

Implemented in MyCaffe.MyCaffeControl< T >.


The documentation for this interface was generated from the following file: