Kokkos Core Kernels Package  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Namespaces
Kokkos_Atomic.hpp File Reference

Atomic functions. More...

#include <Kokkos_Macros.hpp>
#include <Kokkos_HostSpace.hpp>
#include <impl/Kokkos_Traits.hpp>
#include "impl/Kokkos_Atomic_Assembly.hpp"
#include "impl/Kokkos_Atomic_Exchange.hpp"
#include "impl/Kokkos_Atomic_Compare_Exchange_Strong.hpp"
#include "impl/Kokkos_Atomic_Fetch_Add.hpp"
#include "impl/Kokkos_Atomic_Increment.hpp"
#include "impl/Kokkos_Atomic_Decrement.hpp"
#include "impl/Kokkos_Atomic_Fetch_Sub.hpp"
#include "impl/Kokkos_Atomic_Fetch_Or.hpp"
#include "impl/Kokkos_Atomic_Fetch_And.hpp"
#include "impl/Kokkos_Memory_Fence.hpp"
#include "impl/Kokkos_Volatile_Load.hpp"
#include "impl/Kokkos_Atomic_Generic.hpp"

Go to the source code of this file.

Namespaces

 Kokkos
 

Detailed Description

Atomic functions.

This header file defines prototypes for the following atomic functions:

Supported types include:

They are implemented through GCC compatible intrinsics, OpenMP directives and native CUDA intrinsics.

Including this header file requires one of the following compilers:

Definition in file Kokkos_Atomic.hpp.