XGC1
Macros | Typedefs | Variables
space_settings.hpp File Reference
#include <Kokkos_Core.hpp>
#include <Kokkos_Random.hpp>
#include <vector>
Include dependency graph for space_settings.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define KOKKOS_TEAM_SCRATCH_OPT   0
 
#define DEVICE_PRINTF(...)   printf(__VA_ARGS__)
 

Typedefs

using MemSpace = Kokkos::CudaSpace
 
using ExSpace = Kokkos::Cuda
 
using DeviceType = Kokkos::Device< ExSpace, MemSpace >
 
using HostMemSpace = Kokkos::HostSpace
 
using HostExSpace = Kokkos::OpenMP
 
using HostType = Kokkos::Device< HostExSpace, HostMemSpace >
 
using MPIDeviceType = HostType
 
using CLayout = Kokkos::LayoutRight
 
using NoInit = Kokkos::ViewAllocateWithoutInitializing
 
typedef Kokkos::Random_XorShift64_Pool< DeviceTypepool_type
 
typedef pool_type::generator_type RandGen
 

Variables

constexpr static const Kokkos::Experimental::WorkItemProperty::HintLightWeight_t Async = Kokkos::Experimental::WorkItemProperty::HintLightWeight
 

Macro Definition Documentation

◆ DEVICE_PRINTF

#define DEVICE_PRINTF (   ...)    printf(__VA_ARGS__)

◆ KOKKOS_TEAM_SCRATCH_OPT

#define KOKKOS_TEAM_SCRATCH_OPT   0

Typedef Documentation

◆ CLayout

using CLayout = Kokkos::LayoutRight

◆ DeviceType

using DeviceType = Kokkos::Device<ExSpace,MemSpace>

◆ ExSpace

using ExSpace = Kokkos::Cuda

◆ HostExSpace

using HostExSpace = Kokkos::OpenMP

◆ HostMemSpace

using HostMemSpace = Kokkos::HostSpace

◆ HostType

using HostType = Kokkos::Device<HostExSpace,HostMemSpace>

◆ MemSpace

using MemSpace = Kokkos::CudaSpace

◆ MPIDeviceType

◆ NoInit

using NoInit = Kokkos::ViewAllocateWithoutInitializing

◆ pool_type

typedef Kokkos::Random_XorShift64_Pool<DeviceType> pool_type

◆ RandGen

typedef pool_type::generator_type RandGen

Variable Documentation

◆ Async

constexpr static const Kokkos::Experimental::WorkItemProperty::HintLightWeight_t Async = Kokkos::Experimental::WorkItemProperty::HintLightWeight
staticconstexpr