NVIDIA / NVIDIA/cuCollections

Use NV_IF_TARGET instead of CUDA_ARCH

Open
#193 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.