CMS 3D CMS Logo

Namespaces | Enumerations | Variables
AllocatorPolicy.h File Reference
#include <alpaka/alpaka.hpp>
#include "HeterogeneousCore/AlpakaInterface/interface/traits.h"

Go to the source code of this file.

Namespaces

 cms::alpakatools
 

Enumerations

enum  cms::alpakatools::AllocatorPolicy { cms::alpakatools::AllocatorPolicy::Synchronous = 0, cms::alpakatools::AllocatorPolicy::Asynchronous = 1, cms::alpakatools::AllocatorPolicy::Caching = 2 }
 

Variables

template<typename TDev , typename = std::enable_if_t<alpaka::isDevice<TDev>>>
constexpr AllocatorPolicy cms::alpakatools::allocator_policy = AllocatorPolicy::Synchronous