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

Fixes the jit decorator with target='cuda' #5945

Closed
wants to merge 1 commit into from

Conversation

hameerabbasi
Copy link
Contributor

Fixes #5868. This PR fixes the numba.jit decorator with the target='cuda' keyword when the boundscheck argument isn't supplied.

@hameerabbasi
Copy link
Contributor Author

I think this is ready for review.

@inboxsgk
Copy link

inboxsgk commented Aug 6, 2020

I tried this fix on my project. I get the following error
numba.cuda.cudadrv.error.NvvmSupportError: libNVVM cannot be found. Do conda install cudatoolkit: [WinError 3] The system cannot find the path specified: 'F:\\Python\\Project\\venv\\DLLs'

Numba Version 0.50.1

@hameerabbasi
Copy link
Contributor Author

Hi. The Numba team deprecated the target kwarg in numba.jit.

You should use numba.cuda.jit instead.

@gmarkall
Copy link
Member

gmarkall commented Aug 6, 2020

If you also have the issue without the patch applied, please do open an issue or post about the problem you're having on the Numba discourse: https://numba.discourse.group

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

Successfully merging this pull request may close these issues.

TypeError: compile_kernel() got an unexpected keyword argument 'boundscheck'
4 participants