-
Notifications
You must be signed in to change notification settings - Fork 55
Move CallConv from CUDAContext to FunctionDescriptor
#717
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
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
bcee996
checkpointing 121825
isVoid a988ca3
checkpointing 010626
isVoid 1419998
initial
isVoid 250886f
Merge remote-tracking branch 'origin' into experimental-callconv
isVoid e60bf0f
remove stale skip
isVoid 72f8f8e
remove cabi_wrap_function
isVoid 855b7de
Merge branch 'main' of github.com:NVIDIA/numba-cuda into experimental…
isVoid f0f3057
lift definition to pre-branching
isVoid f972e09
move declare_function to fndesc
isVoid d699f1c
remove CABI optional return comment - no-op
isVoid d434e37
cleanups
isVoid 45f90f6
move mangler to callconv
isVoid 3475e35
document abi arg
isVoid 1f39f7b
remove stale comments
isVoid b93f046
add cpointer argument
isVoid 684ad4f
remove context.call_conv property
isVoid 27199d2
use callconv mangler everywhere
isVoid 864a40c
cleanups
isVoid 15dcbe5
address review comments
isVoid c39617b
Merge branch 'main' of github.com:NVIDIA/numba-cuda into experimental…
isVoid b46435a
ignore call_conv deprecation warning
isVoid File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed
cabi_wrap_functioncall for device functions with C ABI. Verify this was intentional and that device functions withabi="c"still work correctly without the wrapper.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is indeed intentional, because function / kernels can bare its own calling convention, rather than using a target-wide calling convention.
cabi_wrap_functionwas meant to patch a function with Numba ABI to a caller that expects a CABI function. The fix in this PR is imply switching the kernel to bare aCUDACABICallConvand should work as expected.