QDP++
QDP::SingleThreaded< Host > Class Template Reference

#include <qdp_singleton.h>

Classes

struct  Lock

Public Types

typedef Host VolatileType
typedef int IntType

Static Public Member Functions

static IntType AtomicAdd (volatile IntType &lval, IntType val)
static IntType AtomicSubtract (volatile IntType &lval, IntType val)
static IntType AtomicMultiply (volatile IntType &lval, IntType val)
static IntType AtomicDivide (volatile IntType &lval, IntType val)
static IntType AtomicIncrement (volatile IntType &lval)
static IntType AtomicDivide (volatile IntType &lval)
static void AtomicAssign (volatile IntType &lval, IntType val)
static void AtomicAssign (IntType &lval, volatile IntType &val)

Detailed Description

template<class Host>
class QDP::SingleThreaded< Host >

Definition at line 25 of file qdp_singleton.h.

Member Typedef Documentation

◆ IntType

template<class Host>
typedef int QDP::SingleThreaded< Host >::IntType

Definition at line 36 of file qdp_singleton.h.

◆ VolatileType

template<class Host>
typedef Host QDP::SingleThreaded< Host >::VolatileType

Definition at line 34 of file qdp_singleton.h.

Member Function Documentation

◆ AtomicAdd()

template<class Host>
IntType QDP::SingleThreaded< Host >::AtomicAdd ( volatile IntType & lval,
IntType val )
inlinestatic

Definition at line 38 of file qdp_singleton.h.

◆ AtomicAssign() [1/2]

template<class Host>
void QDP::SingleThreaded< Host >::AtomicAssign ( IntType & lval,
volatile IntType & val )
inlinestatic

Definition at line 59 of file qdp_singleton.h.

◆ AtomicAssign() [2/2]

template<class Host>
void QDP::SingleThreaded< Host >::AtomicAssign ( volatile IntType & lval,
IntType val )
inlinestatic

Definition at line 56 of file qdp_singleton.h.

◆ AtomicDivide() [1/2]

template<class Host>
IntType QDP::SingleThreaded< Host >::AtomicDivide ( volatile IntType & lval)
inlinestatic

Definition at line 53 of file qdp_singleton.h.

◆ AtomicDivide() [2/2]

template<class Host>
IntType QDP::SingleThreaded< Host >::AtomicDivide ( volatile IntType & lval,
IntType val )
inlinestatic

Definition at line 47 of file qdp_singleton.h.

◆ AtomicIncrement()

template<class Host>
IntType QDP::SingleThreaded< Host >::AtomicIncrement ( volatile IntType & lval)
inlinestatic

Definition at line 50 of file qdp_singleton.h.

◆ AtomicMultiply()

template<class Host>
IntType QDP::SingleThreaded< Host >::AtomicMultiply ( volatile IntType & lval,
IntType val )
inlinestatic

Definition at line 44 of file qdp_singleton.h.

◆ AtomicSubtract()

template<class Host>
IntType QDP::SingleThreaded< Host >::AtomicSubtract ( volatile IntType & lval,
IntType val )
inlinestatic

Definition at line 41 of file qdp_singleton.h.


The documentation for this class was generated from the following file: