-
Notifications
You must be signed in to change notification settings - Fork 171
Add more ObjectCode
constructors
#652
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
Conversation
Auto-sync is disabled for ready for review pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
Can we add tests for these new constructors? |
Right, good question, I was going to ask about this. It's not quite as straightforward to follow the pattern in #470 because this relies on We might need to compile some files in the test environment to give us some fatbins, ltoIR objects, etc to test. My first idea was maybe to take inspiration from numba-cuda's binary generation makefile and vendor a portion/all of it here. We'd want to think carefully about what library should test what though to avoid duplicating things and share as many components as possible even across tests, What do you think @kkraus14 ? |
Vendoring Numba's existing test (with modification) seems to be a good idea, but @brandon-b-miller could you confirm that if |
This commit: update for anticipated cuda-python changes Implements the corresponding |
Sounds good, please feel free to take over #526. btw just for completeness, could you also add support for |
Two other test ideas:
|
@leofang do you still want to move forward with merging this as-is? I confirmed |
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.
Small nit.
I am supportive for addressing native tests in a separate PR. |
Raised #663 |
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.
/ok to test eb2bc8b
/ok to test eb2bc8b |
/ok to test |
This comment has been minimized.
This comment has been minimized.
|
This PR adds the missing
ObjectCode
ctors needed for NVIDIA/numba-cuda#133.Closes #629