File tree Expand file tree Collapse file tree 5 files changed +0
-8
lines changed Expand file tree Collapse file tree 5 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -8387,7 +8387,6 @@ urCommandBufferAppendUSMMemcpyExp(
8387
8387
/// - ::UR_RESULT_ERROR_INVALID_SIZE
8388
8388
/// + `patternSize == 0 || size == 0`
8389
8389
/// + `patternSize > size`
8390
- /// + `(patternSize & (patternSize - 1)) != 0`
8391
8390
/// + `size % patternSize != 0`
8392
8391
/// + If `size` is higher than the allocation size of `ptr`
8393
8392
/// - ::UR_RESULT_ERROR_INVALID_MEM_OBJECT
Original file line number Diff line number Diff line change @@ -408,7 +408,6 @@ returns:
408
408
- $X_RESULT_ERROR_INVALID_SIZE :
409
409
- " `patternSize == 0 || size == 0`"
410
410
- " `patternSize > size`"
411
- - " `(patternSize & (patternSize - 1)) != 0`"
412
411
- " `size % patternSize != 0`"
413
412
- " If `size` is higher than the allocation size of `ptr`"
414
413
- $X_RESULT_ERROR_INVALID_MEM_OBJECT
Original file line number Diff line number Diff line change @@ -8085,10 +8085,6 @@ __urdlllocal ur_result_t UR_APICALL urCommandBufferAppendUSMFillExp(
8085
8085
return UR_RESULT_ERROR_INVALID_SIZE;
8086
8086
}
8087
8087
8088
- if ((patternSize & (patternSize - 1 )) != 0 ) {
8089
- return UR_RESULT_ERROR_INVALID_SIZE;
8090
- }
8091
-
8092
8088
if (size % patternSize != 0 ) {
8093
8089
return UR_RESULT_ERROR_INVALID_SIZE;
8094
8090
}
Original file line number Diff line number Diff line change @@ -7539,7 +7539,6 @@ ur_result_t UR_APICALL urCommandBufferAppendUSMMemcpyExp(
7539
7539
// / - ::UR_RESULT_ERROR_INVALID_SIZE
7540
7540
// / + `patternSize == 0 || size == 0`
7541
7541
// / + `patternSize > size`
7542
- // / + `(patternSize & (patternSize - 1)) != 0`
7543
7542
// / + `size % patternSize != 0`
7544
7543
// / + If `size` is higher than the allocation size of `ptr`
7545
7544
// / - ::UR_RESULT_ERROR_INVALID_MEM_OBJECT
Original file line number Diff line number Diff line change @@ -6403,7 +6403,6 @@ ur_result_t UR_APICALL urCommandBufferAppendUSMMemcpyExp(
6403
6403
// / - ::UR_RESULT_ERROR_INVALID_SIZE
6404
6404
// / + `patternSize == 0 || size == 0`
6405
6405
// / + `patternSize > size`
6406
- // / + `(patternSize & (patternSize - 1)) != 0`
6407
6406
// / + `size % patternSize != 0`
6408
6407
// / + If `size` is higher than the allocation size of `ptr`
6409
6408
// / - ::UR_RESULT_ERROR_INVALID_MEM_OBJECT
You can’t perform that action at this time.
0 commit comments