Skip to content

Commit dcd3c18

Browse files
committed
Update command buffer equivalent as well.
1 parent daa3ee1 commit dcd3c18

File tree

5 files changed

+0
-8
lines changed

5 files changed

+0
-8
lines changed

include/ur_api.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8387,7 +8387,6 @@ urCommandBufferAppendUSMMemcpyExp(
83878387
/// - ::UR_RESULT_ERROR_INVALID_SIZE
83888388
/// + `patternSize == 0 || size == 0`
83898389
/// + `patternSize > size`
8390-
/// + `(patternSize & (patternSize - 1)) != 0`
83918390
/// + `size % patternSize != 0`
83928391
/// + If `size` is higher than the allocation size of `ptr`
83938392
/// - ::UR_RESULT_ERROR_INVALID_MEM_OBJECT

scripts/core/exp-command-buffer.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,6 @@ returns:
408408
- $X_RESULT_ERROR_INVALID_SIZE:
409409
- "`patternSize == 0 || size == 0`"
410410
- "`patternSize > size`"
411-
- "`(patternSize & (patternSize - 1)) != 0`"
412411
- "`size % patternSize != 0`"
413412
- "If `size` is higher than the allocation size of `ptr`"
414413
- $X_RESULT_ERROR_INVALID_MEM_OBJECT

source/loader/layers/validation/ur_valddi.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8085,10 +8085,6 @@ __urdlllocal ur_result_t UR_APICALL urCommandBufferAppendUSMFillExp(
80858085
return UR_RESULT_ERROR_INVALID_SIZE;
80868086
}
80878087

8088-
if ((patternSize & (patternSize - 1)) != 0) {
8089-
return UR_RESULT_ERROR_INVALID_SIZE;
8090-
}
8091-
80928088
if (size % patternSize != 0) {
80938089
return UR_RESULT_ERROR_INVALID_SIZE;
80948090
}

source/loader/ur_libapi.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7539,7 +7539,6 @@ ur_result_t UR_APICALL urCommandBufferAppendUSMMemcpyExp(
75397539
/// - ::UR_RESULT_ERROR_INVALID_SIZE
75407540
/// + `patternSize == 0 || size == 0`
75417541
/// + `patternSize > size`
7542-
/// + `(patternSize & (patternSize - 1)) != 0`
75437542
/// + `size % patternSize != 0`
75447543
/// + If `size` is higher than the allocation size of `ptr`
75457544
/// - ::UR_RESULT_ERROR_INVALID_MEM_OBJECT

source/ur_api.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6403,7 +6403,6 @@ ur_result_t UR_APICALL urCommandBufferAppendUSMMemcpyExp(
64036403
/// - ::UR_RESULT_ERROR_INVALID_SIZE
64046404
/// + `patternSize == 0 || size == 0`
64056405
/// + `patternSize > size`
6406-
/// + `(patternSize & (patternSize - 1)) != 0`
64076406
/// + `size % patternSize != 0`
64086407
/// + If `size` is higher than the allocation size of `ptr`
64096408
/// - ::UR_RESULT_ERROR_INVALID_MEM_OBJECT

0 commit comments

Comments
 (0)