Skip to content
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

dpnp.partition segfaults on xpu #1395

Closed
fcharras opened this issue May 10, 2023 · 1 comment · Fixed by #1406
Closed

dpnp.partition segfaults on xpu #1395

fcharras opened this issue May 10, 2023 · 1 comment · Fixed by #1406
Assignees
Labels
bug Something isn't working

Comments

@fcharras
Copy link

Reproducer:

import numpy as np
import dpnp
import dpctl.tensor as dpt

rng = np.random.default_rng(123)

n = 2 ** 29
k = 100
dtype = np.float32

X = rng.uniform(size=n).astype(dtype)
X = dpt.asarray(X, order="C", dtype=dtype)
dpnp.partition(X, 100)  # segfaults

Tested both on Flex 170 GPU and iris iGPU.

@antonwolfy antonwolfy self-assigned this May 11, 2023
@antonwolfy antonwolfy added the bug Something isn't working label May 11, 2023
@antonwolfy
Copy link
Contributor

@fcharras , thank you for reporting the issue. I will start looking it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants