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

The pinned/mapped memory allocation trait specialization. More...

#include <BufCpu.hpp>

Static Public Member Functions

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

Detailed Description

template<typename TElem, typename TDim, typename TIdx>
struct alpaka::trait::BufAllocMapped< PlatformCpu, TElem, TDim, TIdx >

The pinned/mapped memory allocation trait specialization.

Definition at line 275 of file BufCpu.hpp.

Member Function Documentation

◆ allocMappedBuf()

template<typename TElem , typename TDim , typename TIdx >
template<typename TExtent >
static ALPAKA_FN_HOST auto alpaka::trait::BufAllocMapped< PlatformCpu, TElem, TDim, TIdx >::allocMappedBuf ( DevCpu const &  host,
PlatformCpu const &  ,
TExtent const &  extent 
) -> BufCpu<TElem, TDim, TIdx>
inlinestatic

Definition at line 278 of file BufCpu.hpp.


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