CMS 3D CMS Logo

List of all members | Public Types | Static Public Member Functions
cms::cudacompat::GPUTraits Struct Reference

#include <HeterogeneousSoA.h>

Public Types

template<typename T >
using unique_ptr = cms::cuda::device::unique_ptr< T >
 

Static Public Member Functions

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

Detailed Description

Definition at line 56 of file HeterogeneousSoA.h.

Member Typedef Documentation

◆ unique_ptr

Definition at line 58 of file HeterogeneousSoA.h.

Member Function Documentation

◆ make_device_unique() [1/2]

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

Definition at line 76 of file HeterogeneousSoA.h.

76  {
77  return cms::cuda::make_device_unique<T>(stream);
78  }

References cms::cuda::stream.

◆ make_device_unique() [2/2]

template<typename T >
static auto cms::cudacompat::GPUTraits::make_device_unique ( size_t  size,
cudaStream_t  stream 
)
inlinestatic

Definition at line 81 of file HeterogeneousSoA.h.

81  {
82  return cms::cuda::make_device_unique<T>(size, stream);
83  }

References findQualityFiles::size, and cms::cuda::stream.

◆ make_host_unique()

template<typename T >
static auto cms::cudacompat::GPUTraits::make_host_unique ( cudaStream_t  stream)
inlinestatic

Definition at line 71 of file HeterogeneousSoA.h.

71  {
72  return cms::cuda::make_host_unique<T>(stream);
73  }

References cms::cuda::stream.

◆ make_unique() [1/2]

template<typename T >
static auto cms::cudacompat::GPUTraits::make_unique ( cudaStream_t  stream)
inlinestatic

Definition at line 61 of file HeterogeneousSoA.h.

61  {
62  return cms::cuda::make_device_unique<T>(stream);
63  }

References cms::cuda::stream.

◆ make_unique() [2/2]

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

Definition at line 66 of file HeterogeneousSoA.h.

66  {
67  return cms::cuda::make_device_unique<T>(size, stream);
68  }

References findQualityFiles::size, and cms::cuda::stream.

cms::cuda::stream
uint32_t const T *__restrict__ const uint32_t *__restrict__ int32_t int Histo::index_type cudaStream_t stream
Definition: HistoContainer.h:51
findQualityFiles.size
size
Write out results.
Definition: findQualityFiles.py:443