CMS 3D CMS Logo

Namespaces | Functions
getDeviceCachingAllocator.h File Reference
#include <cassert>
#include <memory>
#include "FWCore/Utilities/interface/thread_safety_macros.h"
#include "HeterogeneousCore/AlpakaInterface/interface/AllocatorConfig.h"
#include "HeterogeneousCore/AlpakaInterface/interface/CachingAllocator.h"
#include "HeterogeneousCore/AlpakaInterface/interface/devices.h"
#include "HeterogeneousCore/AlpakaInterface/interface/traits.h"

Go to the source code of this file.

Namespaces

 cms::alpakatools
 
 cms::alpakatools::detail
 

Functions

template<typename TDev , typename TQueue , typename = std::enable_if_t<cms::alpakatools::is_device_v<TDev> and cms::alpakatools::is_queue_v<TQueue>>>
auto cms::alpakatools::detail::allocate_device_allocators ()
 
template<typename TDev , typename TQueue , typename = std::enable_if_t<cms::alpakatools::is_device_v<TDev> and cms::alpakatools::is_queue_v<TQueue>>>
CachingAllocator< TDev, TQueue > & cms::alpakatools::getDeviceCachingAllocator (TDev const &device)