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

Go to the source code of this file.

Namespaces

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

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)