Loading...
Searching...
No Matches
cce.h File Reference
#include <intrinsics.h>
#include "cce_intrinsics.h"
#include "cce_spinlock.h"

Classes

struct  PLMD::thread_mpi::tMPI_Atomic
 Atomic operations datatype. More...
 
struct  PLMD::thread_mpi::tMPI_Atomic_ptr
 Atomic pointer type equivalent to tMPI_Atomic_t. More...
 

Namespaces

namespace  PLMD
 Fast (possibly busy-wait-based) barrier type.
 
namespace  PLMD::thread_mpi
 

Macros

#define tMPI_Atomic_get(a)
 
#define tMPI_Atomic_memory_barrier()
 
#define tMPI_Atomic_ptr_get(a)
 
#define tMPI_Atomic_ptr_set(a, i)
 
#define tMPI_Atomic_set(a, i)
 

Macro Definition Documentation

◆ tMPI_Atomic_get

#define tMPI_Atomic_get ( a)
Value:
((int)( (a)->value) )

◆ tMPI_Atomic_memory_barrier

#define tMPI_Atomic_memory_barrier ( )
Value:
__builtin_ia32_mfence()

◆ tMPI_Atomic_ptr_get

#define tMPI_Atomic_ptr_get ( a)
Value:
((void*)((a)->value) )

◆ tMPI_Atomic_ptr_set

#define tMPI_Atomic_ptr_set ( a,
i )
Value:
(((a)->value) = (void*)(i))

◆ tMPI_Atomic_set

#define tMPI_Atomic_set ( a,
i )
Value:
(((a)->value) = (i))