alpaka
Abstraction Library for Parallel Kernel Acceleration
alpaka::trait::BufAlloc< TElem, TDim, TIdx, DevCpu > Struct Template Reference

The BufCpu memory allocation trait specialization. More...

#include <BufCpu.hpp>

Static Public Member Functions

template<typename TExtent >
static ALPAKA_FN_HOST auto allocBuf (DevCpu const &dev, TExtent const &extent) -> BufCpu< TElem, TDim, TIdx >
 

Detailed Description

template<typename TElem, typename TDim, typename TIdx>
struct alpaka::trait::BufAlloc< TElem, TDim, TIdx, DevCpu >

The BufCpu memory allocation trait specialization.

Definition at line 193 of file BufCpu.hpp.

Member Function Documentation

◆ allocBuf()

template<typename TElem , typename TDim , typename TIdx >
template<typename TExtent >
static ALPAKA_FN_HOST auto alpaka::trait::BufAlloc< TElem, TDim, TIdx, DevCpu >::allocBuf ( DevCpu const &  dev,
TExtent const &  extent 
) -> BufCpu<TElem, TDim, TIdx>
inlinestatic

Definition at line 196 of file BufCpu.hpp.


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