Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Move away from __CUDA_ARCH__ #432

Merged
merged 4 commits into from
Apr 14, 2023
Merged

Conversation

miscco
Copy link
Collaborator

@miscco miscco commented Apr 13, 2023

We want to support nvc++ which does not know about __CUDA_ARCH__

so we replace it with NV_IF_TARGET and friends

@miscco miscco requested review from wmaxey and griwes April 13, 2023 17:18
@miscco miscco added the testing: internal ci passed Passed internal NVIDIA CI (DVS). label Apr 13, 2023
@miscco
Copy link
Collaborator Author

miscco commented Apr 13, 2023

Note to reviewers, if you enable "hide whitespace" the diff is much easier to verify

@miscco miscco merged commit 360626f into NVIDIA:main Apr 14, 2023
@miscco miscco deleted the nv_if_target_everywhere branch April 14, 2023 06:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
testing: internal ci passed Passed internal NVIDIA CI (DVS).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants