alpaka
Abstraction Library for Parallel Kernel Acceleration
Traits.hpp File Reference

Go to the source code of this file.

Classes

struct  alpaka::trait::NativeHandle< TImpl, TSfinae >
 The native handle trait. More...
 

Namespaces

 alpaka
 The alpaka accelerator library.
 
 alpaka::trait
 The accelerator traits.
 

Typedefs

template<typename TImpl >
using alpaka::NativeHandle = decltype(getNativeHandle(std::declval< TImpl >()))
 Alias to the type of the native handle. More...
 

Functions

template<typename TImpl >
ALPAKA_FN_HOST auto alpaka::getNativeHandle (TImpl const &impl)
 Get the native handle of the alpaka object. It will return the alpaka object handle if there is any, otherwise it generates a compile time error. More...