From c3e573dc7ad13aef9b308c3cfeddf28fc4209428 Mon Sep 17 00:00:00 2001 From: Chris Millette Date: Fri, 23 Jan 2026 19:57:20 +0000 Subject: [PATCH] Fixes clang formatting and adjust storage class type check --- include/ck/utility/dtype_vector.hpp | 49 +++++++++---------- .../ck/utility/statically_indexed_array.hpp | 1 - 2 files changed, 24 insertions(+), 26 deletions(-) diff --git a/include/ck/utility/dtype_vector.hpp b/include/ck/utility/dtype_vector.hpp index 17d9ea6a64..63ae6c7046 100644 --- a/include/ck/utility/dtype_vector.hpp +++ b/include/ck/utility/dtype_vector.hpp @@ -324,8 +324,8 @@ template using vector_type_storage_t = typename vector_type_storage::type; /** - * @brief Trait to check whether one storage class is the same as another (e.g., same scalar, or - * same vector class). + * @brief Trait to check whether one vector storage class is the same as another (e.g., same scalar, + * or same vector class). * @tparam Lhs The source storage type * @tparam Rhs The comparator storage type * @@ -335,39 +335,35 @@ using vector_type_storage_t = typename vector_type_storage::type; * - C-style arrays of same base type (may have different ranks) */ template -struct is_same_storage_class : public false_type +struct is_same_vector_storage_class : public false_type { }; /** - * @brief Same type storage class - * @tparam T The storage type - */ -template -struct is_same_storage_class : public true_type -{ -}; - -/** - * @brief Template vector types of same base type with different ranks - * @tparam VecT The vector template class type (e.g., vector_type, NativeVectorT, - * non_native_vector_base) + * @brief Template native vector types of same base type with different ranks * @tparam T The base element type * @tparam LhsRank The rank of the source type * @tparam RhsRank The rank of the comparator type */ -template