Project
Loading...
Searching...
No Matches
o2::gpu::aligned_unique_buffer_ptr< T > Struct Template Reference

#include <GPUCommonAlignedAlloc.h>

Inherits std::unique_ptr< char[], alignedDeleter< T > >.

Public Member Functions

 aligned_unique_buffer_ptr ()=default
 
 aligned_unique_buffer_ptr (size_t n)
 
 aligned_unique_buffer_ptr (T *ptr)
 
chargetraw ()
 
const chargetraw () const
 
T * get ()
 
const T * get () const
 
T * operator-> ()
 
const T * operator-> () const
 
T * alloc (std::size_t n)
 

Detailed Description

template<typename T>
struct o2::gpu::aligned_unique_buffer_ptr< T >

Definition at line 42 of file GPUCommonAlignedAlloc.h.

Constructor & Destructor Documentation

◆ aligned_unique_buffer_ptr() [1/3]

template<typename T >
o2::gpu::aligned_unique_buffer_ptr< T >::aligned_unique_buffer_ptr ( )
default

◆ aligned_unique_buffer_ptr() [2/3]

template<typename T >
o2::gpu::aligned_unique_buffer_ptr< T >::aligned_unique_buffer_ptr ( size_t  n)
inline

Definition at line 44 of file GPUCommonAlignedAlloc.h.

◆ aligned_unique_buffer_ptr() [3/3]

template<typename T >
o2::gpu::aligned_unique_buffer_ptr< T >::aligned_unique_buffer_ptr ( T *  ptr)
inline

Definition at line 45 of file GPUCommonAlignedAlloc.h.

Member Function Documentation

◆ alloc()

template<typename T >
T * o2::gpu::aligned_unique_buffer_ptr< T >::alloc ( std::size_t  n)
inline

Definition at line 52 of file GPUCommonAlignedAlloc.h.

◆ get() [1/2]

template<typename T >
T * o2::gpu::aligned_unique_buffer_ptr< T >::get ( )
inline

Definition at line 48 of file GPUCommonAlignedAlloc.h.

◆ get() [2/2]

template<typename T >
const T * o2::gpu::aligned_unique_buffer_ptr< T >::get ( ) const
inline

Definition at line 49 of file GPUCommonAlignedAlloc.h.

◆ getraw() [1/2]

template<typename T >
char * o2::gpu::aligned_unique_buffer_ptr< T >::getraw ( )
inline

Definition at line 46 of file GPUCommonAlignedAlloc.h.

◆ getraw() [2/2]

template<typename T >
const char * o2::gpu::aligned_unique_buffer_ptr< T >::getraw ( ) const
inline

Definition at line 47 of file GPUCommonAlignedAlloc.h.

◆ operator->() [1/2]

template<typename T >
T * o2::gpu::aligned_unique_buffer_ptr< T >::operator-> ( )
inline

Definition at line 50 of file GPUCommonAlignedAlloc.h.

◆ operator->() [2/2]

template<typename T >
const T * o2::gpu::aligned_unique_buffer_ptr< T >::operator-> ( ) const
inline

Definition at line 51 of file GPUCommonAlignedAlloc.h.


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