Source code that accompanies The CUDA Handbook.
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.
 
 
 
 
EC2 Default User ac82087cde cuobjdump not cudumpobj 10 years ago
..
README.txt cuobjdump not cudumpobj 10 years ago
atomic32.cu Atomic microdemos 13 years ago
atomic32Shared.cu Remove fire-and-forget formulations of shared atomics 13 years ago
atomic64.cu Remove fire-and-forget formulations of shared atomics 13 years ago
atomic64Shared.cu Atomic microdemos 13 years ago
atomicFloat.cu Atomic microdemos 13 years ago
atomicFloatShared.cu Remove fire-and-forget formulations of shared atomics 13 years ago

README.txt

This directory contains sample code with no purpose other than to
illustrate the code generated for atomic operations on global and
shared memory.

To see the generated machine code, compile with:

nvcc --cubin --gpu-architecture sm_xx <filename>

then disassemble the compiled microcode with cuobjdump:

cuobjdump --dump-sass <filename>.cubin


Memory Operand File

Global int atomic32.cu
Global unsigned long long atomic64.cu
Global float atomicFloat.cu

Shared int atomic32Shared.cu
Shared unsigned long long atomic64Shared.cu
Shared float atomicFloatShared.cu