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

rectify the supported types for ObjectCode and Program #224

Merged
merged 3 commits into from
Nov 14, 2024

Conversation

ksimpson-work
Copy link
Contributor

@ksimpson-work ksimpson-work commented Nov 7, 2024

Program's supported target_types should be a subset of ObjectCode's. Based on the nvrtc API, the supported target_types should be LTOIR, PTX and CUBIN.

If someone used nvcc to compile some.cu file with the -fatbin flag, they should be able to construct an ObjectCode object from that data. Therefore ObjectCode's supported types should not be limited to Program's target_types.

Also supported by nvrtc is optix. So that could be added as well down the road. This change can remain minimal.

#close 212

Copy link

copy-pr-bot bot commented Nov 7, 2024

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@ksimpson-work ksimpson-work requested review from vzhurba01 and leofang and removed request for vzhurba01 November 7, 2024 20:25
@ksimpson-work ksimpson-work marked this pull request as ready for review November 7, 2024 20:25
@leofang leofang added enhancement Any code-related improvements P1 Medium priority - Should do cuda.core Everything related to the cuda.core module labels Nov 14, 2024
@leofang leofang added this to the cuda.core beta 2 milestone Nov 14, 2024
@leofang leofang merged commit 6820f30 into main Nov 14, 2024
@leofang leofang deleted the ksimpson/rectify_supported_code_types branch November 14, 2024 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cuda.core Everything related to the cuda.core module enhancement Any code-related improvements P1 Medium priority - Should do
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants