Extended CUDA Library (ecuda)  2.0
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros
Public Member Functions | List of all members
ecuda::default_host_delete< T > Struct Template Reference

The default destruction policy used by smart pointers to page-locked host memory. More...

#include <common.hpp>

Public Member Functions

__HOST__ __DEVICE__ __CONSTEXPR__ default_host_delete () __NOEXCEPT__
 
template<typename U >
__HOST__ __DEVICE__ default_host_delete (const default_host_delete< U > &src) __NOEXCEPT__
 
__HOST__ __DEVICE__ void operator() (T *ptr) const
 

Detailed Description

template<typename T>
struct ecuda::default_host_delete< T >

The default destruction policy used by smart pointers to page-locked host memory.

The CUDA API function cudaFreeHost() is used to deallocate memory.

Definition at line 104 of file common.hpp.

Constructor & Destructor Documentation

Definition at line 105 of file common.hpp.

template<typename T>
template<typename U >
__HOST__ __DEVICE__ ecuda::default_host_delete< T >::default_host_delete ( const default_host_delete< U > &  src)
inline

Definition at line 106 of file common.hpp.

Member Function Documentation

template<typename T>
__HOST__ __DEVICE__ void ecuda::default_host_delete< T >::operator() ( T *  ptr) const
inline

Definition at line 107 of file common.hpp.


The documentation for this struct was generated from the following file: