C# Class GoodAI.Modules.Matrix.MyMatrixOps

Strategy DesignPatern: This is the abstract class that defines what will happen, then specific instance (that depends on the execuion=operation type (CPU/GPU/cublas..)) will execute the queried operation
ファイルを表示 Open project: GoodAI/BrainSimulator Class Usage Examples

Protected Properties

Property Type Description
callee MyWorkingNode

Public Methods

Method Description
AvailableOperations ( ) : MatOperation
Run ( MatOperation operation, MyMemoryBlock A ) : void
Run ( MatOperation operation, MyMemoryBlock A, MyMemoryBlock Result ) : void
Run ( MatOperation operation, MyMemoryBlock A, MyMemoryBlock B, MyMemoryBlock Result ) : void
Run ( MatOperation operation, MyMemoryBlock A, MyMemoryBlock Result, int AcolumnHint ) : void
Run ( MatOperation operation, MyMemoryBlock A, float value, MyMemoryBlock Result ) : void
RunReturn ( MatOperation operation, MyMemoryBlock A, MyMemoryBlock Result ) : float
RunReturn ( MatOperation operation, MyMemoryBlock A, MyMemoryBlock B, MyMemoryBlock Result ) : float
SetupResultSize ( MatOperation operation, MyMemoryBlock A, MyMemoryBlock B, MyMemoryBlock Result ) : MyMemoryBlock
Validate ( MatOperation operation, MyMemoryBlock A, MyMemoryBlock B, MyMemoryBlock Result ) : bool

Method Details

AvailableOperations() public static method

public static AvailableOperations ( ) : MatOperation
return MatOperation

Run() public abstract method

public abstract Run ( MatOperation operation, MyMemoryBlock A ) : void
operation MatOperation
A MyMemoryBlock
return void

Run() public abstract method

public abstract Run ( MatOperation operation, MyMemoryBlock A, MyMemoryBlock Result ) : void
operation MatOperation
A MyMemoryBlock
Result MyMemoryBlock
return void

Run() public abstract method

public abstract Run ( MatOperation operation, MyMemoryBlock A, MyMemoryBlock B, MyMemoryBlock Result ) : void
operation MatOperation
A MyMemoryBlock
B MyMemoryBlock
Result MyMemoryBlock
return void

Run() public abstract method

public abstract Run ( MatOperation operation, MyMemoryBlock A, MyMemoryBlock Result, int AcolumnHint ) : void
operation MatOperation
A MyMemoryBlock
Result MyMemoryBlock
AcolumnHint int
return void

Run() public abstract method

public abstract Run ( MatOperation operation, MyMemoryBlock A, float value, MyMemoryBlock Result ) : void
operation MatOperation
A MyMemoryBlock
value float
Result MyMemoryBlock
return void

RunReturn() public method

public RunReturn ( MatOperation operation, MyMemoryBlock A, MyMemoryBlock Result ) : float
operation MatOperation
A MyMemoryBlock
Result MyMemoryBlock
return float

RunReturn() public method

public RunReturn ( MatOperation operation, MyMemoryBlock A, MyMemoryBlock B, MyMemoryBlock Result ) : float
operation MatOperation
A MyMemoryBlock
B MyMemoryBlock
Result MyMemoryBlock
return float

SetupResultSize() public static method

public static SetupResultSize ( MatOperation operation, MyMemoryBlock A, MyMemoryBlock B, MyMemoryBlock Result ) : MyMemoryBlock
operation MatOperation
A MyMemoryBlock
B MyMemoryBlock
Result MyMemoryBlock
return MyMemoryBlock

Validate() public static method

public static Validate ( MatOperation operation, MyMemoryBlock A, MyMemoryBlock B, MyMemoryBlock Result ) : bool
operation MatOperation
A MyMemoryBlock
B MyMemoryBlock
Result MyMemoryBlock
return bool

Property Details

callee protected_oe property

protected MyWorkingNode callee
return MyWorkingNode