Skip to content

Fix CUDA event binding compatibility and arch forwarding - #15

Merged
nihalpasham merged 1 commit into
mainfrom
pr-7-signed
May 9, 2026
Merged

nihalpasham merged 1 commit into
mainfrom
pr-7-signed

Conversation

@nihalpasham

Copy link
Copy Markdown
Collaborator

Summary

  • Land Fix CUDA event binding compatibility and arch forwarding #7 via a verified maintainer-signed commit while preserving Mohamed Samir as the author.
  • Add a CUDA event elapsed-time compatibility wrapper for headers that expose either cuEventElapsedTime or cuEventElapsedTime_v2.
  • Forward explicit cargo oxide --arch values to normal PTX generation through CUDA_OXIDE_TARGET.

Test plan

  • cargo check -p cuda-bindings -p cuda-core -p cargo-oxide
  • cargo clippy -p cuda-bindings -p cuda-core -p cargo-oxide -- -D warnings
  • cargo test -p cuda-bindings -p cuda-core -p cargo-oxide
  • cargo oxide run vecadd --arch sm_75
  • Confirmed generated PTX contains .target sm_75

@nihalpasham nihalpasham added bug Something isn't working cargo-oxide The `cargo oxide` subcommand and build automation cuda-bindings Raw FFI bindings to the CUDA driver/runtime labels May 9, 2026
@nihalpasham nihalpasham self-assigned this May 9, 2026
@nihalpasham
nihalpasham merged commit 44abb07 into main May 9, 2026
14 checks passed
@nihalpasham

Copy link
Copy Markdown
Collaborator Author

@mohamedsamirx — For future PRs, it would be great if you could use verified commit signatures so GitHub branch protection can merge them directly. Thanks again for the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working cargo-oxide The `cargo oxide` subcommand and build automation cuda-bindings Raw FFI bindings to the CUDA driver/runtime

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants