NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Macros | Functions
atomics.h File Reference
#include <nvbio/basic/types.h>

Go to the source code of this file.

Classes

struct  nvbio::AtomicInt32
 an atomic integer class More...
 
struct  nvbio::AtomicInt64
 

Namespaces

 nvbio
 Define a vector_view POD type and plain_view() for std::vector.
 

Macros

#define ASM_ATOMICS
 

Functions

void nvbio::host_release_fence ()
 
void nvbio::host_acquire_fence ()
 
int32 nvbio::host_atomic_add (int32 *value, const int32 op)
 
uint32 nvbio::host_atomic_add (uint32 *value, const uint32 op)
 
int64 nvbio::host_atomic_add (int64 *value, const int64 op)
 
uint64 nvbio::host_atomic_add (uint64 *value, const uint64 op)
 
int32 nvbio::host_atomic_sub (int32 *value, const int32 op)
 
uint32 nvbio::host_atomic_sub (uint32 *value, const uint32 op)
 
int64 nvbio::host_atomic_sub (int64 *value, const int64 op)
 
uint64 nvbio::host_atomic_sub (uint64 *value, const uint64 op)
 
uint32 nvbio::host_atomic_or (uint32 *value, const uint32 op)
 
uint64 nvbio::host_atomic_or (uint64 *value, const uint64 op)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE int32 
nvbio::atomic_add (int32 *value, const int32 op)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE uint32 
nvbio::atomic_add (uint32 *value, const uint32 op)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE uint64 
nvbio::atomic_add (uint64 *value, const uint64 op)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE int32 
nvbio::atomic_sub (int32 *value, const int32 op)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE uint32 
nvbio::atomic_sub (uint32 *value, const uint32 op)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE uint32 
nvbio::atomic_or (uint32 *value, const uint32 op)
 
NVBIO_FORCEINLINE
NVBIO_HOST_DEVICE uint64 
nvbio::atomic_or (uint64 *value, const uint64 op)
 
bool nvbio::operator== (const long a, const AtomicInt64 &b)
 comparisons More...
 
bool nvbio::operator!= (const long a, const AtomicInt64 &b)
 
bool nvbio::operator>= (const long a, const AtomicInt64 &b)
 
bool nvbio::operator<= (const long a, const AtomicInt64 &b)
 
bool nvbio::operator> (const long a, const AtomicInt64 &b)
 
bool nvbio::operator< (const long a, const AtomicInt64 &b)
 
bool nvbio::operator== (const int a, const AtomicInt32 &b)
 
bool nvbio::operator!= (const int a, const AtomicInt32 &b)
 
bool nvbio::operator>= (const int a, const AtomicInt32 &b)
 
bool nvbio::operator<= (const int a, const AtomicInt32 &b)
 
bool nvbio::operator> (const int a, const AtomicInt32 &b)
 
bool nvbio::operator< (const int a, const AtomicInt32 &b)