15 template<
typename TImpl,
typename TSfinae =
void>
20 static_assert(!
sizeof(TImpl),
"This type does not have a native handle!");
28 template<
typename TImpl>
35 template<
typename TImpl>
The alpaka accelerator library.
decltype(getNativeHandle(std::declval< TImpl >())) NativeHandle
Alias to the type of the native handle.
ALPAKA_FN_HOST auto getNativeHandle(TImpl const &impl)
Get the native handle of the alpaka object. It will return the alpaka object handle if there is any,...
static auto getNativeHandle(TImpl const &)