File tree Expand file tree Collapse file tree 6 files changed +0
-16
lines changed Expand file tree Collapse file tree 6 files changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -6894,7 +6894,6 @@ urEnqueueMemUnmap(
6894
6894
/// - ::UR_RESULT_ERROR_INVALID_SIZE
6895
6895
/// + `patternSize == 0 || size == 0`
6896
6896
/// + `patternSize > size`
6897
- /// + `(patternSize & (patternSize - 1)) != 0`
6898
6897
/// + `size % patternSize != 0`
6899
6898
/// + If `size` is higher than the allocation size of `ptr`
6900
6899
/// - ::UR_RESULT_ERROR_INVALID_EVENT_WAIT_LIST
@@ -8388,7 +8387,6 @@ urCommandBufferAppendUSMMemcpyExp(
8388
8387
/// - ::UR_RESULT_ERROR_INVALID_SIZE
8389
8388
/// + `patternSize == 0 || size == 0`
8390
8389
/// + `patternSize > size`
8391
- /// + `(patternSize & (patternSize - 1)) != 0`
8392
8390
/// + `size % patternSize != 0`
8393
8391
/// + If `size` is higher than the allocation size of `ptr`
8394
8392
/// - ::UR_RESULT_ERROR_INVALID_MEM_OBJECT
Original file line number Diff line number Diff line change @@ -1061,7 +1061,6 @@ returns:
1061
1061
- $X_RESULT_ERROR_INVALID_SIZE :
1062
1062
- " `patternSize == 0 || size == 0`"
1063
1063
- " `patternSize > size`"
1064
- - " `(patternSize & (patternSize - 1)) != 0`"
1065
1064
- " `size % patternSize != 0`"
1066
1065
- " If `size` is higher than the allocation size of `ptr`"
1067
1066
- $X_RESULT_ERROR_INVALID_EVENT_WAIT_LIST :
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 @@ -5979,10 +5979,6 @@ __urdlllocal ur_result_t UR_APICALL urEnqueueUSMFill(
5979
5979
return UR_RESULT_ERROR_INVALID_SIZE;
5980
5980
}
5981
5981
5982
- if ((patternSize & (patternSize - 1 )) != 0 ) {
5983
- return UR_RESULT_ERROR_INVALID_SIZE;
5984
- }
5985
-
5986
5982
if (size % patternSize != 0 ) {
5987
5983
return UR_RESULT_ERROR_INVALID_SIZE;
5988
5984
}
@@ -8089,10 +8085,6 @@ __urdlllocal ur_result_t UR_APICALL urCommandBufferAppendUSMFillExp(
8089
8085
return UR_RESULT_ERROR_INVALID_SIZE;
8090
8086
}
8091
8087
8092
- if ((patternSize & (patternSize - 1 )) != 0 ) {
8093
- return UR_RESULT_ERROR_INVALID_SIZE;
8094
- }
8095
-
8096
8088
if (size % patternSize != 0 ) {
8097
8089
return UR_RESULT_ERROR_INVALID_SIZE;
8098
8090
}
Original file line number Diff line number Diff line change @@ -5887,7 +5887,6 @@ ur_result_t UR_APICALL urEnqueueMemUnmap(
5887
5887
// / - ::UR_RESULT_ERROR_INVALID_SIZE
5888
5888
// / + `patternSize == 0 || size == 0`
5889
5889
// / + `patternSize > size`
5890
- // / + `(patternSize & (patternSize - 1)) != 0`
5891
5890
// / + `size % patternSize != 0`
5892
5891
// / + If `size` is higher than the allocation size of `ptr`
5893
5892
// / - ::UR_RESULT_ERROR_INVALID_EVENT_WAIT_LIST
@@ -7540,7 +7539,6 @@ ur_result_t UR_APICALL urCommandBufferAppendUSMMemcpyExp(
7540
7539
// / - ::UR_RESULT_ERROR_INVALID_SIZE
7541
7540
// / + `patternSize == 0 || size == 0`
7542
7541
// / + `patternSize > size`
7543
- // / + `(patternSize & (patternSize - 1)) != 0`
7544
7542
// / + `size % patternSize != 0`
7545
7543
// / + If `size` is higher than the allocation size of `ptr`
7546
7544
// / - ::UR_RESULT_ERROR_INVALID_MEM_OBJECT
Original file line number Diff line number Diff line change @@ -5023,7 +5023,6 @@ ur_result_t UR_APICALL urEnqueueMemUnmap(
5023
5023
// / - ::UR_RESULT_ERROR_INVALID_SIZE
5024
5024
// / + `patternSize == 0 || size == 0`
5025
5025
// / + `patternSize > size`
5026
- // / + `(patternSize & (patternSize - 1)) != 0`
5027
5026
// / + `size % patternSize != 0`
5028
5027
// / + If `size` is higher than the allocation size of `ptr`
5029
5028
// / - ::UR_RESULT_ERROR_INVALID_EVENT_WAIT_LIST
@@ -6404,7 +6403,6 @@ ur_result_t UR_APICALL urCommandBufferAppendUSMMemcpyExp(
6404
6403
// / - ::UR_RESULT_ERROR_INVALID_SIZE
6405
6404
// / + `patternSize == 0 || size == 0`
6406
6405
// / + `patternSize > size`
6407
- // / + `(patternSize & (patternSize - 1)) != 0`
6408
6406
// / + `size % patternSize != 0`
6409
6407
// / + If `size` is higher than the allocation size of `ptr`
6410
6408
// / - ::UR_RESULT_ERROR_INVALID_MEM_OBJECT
You can’t perform that action at this time.
0 commit comments