cuda.core: add tests for ObjectCode.from_object#2193
Open
lijinf2 wants to merge 12 commits into
Open
Conversation
Contributor
Contributor
Author
|
/ok to test |
Contributor
@lijinf2, there was an error processing your request: See the following link for more information: https://docs.gha-runners.nvidia.com/cpr/e/1/ |
Contributor
Author
|
/ok to test bbfbbdf |
|
Contributor
Author
|
/ok to test 44a490e |
isVoid
reviewed
Jun 11, 2026
isVoid
reviewed
Jun 11, 2026
leofang
reviewed
Jun 11, 2026
Member
|
Need to merge with the latest main to fix CI. |
Contributor
Author
|
/ok to test a36588b |
Contributor
Author
|
/ok to test 7d16a64 |
Member
|
/ok to test 1e0580d |
leofang
reviewed
Jun 15, 2026
leofang
reviewed
Jun 15, 2026
leofang
reviewed
Jun 15, 2026
leofang
reviewed
Jun 15, 2026
Co-authored-by: Leo Fang <leo80042@gmail.com>
Contributor
Author
|
/ok to test ce8a812 |
Contributor
Author
|
/ok to test 4575865 |
leofang
approved these changes
Jun 15, 2026
Contributor
Author
|
/ok to test e2ad6c1 |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Part of Issue #663.
Adds tests for
ObjectCode.from_objectand theCI plumbing needed to support them.
cuda_core/tests/test_binaries/saxpy.cu.build-wheel.yml): Compile saxpy.cu to saxpy.o using nvcc, uploadedas
${CUDA_CORE_ARTIFACT_NAME}-test-binaries.test-wheel-{linux,windows}.yml): download the artifact intocuda_core/tests/test_binaries/.test_module.py): newget_saxpy_objectfixture reads bytesfrom
cuda_core/tests/test_binaries/saxpy.o; two new tests cover thebytes and file-path paths of
ObjectCode.from_object.saxpy.owithnvccon demand if available, elseskip the new tests.
Checklist