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

26 lines
469 B
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# KernelCreate
Creates an entry point into the OpenCL program at the specified index.
```
bool  KernelCreate(
   const int     kernel_index,     // index of the kernel
   const string  kernel_name       // name of the kernel
   );
```
Parameters
kernel_index
[in]  Index of the kernel object.
kernel_name
[in]  Name of the kernel object.
Return Value
In case of successful execution, returns true, otherwise - false.