Medial Code Documentation
Loading...
Searching...
No Matches
Data Structures | Public Types | Public Member Functions
xgboost::common::cuda::pinned_allocator< T > Class Template Reference

Data Structures

struct  rebind
 

Public Types

using value_type = T
 
using pointer = T *
 
using const_pointer = const T *
 
using reference = T &
 
using const_reference = const T &
 
using size_type = std::size_t
 
using difference_type = std::ptrdiff_t
 

Public Member Functions

XGBOOST_DEVICE pinned_allocator (pinned_allocator const &)
 
template<typename U >
XGBOOST_DEVICE pinned_allocator (pinned_allocator< U > const &)
 
XGBOOST_DEVICE pointer address (reference r)
 
XGBOOST_DEVICE const_pointer address (const_reference r)
 
pointer allocate (size_type cnt, const_pointer=nullptr)
 
void deallocate (pointer p, size_type)
 
size_type max_size () const
 
XGBOOST_DEVICE bool operator== (pinned_allocator const &x) const
 
XGBOOST_DEVICE bool operator!= (pinned_allocator const &x) const
 

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