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

Add an unofficial 'isa' option to target different PTX ISAs. #4

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

maleadt
Copy link
Member

@maleadt maleadt commented Apr 29, 2024

Turns out libNVVM has undocumented -Xopt and -Xllc options to forward flags to the underlying LLVM drivers (and also -Xlnk with libNVVM from CUDA 12.4), which we can use to set -mattr=+ptxXY. Very unsupported, of course, but at least this may enable some experimentation with libNVVM.

@maleadt maleadt merged commit bbd3b1b into main Apr 29, 2024
6 checks passed
@maleadt maleadt deleted the tb/isa branch April 29, 2024 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant