alpaka
Abstraction Library for Parallel Kernel Acceleration
alpaka::IsKernelTriviallyCopyable< T, typename > Struct Template Reference

Check if the kernel type is trivially copyable. More...

#include <Traits.hpp>

+ Inheritance diagram for alpaka::IsKernelTriviallyCopyable< T, typename >:

Detailed Description

template<typename T, typename = void>
struct alpaka::IsKernelTriviallyCopyable< T, typename >

Check if the kernel type is trivially copyable.

Attention
In case this trait is specialized for a user type the user should be sure that the result of calling the copy constructor is equal to use memcpy to duplicate the object. An existing destructor should be free of side effects.

The default implementation is true for trivially copyable types (or for extended lambda expressions for CUDA).

Template Parameters
Ttype to check

Definition at line 305 of file Traits.hpp.


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