Skip to content

Commit ead3d07

Browse files
EwanCBensuo
andauthored
Update source/adapters/opencl/command_buffer.cpp
Co-authored-by: Ben Tracy <[email protected]>
1 parent b341dd0 commit ead3d07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/adapters/opencl/command_buffer.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ ur_result_t validateCommandDesc(
548548
return UR_RESULT_ERROR_UNSUPPORTED_FEATURE;
549549
}
550550

551-
// Error if work-dim has change but a new global size/offset hasn't been set
551+
// Error if work-dim has changed but a new global size/offset hasn't been set
552552
if (UpdateDesc->newWorkDim != Command->WorkDim &&
553553
(!UpdateDesc->pNewGlobalWorkOffset || !UpdateDesc->pNewGlobalWorkSize)) {
554554
return UR_RESULT_ERROR_INVALID_OPERATION;

0 commit comments

Comments
 (0)