CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Static Public Member Functions
cms::cudacompat::CPUTraits Struct Reference

#include <HeterogeneousSoA.h>

Public Types

template<typename T >
using unique_ptr = std::unique_ptr< T >
 

Static Public Member Functions

template<typename T >
static auto make_device_unique (cudaStream_t)
 
template<typename T >
static auto make_device_unique (size_t size, cudaStream_t)
 
template<typename T >
static auto make_host_unique (cudaStream_t)
 
template<typename T >
static auto make_unique (cudaStream_t)
 
template<typename T >
static auto make_unique (size_t size, cudaStream_t)
 

Detailed Description

Definition at line 111 of file HeterogeneousSoA.h.

Member Typedef Documentation

template<typename T >
using cms::cudacompat::CPUTraits::unique_ptr = std::unique_ptr<T>

Definition at line 113 of file HeterogeneousSoA.h.

Member Function Documentation

template<typename T >
static auto cms::cudacompat::CPUTraits::make_device_unique ( cudaStream_t  )
inlinestatic

Definition at line 131 of file HeterogeneousSoA.h.

131  {
132  return std::make_unique<T>();
133  }
template<typename T >
static auto cms::cudacompat::CPUTraits::make_device_unique ( size_t  size,
cudaStream_t   
)
inlinestatic

Definition at line 136 of file HeterogeneousSoA.h.

References findQualityFiles::size.

136  {
137  return std::make_unique<T>(size);
138  }
tuple size
Write out results.
template<typename T >
static auto cms::cudacompat::CPUTraits::make_host_unique ( cudaStream_t  )
inlinestatic

Definition at line 126 of file HeterogeneousSoA.h.

126  {
127  return std::make_unique<T>();
128  }
template<typename T >
static auto cms::cudacompat::CPUTraits::make_unique ( cudaStream_t  )
inlinestatic

Definition at line 116 of file HeterogeneousSoA.h.

116  {
117  return std::make_unique<T>();
118  }
template<typename T >
static auto cms::cudacompat::CPUTraits::make_unique ( size_t  size,
cudaStream_t   
)
inlinestatic

Definition at line 121 of file HeterogeneousSoA.h.

References findQualityFiles::size.

121  {
122  return std::make_unique<T>(size);
123  }
tuple size
Write out results.