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

Add note in CUDA docs about signature in @cuda.jit causing immediate compilation #4072

Open
stuartarchibald opened this issue May 9, 2019 · 4 comments
Labels
CUDA CUDA related issue/PR doc easy

Comments

@stuartarchibald
Copy link
Contributor

Feature request

As title. Follow up to #4052

@stuartarchibald stuartarchibald added doc easy CUDA CUDA related issue/PR labels May 9, 2019
@joesinghh
Copy link

I'll workon this

@stuartarchibald
Copy link
Contributor Author

Great, thanks @Joe-Sin7h

@joesinghh
Copy link

hey @stuartarchibald i'm new to open source.
Could you help me understand this issue because i'm unable to.

@p3732
Copy link

p3732 commented Dec 9, 2020

@Joe-Sin7h let me try to fill in some info. As the description states this is a follow-up to #4052 which was closed with an intention of adding information to the device-functions documentation.

I read through the thread again and from what I figured it is the case that device functions, so anything with @cuda.jit(device=True), are not compiled via the JIT compiler, but immediately with the python compiler.

Now, I am not sure if this is completely correct, but I thought it would be easier for someone who knows to just confirm this, than to write it themselves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CUDA CUDA related issue/PR doc easy
Projects
None yet
Development

No branches or pull requests

3 participants