Overload List
| # | Signature | Description |
|---|---|---|
| 1 | procedure SetArgLocalMem(argIndex: Integer; const CmdQueue: TOpenCLCommandQueue); | Sets the Kernel (Open CL function) parameter at argIndex to local memory size associated with the queue. |
| 2 | procedure SetArgLocalMem(argIndex: Integer; const CmdQueue: TOpenCLCommandQueue; SamplesLength: Integer; aElemSize: Integer); | Sets the Kernel (Open CL function) parameter at argIndex to local memory size associated with the queue. |
Overload 1: procedure SetArgLocalMem(argIndex: Integer; const CmdQueue: TOpenCLCommandQueue);
Sets the Kernel (Open CL function) parameter at argIndex to local memory size associated with the queue.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | argIndex | Integer | |
| 2 | CmdQueue | TOpenCLCommandQueue |
Result: stored in self (calling object)
The amount of local memory associated with the queue is specified by the TOpenCLcommandQueue property. The total amount of local memory allocated across all queues running on the same device may not exceed total available local memory as reported by TOpenCLDevice.LocalMemSize. The guaranteed minimum available memory for LocalMemSize is 32kBytes. The reported memory is in Bytes. The amount of local memory associated with the queue also may not be less than the minimum required by the kernel (if specified).
Overload 2: procedure SetArgLocalMem(argIndex: Integer; const CmdQueue: TOpenCLCommandQueue; SamplesLength: Integer; aElemSize: Integer);
Sets the Kernel (Open CL function) parameter at argIndex to local memory size associated with the queue.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | argIndex | Integer | |
| 2 | CmdQueue | TOpenCLCommandQueue | |
| 3 | SamplesLength | Integer | |
| 4 | aElemSize | Integer |
Result: stored in self (calling object)
The memory size assigned is equal to SamplesLength*ElemSize.