Samples for CUDA Developers which demonstrates features in CUDA Toolkit
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1.3 KiB

systemWideAtomics - System wide Atomics

Description

A simple demonstration of system wide atomic instructions.

Key Concepts

Atomic Intrinsics, Unified Memory

Supported SM Architectures

SM 6.0 SM 6.1 SM 7.0 SM 7.2 SM 7.5 SM 8.0 SM 8.6 SM 8.7 SM 8.9 SM 9.0

Supported OSes

Linux

Supported CPU Architecture

x86_64, ppc64le

CUDA APIs involved

CUDA Runtime API

cudaDeviceSynchronize, cudaMallocManaged, cudaGetDeviceProperties, cudaFree

Dependencies needed to build/run

UVM

Prerequisites

Download and install the CUDA Toolkit 12.5 for your corresponding platform. Make sure the dependencies mentioned in Dependencies section above are installed.

References (for more details)