File tree Expand file tree Collapse file tree 2 files changed +0
-17
lines changed Expand file tree Collapse file tree 2 files changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -789,21 +789,6 @@ UR_APIEXPORT ur_result_t UR_APICALL urEnqueueMemBufferFill(
789
789
ur_event_handle_t *phEvent) {
790
790
UR_ASSERT (size + offset <= std::get<BufferMem>(hBuffer->Mem ).getSize (),
791
791
UR_RESULT_ERROR_INVALID_SIZE);
792
- auto ArgsAreMultiplesOfPatternSize =
793
- (offset % patternSize == 0 ) || (size % patternSize == 0 );
794
-
795
- auto PatternIsValid = (pPattern != nullptr );
796
-
797
- auto PatternSizeIsValid =
798
- ((patternSize & (patternSize - 1 )) == 0 ) && // is power of two
799
- (patternSize > 0 ) && (patternSize <= 128 ); // falls within valid range
800
-
801
- UR_ASSERT (ArgsAreMultiplesOfPatternSize && PatternIsValid &&
802
- PatternSizeIsValid,
803
- UR_RESULT_ERROR_INVALID_VALUE);
804
- std::ignore = ArgsAreMultiplesOfPatternSize;
805
- std::ignore = PatternIsValid;
806
- std::ignore = PatternSizeIsValid;
807
792
808
793
std::unique_ptr<ur_event_handle_t_> RetImplEvent{nullptr };
809
794
hBuffer->setLastQueueWritingToMemObj (hQueue);
Original file line number Diff line number Diff line change @@ -5,8 +5,6 @@ urEnqueueKernelLaunchKernelSubGroupTest.Success/AMD_HIP_BACKEND___{{.*}}_
5
5
urEnqueueKernelLaunchUSMLinkedList.Success/AMD_HIP_BACKEND___{{.*}}___UsePoolEnabled
6
6
{{OPT}}urEnqueueMemBufferCopyRectTestWithParam.Success/AMD_HIP_BACKEND___{{.*}}___copy_row_2D
7
7
{{OPT}}urEnqueueMemBufferCopyRectTestWithParam.Success/AMD_HIP_BACKEND___{{.*}}___copy_3d_2d
8
- urEnqueueMemBufferFillTest.Success/AMD_HIP_BACKEND___{{.*}}___size__256__patternSize__256
9
- urEnqueueMemBufferFillTest.Success/AMD_HIP_BACKEND___{{.*}}___size__1024__patternSize__256
10
8
{{OPT}}urEnqueueMemBufferWriteRectTestWithParam.Success/AMD_HIP_BACKEND___{{.*}}___write_row_2D
11
9
{{OPT}}urEnqueueMemBufferWriteRectTestWithParam.Success/AMD_HIP_BACKEND___{{.*}}___write_3d_2d
12
10
urEnqueueUSMAdviseWithParamTest.Success/AMD_HIP_BACKEND___{{.*}}___UR_USM_ADVICE_FLAG_DEFAULT
You can’t perform that action at this time.
0 commit comments