Files
mql5-skills/skills/mql5/references/docs/29-opencl/1038-opencl-clexecutionstatus.md
T
2026-06-23 21:47:51 +08:00

577 B
Raw Blame History

CLExecutionStatus

Returns the OpenCL program execution status.

int  CLExecutionStatus(
   int   kernel            // handle to a kernel of an OpenCL program
   );

Parameters

kernel

[in]  Handle to a kernel of the OpenCL program.

Return Value

Returns the OpenCL program status. The value can be one of the following:

  • CL_COMPLETE=0 program complete,
  • CL_RUNNING=1 running,
  • CL_SUBMITTED=2 submitted for execution,
  • CL_QUEUED=3 queued,
  • -1 (minus one) error occurred when executing CLExecutionStatus().