CMS 3D CMS Logo

Classes | Namespaces | Functions
CachedBufAlloc.h File Reference
#include <alpaka/alpaka.hpp>
#include "HeterogeneousCore/AlpakaInterface/interface/getDeviceCachingAllocator.h"
#include "HeterogeneousCore/AlpakaInterface/interface/getHostCachingAllocator.h"

Go to the source code of this file.

Classes

struct  cms::alpakatools::traits::CachedBufAlloc< TElem, TDim, TIdx, TDev, TQueue, typename, typename >
 The caching memory allocator trait. More...
 
struct  cms::alpakatools::traits::CachedBufAlloc< TElem, TDim, TIdx, alpaka::DevCpu, TQueue, void >
 The caching memory allocator implementation for the CPU device. More...
 

Namespaces

 cms::alpakatools
 
 cms::alpakatools::traits
 

Functions

template<typename TElem , typename TIdx , typename TExtent , typename TQueue , typename TDev , typename = std::enable_if_t<alpaka::isDevice<TDev> and alpaka::isQueue<TQueue>>>
ALPAKA_FN_HOST auto cms::alpakatools::allocCachedBuf (TDev const &dev, TQueue queue, TExtent const &extent=TExtent())