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

Returns the work-group size specified in the source code.

Pascal
function GetCompileWorkGroupSize(i: integer): integer;

In the source code we can specify the recommended work group size with the __attribute__((reqd_work_group_size(X, Y, Z))) qualifier.

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