@@ -5197,6 +5197,11 @@ ur_result_t UR_APICALL urEnqueueMemBufferCopyRect(
51975197// / + If event objects in phEventWaitList are not valid events.
51985198// / - ::UR_RESULT_ERROR_INVALID_MEM_OBJECT
51995199// / - ::UR_RESULT_ERROR_INVALID_SIZE
5200+ // / + `patternSize == 0 || size == 0`
5201+ // / + `patternSize > size`
5202+ // / + `(patternSize & (patternSize - 1)) != 0`
5203+ // / + `size % patternSize != 0`
5204+ // / + `offset % patternSize != 0`
52005205// / + If `offset + size` results in an out-of-bounds access.
52015206// / - ::UR_RESULT_ERROR_OUT_OF_HOST_MEMORY
52025207// / - ::UR_RESULT_ERROR_OUT_OF_RESOURCES
@@ -5259,6 +5264,8 @@ ur_result_t UR_APICALL urEnqueueMemBufferFill(
52595264// / + `phEventWaitList != NULL && numEventsInWaitList == 0`
52605265// / + If event objects in phEventWaitList are not valid events.
52615266// / - ::UR_RESULT_ERROR_INVALID_MEM_OBJECT
5267+ // / - ::UR_RESULT_ERROR_INVALID_SIZE
5268+ // / + `region.width == 0 || region.height == 0 || region.depth == 0`
52625269// / - ::UR_RESULT_ERROR_OUT_OF_HOST_MEMORY
52635270// / - ::UR_RESULT_ERROR_OUT_OF_RESOURCES
52645271ur_result_t UR_APICALL urEnqueueMemImageRead (
@@ -5324,6 +5331,8 @@ ur_result_t UR_APICALL urEnqueueMemImageRead(
53245331// / + `phEventWaitList != NULL && numEventsInWaitList == 0`
53255332// / + If event objects in phEventWaitList are not valid events.
53265333// / - ::UR_RESULT_ERROR_INVALID_MEM_OBJECT
5334+ // / - ::UR_RESULT_ERROR_INVALID_SIZE
5335+ // / + `region.width == 0 || region.height == 0 || region.depth == 0`
53275336// / - ::UR_RESULT_ERROR_OUT_OF_HOST_MEMORY
53285337// / - ::UR_RESULT_ERROR_OUT_OF_RESOURCES
53295338ur_result_t UR_APICALL urEnqueueMemImageWrite (
@@ -5385,6 +5394,8 @@ ur_result_t UR_APICALL urEnqueueMemImageWrite(
53855394// / + `phEventWaitList != NULL && numEventsInWaitList == 0`
53865395// / + If event objects in phEventWaitList are not valid events.
53875396// / - ::UR_RESULT_ERROR_INVALID_MEM_OBJECT
5397+ // / - ::UR_RESULT_ERROR_INVALID_SIZE
5398+ // / + `region.width == 0 || region.height == 0 || region.depth == 0`
53885399// / - ::UR_RESULT_ERROR_OUT_OF_HOST_MEMORY
53895400// / - ::UR_RESULT_ERROR_OUT_OF_RESOURCES
53905401ur_result_t UR_APICALL urEnqueueMemImageCopy (
0 commit comments