Fermat
Classes | Functions
CUDA Atomics

Detailed Description

This module various types of CUDA atomics

Classes

struct  cugar::cuda::warp_static_atomic
 
struct  cugar::cuda::warp_atomic
 

Functions

__device__ __forceinline__ unsigned int cugar::cuda::warp_increment (unsigned int *ptr)
 

Function Documentation

◆ warp_increment()

__device__ __forceinline__ unsigned int cugar::cuda::warp_increment ( unsigned int *  ptr)

increment the value at ptr by 1 and return the old value