CMS 3D CMS Logo

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

◆ unique_ptr

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

Definition at line 113 of file HeterogeneousSoA.h.

Member Function Documentation

◆ make_device_unique() [1/2]

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  }

◆ make_device_unique() [2/2]

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.

136  {
137  return std::make_unique<T>(size);
138  }

References findQualityFiles::size.

◆ make_host_unique()

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  }

◆ make_unique() [1/2]

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  }

◆ make_unique() [2/2]

template<typename T >
static auto cms::cudacompat::CPUTraits::make_unique ( size_t  size,
cudaStream_t   
)
inlinestatic

Definition at line 121 of file HeterogeneousSoA.h.

121  {
122  return std::make_unique<T>(size);
123  }

References findQualityFiles::size.

findQualityFiles.size
size
Write out results.
Definition: findQualityFiles.py:443