File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10351,7 +10351,7 @@ CL_API_ENTRY cl_command_buffer_khr CL_API_CALL clCreateCommandBufferKHR(
1035110351
1035210352 if ( pIntercept )
1035310353 {
10354- cl_command_queue queue = num_queues ? queues[0 ] : NULL ;
10354+ cl_command_queue queue = num_queues && queues ? queues[0 ] : NULL ;
1035510355 const auto & dispatchX = pIntercept->dispatchX (queue);
1035610356 if ( dispatchX.clCreateCommandBufferKHR )
1035710357 {
@@ -11263,7 +11263,7 @@ CL_API_ENTRY cl_command_buffer_khr CL_API_CALL clRemapCommandBufferKHR(
1126311263
1126411264 if ( pIntercept )
1126511265 {
11266- cl_command_queue queue = num_queues ? queues[0 ] : NULL ;
11266+ cl_command_queue queue = num_queues && queues ? queues[0 ] : NULL ;
1126711267 const auto & dispatchX = pIntercept->dispatchX (queue);
1126811268 if ( dispatchX.clRemapCommandBufferKHR )
1126911269 {
You can’t perform that action at this time.
0 commit comments