Check if the kernel type is trivially copyable.
More...
#include <Traits.hpp>
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
-
Definition at line 305 of file Traits.hpp.
The documentation for this struct was generated from the following file:
- /home/runner/work/alpaka/alpaka/include/alpaka/kernel/Traits.hpp