Use `NV_IF_ELSE_TARGET`
Open
- Dominant language
- C++
- Stars
- 2.5k
- Forks
- 487
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 296
Description
We use `NV_IF_TARGET` even for cases with more than one branches. Per @miscco, we should switch to the following scheme to improve readability:
```cpp
NV_IF_TARGET(CONDITION, STATEMENTS_IF_TRUE) ;
NV_IF_ELSE_TARGET(CONDITION, STATEMENTS_IF_TRUE, STATEMENTS_IF_FALSE);
```
Contributor guide
Assessment
This issue has not been assessed yet.