CMS 3D CMS Logo

Classes | Namespaces | Typedefs | Enumerations | Functions
host_unique_ptr.h File Reference
#include <cstdlib>
#include <memory>
#include <functional>
#include "HeterogeneousCore/CUDAUtilities/interface/allocate_host.h"

Go to the source code of this file.

Classes

struct  cms::cuda::host::impl::make_host_unique_selector< T[N]>::bounded_array
 
class  cms::cuda::host::impl::HostDeleter
 
struct  cms::cuda::host::impl::make_host_unique_selector< T >
 
struct  cms::cuda::host::impl::make_host_unique_selector< T[]>
 
struct  cms::cuda::host::impl::make_host_unique_selector< T[N]>
 

Namespaces

 cms
 Namespace of DDCMS conversion namespace.
 
 cms::cuda
 
 cms::cuda::host
 
 cms::cuda::host::impl
 

Typedefs

template<typename T >
using cms::cuda::host::unique_ptr = std::unique_ptr< T, impl::HostDeleter >
 

Enumerations

enum  cms::cuda::host::impl::MemoryType : bool { cms::cuda::host::impl::MemoryType::kDefault = false, cms::cuda::host::impl::MemoryType::kPinned = true }
 

Functions

template<typename T >
host::impl::make_host_unique_selector< T >::non_array cms::cuda::make_host_unique ()
 
template<typename T >
host::impl::make_host_unique_selector< T >::unbounded_array cms::cuda::make_host_unique (size_t n)
 
template<typename T >
host::impl::make_host_unique_selector< T >::non_array cms::cuda::make_host_unique (cudaStream_t stream)
 
template<typename T >
host::impl::make_host_unique_selector< T >::unbounded_array cms::cuda::make_host_unique (size_t n, cudaStream_t stream)
 
template<typename T , typename... Args>
host::impl::make_host_unique_selector< T >::bounded_array cms::cuda::make_host_unique (Args &&...)=delete
 
template<typename T >
host::impl::make_host_unique_selector< T >::non_array cms::cuda::make_host_unique_uninitialized (cudaStream_t stream)
 
template<typename T >
host::impl::make_host_unique_selector< T >::unbounded_array cms::cuda::make_host_unique_uninitialized (size_t n, cudaStream_t stream)
 
template<typename T , typename... Args>
host::impl::make_host_unique_selector< T >::bounded_array cms::cuda::make_host_unique_uninitialized (Args &&...)=delete