You are here: Symbol Reference > clMtxVec Namespace > Classes > TOpenCLKernel Class > public > TOpenCLKernel.LocalMemorySize Property
MtxVec VCL
ContentsIndex
PreviousUpNext
TOpenCLKernel.LocalMemorySize Property

Returns the amount of local memory in bytes being used by a kernel.

Pascal
property LocalMemorySize: integer;

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.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!