diff --git a/include/ck/utility/data_type.hpp b/include/ck/utility/data_type.hpp index e09212cbfa..f7bdde172e 100644 --- a/include/ck/utility/data_type.hpp +++ b/include/ck/utility/data_type.hpp @@ -346,10 +346,6 @@ inline constexpr bool is_native_type() is_same::value || is_same::value; } -// non_native_vector_base -template -struct non_native_vector_base; - // vector_type template struct vector_type; @@ -420,13 +416,6 @@ struct scalar_type static constexpr index_t vector_size = N; }; -template -struct scalar_type> -{ - using type = T; - static constexpr index_t vector_size = N; -}; - template struct scalar_type> { @@ -1670,6 +1659,9 @@ struct vector_type()>> } }; +template +struct non_native_vector_base; + template struct nnvb_data_t_selector { @@ -1902,6 +1894,14 @@ struct scalar_type> static constexpr index_t vector_size = N; }; +template +struct scalar_type> +{ + using type = typename non_native_vector_base::data_t; + + static constexpr index_t vector_size = N; +}; + // non-native vector_type implementation template struct vector_type()>>