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

CUDA: Don't use typemap for function name and line number #7710

Open
gmarkall opened this issue Jan 6, 2022 · 0 comments
Open

CUDA: Don't use typemap for function name and line number #7710

gmarkall opened this issue Jan 6, 2022 · 0 comments
Assignees
Labels
CUDA CUDA related issue/PR Task

Comments

@gmarkall
Copy link
Member

gmarkall commented Jan 6, 2022

Following discussion around #7704 and #7709 it becomes clear that we shouldn't really rely on the type annotation for the function name and line number in CUDA's compile_ptx function. We should remove the use of the type annotation for this and instead get them from the Python function.

We will also need to add a test that the type annotation is present when compiling in the CUDA target, to ensure it is available for display (e.g. with numba --annotate-html).

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

No branches or pull requests

2 participants