TypeError: compile_kernel() got an unexpected keyword argument 'boundscheck'
See original GitHub issueHi, I am quite new to numba
and was trying to play with it. Thus, I was trying to run the following simple example:
from numba import jit, cuda
import numpy as np
import os
# function optimized to run on gpu
@jit(target ='cuda')
def func2(a):
for i in range(10000000):
a[i]+= 1
if __name__ == '__main__':
n = 10000000
a = np.ones(n, dtype=np.float64)
b = np.ones(n, dtype=np.float32)
func2(a)
os._exit(0)
but for some reason I am getting the TypeError
:
TypeError: compile_kernel() got an unexpected keyword argument 'boundscheck'
I checked on the web for similar issues but I did not really found anything relevant. Any idea what might be wrong.
Thanks.
System info: Python 3.8 Windows 10 Numba 0.50
Issue Analytics
- State:
- Created 3 years ago
- Comments:15 (9 by maintainers)
Top Results From Across the Web
CUDA GPU processing: TypeError: compile_kernel() got an ...
CUDA GPU processing: TypeError: compile_kernel() got an unexpected keyword argument 'boundscheck' · 2 · Consider using C/C++ instead, by following ...
Read more >Recursion error with numba and cudatoolkit : r/pythonhelp
But when i call the entire function, I get this error: ... TypeError: compile_kernel() got an unexpected keyword argument 'boundscheck' ...
Read more >TypeError: _cuda() got an unexpected keyword argument ...
I'm currently working through Fast.AI lesson one on a paperspace machine. I have pulled the latest fastai repo, and have updated the Python ......
Read more >ChangeLog - OpenLisp by Eligis
2022/06/04: Fix compiler issue when REQUIRE is used with a keyword argument. 2022/05/29: Qualified port on Solaris 10 sparc with gcc 9.5.0 (-m64...
Read more >Список изменений - OpenNet
ACPI: PM: Fix NULL argument handling in acpi_device_get/set_power() ... ACPI: utils: Add acpi_dev_uid_to_integer() helper to get _UID as integer.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Closing this as
@jit(target=)
is now deprecated.I can verify that the latest provided example from @esc works here without issues as well.