NVIDIA / NVIDIA/cccl

[FEA]: Provide way API for forcing mapping to produce 64-bit wide ranks/counts

Open
#8,660 0 comments 0 reactions 1 assignee Claimed by @davebayer View on GitHub
cudax
Dominant language
C++
Stars
2.5k
Forks
486
Avg merge
2d 6h
Merged PRs (30d)
295

Description

Currently, I use `unsigned` for storing counts/ranks everywhere. However, this may not be sufficient when grouping threads in grid. We should provide a way to let the mapping know to use 64-bit integers. Something like:
```cpp
cuda::my_mapping mapping{cuda::use_64bit}
```
We should also either `uint32_t` or `uint64_t` types instead of plain `unsigned`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.