1 parent a70bf1c commit bbb85d8Copy full SHA for bbb85d8
1 file changed
samples/11_semaphores/main.cpp
@@ -76,9 +76,9 @@ int main(int argc, char** argv)
76
77
// device queries:
78
79
- bool has_cl_khr_command_buffer =
+ bool has_cl_khr_semaphore =
80
checkDeviceForExtension(device, CL_KHR_SEMAPHORE_EXTENSION_NAME);
81
- if (has_cl_khr_command_buffer) {
+ if (has_cl_khr_semaphore) {
82
printf("Device supports " CL_KHR_SEMAPHORE_EXTENSION_NAME ".\n");
83
} else {
84
printf("Device does not support " CL_KHR_SEMAPHORE_EXTENSION_NAME ", exiting.\n");
0 commit comments