Skip to content

Commit 83d936b

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/adapters/opencl/command_buffer.cpp

Lines changed: 1 addition & 1 deletion
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)