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

numba cuda simulation problem #8

Open
yxqd opened this issue Oct 21, 2021 · 1 comment
Open

numba cuda simulation problem #8

yxqd opened this issue Oct 21, 2021 · 1 comment

Comments

@yxqd
Copy link
Member

yxqd commented Oct 21, 2021

https://github.com/mcvine/acc/runs/3951616215

when running the test with NUMBA_ENABLE_CUDASIM=1

Traceback (most recent call last):
  File "tests/geometry/test_onbox.py", line 11, in <module>
    if __name__ == '__main__': main()
  File "tests/geometry/test_onbox.py", line 8, in main
    onbox.test_cu_intersect_box()
  File "/usr/share/miniconda/envs/testenv/lib/python3.8/site-packages/mcvine/acc/geometry/onbox.py", line 106, in test_cu_intersect_box
    ts_cu = cu_intersect_box(
  File "/usr/share/miniconda/envs/testenv/lib/python3.8/site-packages/numba/np/ufunc/deviceufunc.py", line 646, in __call__
    callsteps = self._call_steps(self.engine.nin, self.engine.nout,
  File "/usr/share/miniconda/envs/testenv/lib/python3.8/site-packages/numba/np/ufunc/deviceufunc.py", line 759, in __init__
    self._is_device_array = [self.is_device_array(a) for a in self.args]
  File "/usr/share/miniconda/envs/testenv/lib/python3.8/site-packages/numba/np/ufunc/deviceufunc.py", line 759, in <listcomp>
    self._is_device_array = [self.is_device_array(a) for a in self.args]
  File "/usr/share/miniconda/envs/testenv/lib/python3.8/site-packages/numba/cuda/dispatcher.py", line 98, in is_device_array
    return cuda.is_cuda_array(obj)
AttributeError: module 'numba.cuda' has no attribute 'is_cuda_array'
Error: Process completed with exit code 1.

Refs:

@yxqd
Copy link
Member Author

yxqd commented Nov 6, 2021

Current workaround:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant