CMS 3D CMS Logo

Classes | Namespaces | Typedefs
PortableCollection.h File Reference
#include <alpaka/alpaka.hpp>
#include "DataFormats/Portable/interface/PortableHostCollection.h"
#include "DataFormats/Portable/interface/PortableDeviceCollection.h"
#include "HeterogeneousCore/AlpakaInterface/interface/CopyToDevice.h"
#include "HeterogeneousCore/AlpakaInterface/interface/CopyToHost.h"

Go to the source code of this file.

Classes

struct  cms::alpakatools::CopyToDevice< PortableHostCollection< TLayout > >
 
struct  cms::alpakatools::CopyToDevice< PortableHostMultiCollection< TDev, T0, Args... > >
 
struct  cms::alpakatools::CopyToHost< PortableDeviceCollection< TLayout, TDevice > >
 
struct  cms::alpakatools::CopyToHost< PortableDeviceMultiCollection< TDev, T0, Args... > >
 
struct  traits::PortableCollectionTrait< T, TDev, typename >
 
struct  traits::PortableCollectionTrait< T, alpaka_common::DevHost >
 
class  traits::PortableMultiCollectionTrait< TDev, T0, Args >
 

Namespaces

 cms::alpakatools
 
 traits
 

Typedefs

template<typename T , typename TDev , typename = std::enable_if_t<alpaka::isDevice<TDev>>>
using PortableCollection = typename traits::PortableCollectionTrait< T, TDev >::CollectionType
 
template<typename TDev , typename T0 , typename... Args>
using PortableMultiCollection = typename traits::PortableMultiCollectionTrait< TDev, T0, Args... >::CollectionType
 

Typedef Documentation

◆ PortableCollection

template<typename T , typename TDev , typename = std::enable_if_t<alpaka::isDevice<TDev>>>
using PortableCollection = typename traits::PortableCollectionTrait<T, TDev>::CollectionType

Definition at line 31 of file PortableCollection.h.

◆ PortableMultiCollection

template<typename TDev , typename T0 , typename... Args>
using PortableMultiCollection = typename traits::PortableMultiCollectionTrait<TDev, T0, Args...>::CollectionType

Definition at line 35 of file PortableCollection.h.