Skip to content

Commit bbb85d8

Browse files
committed
rename variable typo
1 parent a70bf1c commit bbb85d8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

samples/11_semaphores/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ int main(int argc, char** argv)
7676

7777
// device queries:
7878

79-
bool has_cl_khr_command_buffer =
79+
bool has_cl_khr_semaphore =
8080
checkDeviceForExtension(device, CL_KHR_SEMAPHORE_EXTENSION_NAME);
81-
if (has_cl_khr_command_buffer) {
81+
if (has_cl_khr_semaphore) {
8282
printf("Device supports " CL_KHR_SEMAPHORE_EXTENSION_NAME ".\n");
8383
} else {
8484
printf("Device does not support " CL_KHR_SEMAPHORE_EXTENSION_NAME ", exiting.\n");

0 commit comments

Comments
 (0)