mirror of
https://github.com/NVIDIA/cuda-samples.git
synced 2026-11-18 01:48:16 +08:00
CUDA 13.2 samples update (#432)
- Added Python samples for CUDA Python 1.0 release - Renamed top-level `Samples` directory to `cpp` to accommodate Python samples.
This commit is contained in:
30
cpp/3_CUDA_Features/warpAggregatedAtomicsCG/README.md
Normal file
30
cpp/3_CUDA_Features/warpAggregatedAtomicsCG/README.md
Normal file
@@ -0,0 +1,30 @@
|
||||
# warpAggregatedAtomicsCG - Warp Aggregated Atomics using Cooperative Groups
|
||||
|
||||
## Description
|
||||
|
||||
This sample demonstrates how using Cooperative Groups (CG) to perform warp aggregated atomics to single and multiple counters, a useful technique to improve performance when many threads atomically add to a single or multiple counters.
|
||||
|
||||
## Key Concepts
|
||||
|
||||
Cooperative Groups, Atomic Intrinsics
|
||||
|
||||
## Supported SM Architectures
|
||||
|
||||
## Supported OSes
|
||||
|
||||
Linux, Windows
|
||||
|
||||
## Supported CPU Architecture
|
||||
|
||||
x86_64, armv7l, aarch64
|
||||
|
||||
## CUDA APIs involved
|
||||
|
||||
### [CUDA Runtime API](http://docs.nvidia.com/cuda/cuda-runtime-api/index.html)
|
||||
cudaMemcpy, cudaFree, cudaDeviceGetAttribute, cudaMemset, cudaMalloc
|
||||
|
||||
## Prerequisites
|
||||
|
||||
Download and install the [CUDA Toolkit](https://developer.nvidia.com/cuda-downloads) for your corresponding platform.
|
||||
|
||||
## References (for more details)
|
||||
Reference in New Issue
Block a user