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::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

Definition at line 58 of file HeterogeneousSoA.h.

Member Function Documentation

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

Definition at line 76 of file HeterogeneousSoA.h.

References cms::cuda::stream.

76  {
77  return cms::cuda::make_device_unique<T>(stream);
78  }
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
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.

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

81  {
82  return cms::cuda::make_device_unique<T>(size, stream);
83  }
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
tuple size
Write out results.
template<typename T >
static auto cms::cudacompat::GPUTraits::make_host_unique ( cudaStream_t  stream)
inlinestatic

Definition at line 71 of file HeterogeneousSoA.h.

References cms::cuda::stream.

71  {
72  return cms::cuda::make_host_unique<T>(stream);
73  }
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
template<typename T >
static auto cms::cudacompat::GPUTraits::make_unique ( cudaStream_t  stream)
inlinestatic

Definition at line 61 of file HeterogeneousSoA.h.

References cms::cuda::stream.

61  {
62  return cms::cuda::make_device_unique<T>(stream);
63  }
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
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.

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

66  {
67  return cms::cuda::make_device_unique<T>(size, stream);
68  }
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t stream
tuple size
Write out results.