alpaka
Abstraction Library for Parallel Kernel Acceleration
alpaka::trait::Malloc< T, AllocCpuAligned< TAlignment > > Struct Template Reference

The CPU boost aligned allocator memory allocation trait specialization. More...

#include <AllocCpuAligned.hpp>

Static Public Member Functions

static ALPAKA_FN_HOST auto malloc (AllocCpuAligned< TAlignment > const &, std::size_t const &sizeElems) -> T *
 

Detailed Description

template<typename T, typename TAlignment>
struct alpaka::trait::Malloc< T, AllocCpuAligned< TAlignment > >

The CPU boost aligned allocator memory allocation trait specialization.

Definition at line 29 of file AllocCpuAligned.hpp.

Member Function Documentation

◆ malloc()

template<typename T , typename TAlignment >
static ALPAKA_FN_HOST auto alpaka::trait::Malloc< T, AllocCpuAligned< TAlignment > >::malloc ( AllocCpuAligned< TAlignment > const &  ,
std::size_t const &  sizeElems 
) -> T*
inlinestatic

Definition at line 31 of file AllocCpuAligned.hpp.


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