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

The BufCpu stream-ordered memory allocation trait specialization. More...

#include <BufCpu.hpp>

Static Public Member Functions

template<typename TQueue , typename TExtent >
static ALPAKA_FN_HOST auto allocAsyncBuf (TQueue queue, TExtent const &extent) -> BufCpu< TElem, TDim, TIdx >
 

Detailed Description

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

The BufCpu stream-ordered memory allocation trait specialization.

Definition at line 224 of file BufCpu.hpp.

Member Function Documentation

◆ allocAsyncBuf()

template<typename TElem , typename TDim , typename TIdx >
template<typename TQueue , typename TExtent >
static ALPAKA_FN_HOST auto alpaka::trait::AsyncBufAlloc< TElem, TDim, TIdx, DevCpu >::allocAsyncBuf ( TQueue  queue,
TExtent const &  extent 
) -> BufCpu<TElem, TDim, TIdx>
inlinestatic

Definition at line 227 of file BufCpu.hpp.


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