![]() |
alpaka
Abstraction Library for Parallel Kernel Acceleration
|
Check if a type used as kernel argument is trivially copyable. More...
#include <trait.hpp>
Check if a type used as kernel argument is trivially copyable.
It is implementation defined whether the closure type of a lambda is trivially copyable. Therefore, the default implementation is true for trivially copyable or empty (stateless) types.
| T | type to check |