mtapi_opencl_c_action_create-snippet.h 160 Bytes
Newer Older
1 2 3 4 5 6
  float node_local = 1.0f;
  action = mtapi_opencl_action_create(
    OPENCL_JOB,
    kernel, "AddVector", 32, 4,
    &node_local, sizeof(float),
    &status);