We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm trying to run simple dpjit code:
import dpnp as dnp import numpy as np import numba as nb from numba_dpex import dpjit @dpjit def _sum_nomask(res): tot = nb.float32(1.0) res[1] = tot if __name__ == "__main__": arr = dnp.arange(10, dtype=np.float32) _sum_nomask(res) print("dpex:", res)
The example works on cpu, but does not work on GPU:
ONEAPI_DEVICE_SELECTOR=opencl:gpu python example.py [1] 2251 segmentation fault ONEAPI_DEVICE_SELECTOR=opencl:gpu python numba_dpex_jax.py
Running on integrated intel gpu 12th gen
The text was updated successfully, but these errors were encountered:
Following works:
@dpjit def _sum_nomask2(): tot=nb.float32(2.0) return tot if __name__ == "__main__": arr = dnp.arange(10, dtype=np.float32) arr[1]=_sum_nomask2() print("done") print("dpex:", arr)
Sorry, something went wrong.
No branches or pull requests
I'm trying to run simple dpjit code:
The example works on cpu, but does not work on GPU:
Running on integrated intel gpu 12th gen
The text was updated successfully, but these errors were encountered: