cl_khr_kernel_clock: fix builtin function names (#1968)
Some checks failed
Presubmit / Build ubuntu-22.04 gl (push) Failing after 2s
Presubmit / Build ubuntu-22.04 aarch64 debug (push) Failing after 1s
Presubmit / Build ubuntu-22.04 arm (push) Failing after 1s
Presubmit / Check code format (push) Failing after 5m1s
Presubmit / Build macos-latest (push) Has been cancelled
Presubmit / Build windows-latest (push) Has been cancelled
Some checks failed
Presubmit / Build ubuntu-22.04 gl (push) Failing after 2s
Presubmit / Build ubuntu-22.04 aarch64 debug (push) Failing after 1s
Presubmit / Build ubuntu-22.04 arm (push) Failing after 1s
Presubmit / Check code format (push) Failing after 5m1s
Presubmit / Build macos-latest (push) Has been cancelled
Presubmit / Build windows-latest (push) Has been cancelled
According to the [specification](https://registry.khronos.org/OpenCL/specs/3.0-unified/html/OpenCL_C.html#kernel-clock-functions), the work_group and sub_group variants have an `_` in them. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
This commit is contained in:
parent
1d3ad8d791
commit
75be6a3125
1 changed files with 4 additions and 4 deletions
|
|
@ -96,13 +96,13 @@ public:
|
|||
break;
|
||||
}
|
||||
case CL_DEVICE_KERNEL_CLOCK_SCOPE_WORK_GROUP_KHR: {
|
||||
sprintf(kernel_src, kernel_sources[i], "workgroup",
|
||||
"workgroup");
|
||||
sprintf(kernel_src, kernel_sources[i], "work_group",
|
||||
"work_group");
|
||||
break;
|
||||
}
|
||||
case CL_DEVICE_KERNEL_CLOCK_SCOPE_SUB_GROUP_KHR: {
|
||||
sprintf(kernel_src, kernel_sources[i], "subgroup",
|
||||
"subgroup");
|
||||
sprintf(kernel_src, kernel_sources[i], "sub_group",
|
||||
"sub_group");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue