TOpenCLValue.Size Method

Overload List

#SignatureDescription
1void Size(TOpenCLBase Src)Sizes the value to hold one element of the precision and complexity of Src.
2void Size(Int32 ALength, TclFloatPrecision aPrecision, Boolean AComplex)Sizes the value. A value holds one element: aLength is 1, or 0 to release it.
3TOpenCLBase Size(TOpenCLBase Src, Boolean AComplex)Sets the calling object to match the size of the Src object, and changes Complex to aComplex if needed.

Overload 1: void Size(TOpenCLBase Src)

Sizes the value to hold one element of the precision and complexity of Src.

#NameTypeDescription
1SrcTOpenCLBase

Result: stored in self (calling object)

Overload 2: void Size(Int32 ALength, TclFloatPrecision aPrecision, Boolean AComplex)

Sizes the value. A value holds one element: aLength is 1, or 0 to release it.

#NameTypeDescription
1ALengthInt32
2aPrecisionTclFloatPrecision
3AComplexBoolean

Result: stored in self (calling object)

Overload 3: TOpenCLBase Size(TOpenCLBase Src, Boolean AComplex)

Sets the calling object to match the size of the Src object, and changes Complex to aComplex if needed.

#NameTypeDescription
1SrcTOpenCLBase
2AComplexBoolean

Returns: TOpenCLBase