CMS 3D CMS Logo

Namespaces | Functions
getDeviceCachingAllocator.h File Reference
#include <cassert>
#include <memory>
#include <alpaka/alpaka.hpp>
#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<alpaka::isDevice<TDev> and alpaka::isQueue<TQueue>>>
auto cms::alpakatools::detail::allocate_device_allocators (AllocatorConfig const &config, bool debug)
 
template<typename TDev , typename TQueue , typename = std::enable_if_t<alpaka::isDevice<TDev> and alpaka::isQueue<TQueue>>>
CachingAllocator< TDev, TQueue > & cms::alpakatools::getDeviceCachingAllocator (TDev const &device, AllocatorConfig const &config=AllocatorConfig{}, bool debug=false)