alpaka
Abstraction Library for Parallel Kernel Acceleration
alpaka::trait::GetPtrNative< std::vector< TElem, TAllocator > > Struct Template Reference

The std::vector native pointer get trait specialization. More...

#include <ViewStdVector.hpp>

Static Public Member Functions

static ALPAKA_FN_HOST auto getPtrNative (std::vector< TElem, TAllocator > &view) -> TElem *
 
static ALPAKA_FN_HOST auto getPtrNative (std::vector< TElem, TAllocator > const &view) -> TElem const *
 

Detailed Description

template<typename TElem, typename TAllocator>
struct alpaka::trait::GetPtrNative< std::vector< TElem, TAllocator > >

The std::vector native pointer get trait specialization.

Definition at line 62 of file ViewStdVector.hpp.

Member Function Documentation

◆ getPtrNative() [1/2]

template<typename TElem , typename TAllocator >
static ALPAKA_FN_HOST auto alpaka::trait::GetPtrNative< std::vector< TElem, TAllocator > >::getPtrNative ( std::vector< TElem, TAllocator > &  view) -> TElem*
inlinestatic

Definition at line 69 of file ViewStdVector.hpp.

◆ getPtrNative() [2/2]

template<typename TElem , typename TAllocator >
static ALPAKA_FN_HOST auto alpaka::trait::GetPtrNative< std::vector< TElem, TAllocator > >::getPtrNative ( std::vector< TElem, TAllocator > const &  view) -> TElem const*
inlinestatic

Definition at line 64 of file ViewStdVector.hpp.


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