Files
mql5-skills/skills/mql5/references/docs/34-standardlibrary/1502-standardlibrary-copencl-copenclsetkernelscount.md
T
2026-06-23 21:47:51 +08:00

312 B

SetKernelsCount

Sets the number of kernel objects.

bool  SetKernelsCount(
   const int  total_kernels      // number of kernels
   );

Parameters

total_kernels

[in]  The total number of kernels.

Return Value

In case of successful execution, returns true, otherwise - false.