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

The CPU new allocator memory allocation trait specialization. More...

#include <AllocCpuNew.hpp>

Static Public Member Functions

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

Detailed Description

template<typename T>
struct alpaka::trait::Malloc< T, AllocCpuNew >

The CPU new allocator memory allocation trait specialization.

Definition at line 21 of file AllocCpuNew.hpp.

Member Function Documentation

◆ malloc()

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

Definition at line 23 of file AllocCpuNew.hpp.


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