SetArgumentLocalMemory

在指定索引为OpenCL函数设置本地内存的参数。

bool  SetArgumentLocalMemory(
   const int  kernel_index,          // 内核索引
   const int  arg_index,             // 函数参数索引
   const int  local_memory_size      // 本地内存大小
   );

参数

kernel_index

[in]  内核对象索引。

arg_index

[in]  函数参数索引。

local_memory_size

[in]  本地内存大小。

返回值

如果执行成功,返回true,否则 - false。