property LocalMemorySize: Integer;
Returns the amount of local memory in bytes being used by a kernel.
Returns: Int32
Remarks:
This includes local memory that may be needed by an implementation to execute the kernel, variables declared inside the kernel with the __local address qualifier and local memory to be allocated for arguments to the kernel declared as pointers with the __local address qualifier and whose size is specified with clSetKernelArg.