Overload List
| # | Signature | Description |
|---|---|---|
| 1 | void SetArgLocalMem(Int32 argIndex, TOpenCLCommandQueue CmdQueue) | Sets the Kernel (Open CL function) parameter at argIndex to local memory size associated with the queue. |
| 2 | void SetArgLocalMem(Int32 argIndex, TOpenCLCommandQueue CmdQueue, Int32 SamplesLength, Int32 aElemSize) | Sets the Kernel (Open CL function) parameter at argIndex to local memory size associated with the queue. |
Overload 1: void SetArgLocalMem(Int32 argIndex, TOpenCLCommandQueue CmdQueue)
Sets the Kernel (Open CL function) parameter at argIndex to local memory size associated with the queue.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | argIndex | Int32 | |
| 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: void SetArgLocalMem(Int32 argIndex, TOpenCLCommandQueue CmdQueue, Int32 SamplesLength, Int32 aElemSize)
Sets the Kernel (Open CL function) parameter at argIndex to local memory size associated with the queue.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | argIndex | Int32 | |
| 2 | CmdQueue | TOpenCLCommandQueue | |
| 3 | SamplesLength | Int32 | |
| 4 | aElemSize | Int32 |
Result: stored in self (calling object)
The memory size assigned is equal to SamplesLength*ElemSize.