TOpenCLBase Class

Header: Dew.Math/clMtxVec.h · Cross-compiler
tObjectTOpenCLBase

class TOpenCLBase : public tObject;

Constructors

NameDescription
TOpenCLBase (2)

Destructors

NameDescription
~TOpenCLBase

Properties

NameTypeDescription
CaptionDewStringStores optional label.
CDataintPtrReturns Open CL buffer reference.
CmdQueueTOpenCLCommandQueue*Returns the queue on the Device on which we will run functions using this object.
ComplexboolSet this property to indicate that object data values are to be treated complex.
ComplexValuesDewString
DeviceTOpenCLDevice*Returns the device on which we allocated memory for this object.
FloatPrecisionTclFloatPrecision
LengthintDefines the length in number of elements (single or double precision) of the memory allocated.
RealValuesDewString
SDataintPtrReturns Open CL buffer reference.
Taglong longAllows storing optional information.

Methods

NameDescription
AddRef
CDataIndexReturns the index offest in to the buffer.
CopyFromArray (2)Copies array content.
CopyTo (2)
CopyToArray (4)
DebugUpdate
FinishThe calling thread will block until the command queue using this object has finished.
GetCData
GetCmdQueue
LocateCommandQueue
Release
Reset
SDataIndexReturns the index offest in to the buffer.
Size (3)Sets the calling object to match the size of the Src object.
SizeToArray (9)Sets the size of the array to match the size of the object.
ValidateParams

Fields

NameTypeDescription
BlockIdint
fCacheIndexint
FDataTDenseMtxVec *
FDataOffsetint
fRefCountint
IsUsedbool