Skip to content

Add target_feature support for compute_* #239

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

Merged
merged 1 commit into from
Jul 28, 2025

Conversation

LegNeato
Copy link
Contributor

@LegNeato LegNeato commented Jul 28, 2025

This lets us gate code to virtual architectures at compile time using cfg(). target_arch is already taken by ptx64, so we can't use that and arguably this matches closer to rust gpu's use of target_feature.

This lets us gate code to virtual architectures at
compile time using `cfg()`.
@LegNeato LegNeato merged commit 5a70839 into Rust-GPU:main Jul 28, 2025
7 checks passed
@LegNeato LegNeato deleted the target_feature branch July 28, 2025 00:45
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