Back to Cutlass

CUTLASS: cutlass::platform::is_trivially_copyable< T > Struct Template Reference

docs/structcutlass_1_1platform_1_1is__trivially__copyable.html

4.4.23.3 KB
Original Source

| | CUTLASS

CUDA Templates for Linear Algebra Subroutines and Solvers |

[List of all members](structcutlass_1_1platform_1_1is trivially copyable-members.html)

cutlass::platform::is_trivially_copyable< T > Struct Template Reference

#include <platform.h>

Inheritance diagram for cutlass::platform::is_trivially_copyable< T >:

![Inheritance graph](structcutlass_1_1platform_1_1is trivially copyable inherit graph.png) [legend]

Collaboration diagram for cutlass::platform::is_trivially_copyable< T >:

![Collaboration graph](structcutlass_1_1platform_1_1is trivially copyable coll graph.png) [legend]

|

Additional Inherited Members

| | Public Types inherited from cutlass::platform::integral_constant< bool,(is_fundamental< T >::value||is_pointer< T >::value)> | | typedef bool | value_type | | | | typedef integral_constant< bool, V > | type | | | | Public Member Functions inherited from cutlass::platform::integral_constant< bool,(is_fundamental< T >::value||is_pointer< T >::value)> | | CUTLASS_HOST_DEVICE | operator value_type () const | | | | CUTLASS_HOST_DEVICE const value_type | operator() () const | | | | Static Public Attributes inherited from cutlass::platform::integral_constant< bool,(is_fundamental< T >::value||is_pointer< T >::value)> | | static const bool | value | | |

Detailed Description

template<typename T> struct cutlass::platform::is_trivially_copyable< T >

std::is_trivially_copyable

This implementation only evaluates true if T is fundamental or pointer

Without help from partial template specializations provided by the user for a specific class or struct, this trait will never report that the specified class or struct is trivially-copyable ; this is always safe, if possibly sub-optimal.


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


Generated by 1.8.11