Use NV_IF_TARGET instead of CUDA_ARCH
Open
Nobody has claimed this yet.
P1: Should have
type: feature request
- Dominant language
- Cuda
- Stars
- 667
- Forks
- 120
- Avg merge
- 7d 5h
- Merged PRs (30d)
- 4
Description
This reminds me that in order to be friendly to nvc++, we should probably be switching to use NV_IF_TARGET. That'll be a different issue though.
Originally posted by @jrhemstad in https://github.com/NVIDIA/cuCollections/pull/192#discussion_r927727767
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Search the repository for uses of CUDA_ARCH and inspect the context around each one, then review the related discussion in pull request #192. The work is complete when the relevant target-selection logic uses NV_IF_TARGET and remains friendly to nvc++.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- compilers
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100