enable_if_t< sizeof(T)==1||sizeof(T)==2||sizeof(T)==4||sizeof(T)==8 > > Struct Template Reference#
ck::non_native_vector_base< T, N, ck::enable_if_t< sizeof(T)==1||sizeof(T)==2||sizeof(T)==4||sizeof(T)==8 > > Struct Template Reference
#include <dtype_vector.hpp>
Classes | |
| union | alignas |
Public Types | |
| using | data_t = typename nnvb_data_t_selector<T>::type |
| using | data_v = data_t |
| using | type = non_native_vector_base<T, N> |
Public Member Functions | |
| __host__ __device__ constexpr | non_native_vector_base (data_t a) |
| __host__ __device__ constexpr | non_native_vector_base (T f) |
| __host__ __device__ constexpr | non_native_vector_base () |
| __host__ __device__ constexpr | non_native_vector_base (data_v v) |
| __host__ __device__ constexpr | operator data_v () const |
| __host__ __device__ constexpr | operator data_t () const |
| __host__ __device__ constexpr | operator T () const |
| template<typename X> | |
| __host__ __device__ constexpr const auto & | AsType () const |
| template<typename X> | |
| __host__ __device__ constexpr auto & | AsType () |
Public Attributes | |
| union ck::non_native_vector_base< T, N, ck::enable_if_t< sizeof(T)==1||sizeof(T)==2||sizeof(T)==4||sizeof(T)==8 > >::alignas | data_ |
Member Typedef Documentation
◆ data_t
template<typename T, index_t N>
| using ck::non_native_vector_base< T, N, ck::enable_if_t< sizeof(T)==1||sizeof(T)==2||sizeof(T)==4||sizeof(T)==8 > >::data_t = typename nnvb_data_t_selector<T>::type |
◆ data_v
template<typename T, index_t N>
| using ck::non_native_vector_base< T, N, ck::enable_if_t< sizeof(T)==1||sizeof(T)==2||sizeof(T)==4||sizeof(T)==8 > >::data_v = data_t |
◆ type
template<typename T, index_t N>
| using ck::non_native_vector_base< T, N, ck::enable_if_t< sizeof(T)==1||sizeof(T)==2||sizeof(T)==4||sizeof(T)==8 > >::type = non_native_vector_base<T, N> |
Constructor & Destructor Documentation
◆ non_native_vector_base() [1/4]
template<typename T, index_t N>
|
inlineconstexpr |
◆ non_native_vector_base() [2/4]
template<typename T, index_t N>
|
inlineconstexpr |
◆ non_native_vector_base() [3/4]
template<typename T, index_t N>
|
inlineconstexpr |
◆ non_native_vector_base() [4/4]
template<typename T, index_t N>
|
inlineconstexpr |
Member Function Documentation
◆ AsType() [1/2]
template<typename T, index_t N>
template<typename X>
|
inlineconstexpr |
◆ AsType() [2/2]
template<typename T, index_t N>
template<typename X>
|
inlineconstexpr |
◆ operator data_t()
template<typename T, index_t N>
|
inlineconstexpr |
◆ operator data_v()
template<typename T, index_t N>
|
inlineconstexpr |
◆ operator T()
template<typename T, index_t N>
|
inlineconstexpr |
Member Data Documentation
◆ data_
template<typename T, index_t N>
| union ck::non_native_vector_base< T, N, ck::enable_if_t< sizeof(T)==1||sizeof(T)==2||sizeof(T)==4||sizeof(T)==8 > >::alignas ck::non_native_vector_base< T, N, ck::enable_if_t< sizeof(T)==1||sizeof(T)==2||sizeof(T)==4||sizeof(T)==8 > >::data_ |
The documentation for this struct was generated from the following file: