Commit 037cc7b
authored
[SYCL][NATIVECPU] fix for urEnqueueUSMFill when pattern size is equal to fill size (#18366)
This PR makes `urEnqueueUSMFill` in the NativeCPU adapter to correctly
return `UR_RESULT_SUCCESS` when the pattern size is equal to the fill
size (previously returned `UR_RESULT_ERROR_INVALID_SIZE`).
This fixes at least `test-e2e/Basic/memop/memop_no_unnamed_lambda.cpp`
on NativeCPU.
This PR also removes an unneeded multiply in that function.1 parent a30775d commit 037cc7b
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
538 | 538 | | |
539 | 539 | | |
540 | 540 | | |
541 | | - | |
| 541 | + | |
542 | 542 | | |
543 | 543 | | |
544 | 544 | | |
545 | 545 | | |
546 | 546 | | |
547 | | - | |
548 | | - | |
| 547 | + | |
549 | 548 | | |
550 | 549 | | |
551 | 550 | | |
| |||
0 commit comments