-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate recent test failures, concurrent with upgrade of DPC++ to 2025.0.1 #1901
Comments
With def test4(n):
m = dpt.ones(n*n, dtype="?")
cumsum = dpt.zeros(n*n, dtype="i8")
q = cumsum.sycl_queue
q.wait()
num = dpt._tensor_impl.mask_positions(mask=m, cumsum=cumsum, sycl_queue=q)
return dpt.asnumpy(cumsum - dpt.arange(1, n*n+1, dtype=cumsum.dtype)) I get
|
The same thing with def test5(n):
m = dpt.ones(n*n, dtype="i8")
cumsum = dpt.cumulative_sum(m)
return dpt.asnumpy(cumsum) - np.arange(1, n*n+1, dtype=cumsum.dtype)
v = test5(257)
ind, = np.nonzero(v)
print(ind, v[ind]) # outputs [513 514 515] [-514 -515 -516] |
Seem to affect all data types:
|
oleksandr-pavlyk
added a commit
that referenced
this issue
Nov 20, 2024
This was referenced Nov 20, 2024
oleksandr-pavlyk
added a commit
that referenced
this issue
Nov 20, 2024
oleksandr-pavlyk
added a commit
that referenced
this issue
Nov 20, 2024
oleksandr-pavlyk
changed the title
Investigate test failures with DPC++ 2025.0.1
Investigate recent test failures, concurrent with upgrade of DPC++ to 2025.0.1
Nov 20, 2024
This failure is not related to the upgrade in the compiler, rather I introduced it recently by a code change during code maintenance: #1896 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Consider snippet:
Then
The result is always empty for
dpctl
compiled with DPC++ 2025.0.0The text was updated successfully, but these errors were encountered: