Project
Loading...
Searching...
No Matches
o2::gpu::alignedAllocator< T, MIN_ALIGN > Struct Template Reference

#include <GPUCommonAlignedAlloc.h>

Public Types

using value_type = T
 

Static Public Member Functions

static T * allocate (std::size_t n)
 
static void deallocate (T *ptr, std::size_t)
 

Detailed Description

template<typename T, std::size_t MIN_ALIGN = 0>
struct o2::gpu::alignedAllocator< T, MIN_ALIGN >

Definition at line 29 of file GPUCommonAlignedAlloc.h.

Member Typedef Documentation

◆ value_type

template<typename T , std::size_t MIN_ALIGN = 0>
using o2::gpu::alignedAllocator< T, MIN_ALIGN >::value_type = T

Definition at line 30 of file GPUCommonAlignedAlloc.h.

Member Function Documentation

◆ allocate()

template<typename T , std::size_t MIN_ALIGN = 0>
static T * o2::gpu::alignedAllocator< T, MIN_ALIGN >::allocate ( std::size_t  n)
inlinestatic

Definition at line 31 of file GPUCommonAlignedAlloc.h.

◆ deallocate()

template<typename T , std::size_t MIN_ALIGN = 0>
static void o2::gpu::alignedAllocator< T, MIN_ALIGN >::deallocate ( T *  ptr,
std::size_t   
)
inlinestatic

Definition at line 35 of file GPUCommonAlignedAlloc.h.


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