mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-04-19 22:39:03 +00:00
upgrade from clang-format-12 to clang-format-18 (#2568)
* upgrade to clang-format-18 * update to clang-format-18 in pre-commit-config
This commit is contained in:
@@ -407,17 +407,17 @@ struct Tensor
|
||||
ElementSpaceSize,
|
||||
true /*InvalidElementUseNumericalZeroValue*/>;
|
||||
using StaticBufferType = std::conditional_t<
|
||||
is_scalar_type<ElementType>::value,
|
||||
StaticBuffer<BufferAddressSpace,
|
||||
ElementType,
|
||||
size(Shape{}),
|
||||
true /*InvalidElementUseNumericalZeroValue*/>,
|
||||
StaticBufferTupleOfVector<BufferAddressSpace,
|
||||
TensorElementType,
|
||||
size(Shape{}) /
|
||||
scalar_type<std::remove_const_t<ElementType>>::vector_size,
|
||||
scalar_type<std::remove_const_t<ElementType>>::vector_size,
|
||||
true /*InvalidElementUseNumericalZeroValue*/>>;
|
||||
is_scalar_type<ElementType>::value,
|
||||
StaticBuffer<BufferAddressSpace,
|
||||
ElementType,
|
||||
size(Shape{}),
|
||||
true /*InvalidElementUseNumericalZeroValue*/>,
|
||||
StaticBufferTupleOfVector<BufferAddressSpace,
|
||||
TensorElementType,
|
||||
size(Shape{}) /
|
||||
scalar_type<std::remove_const_t<ElementType>>::vector_size,
|
||||
scalar_type<std::remove_const_t<ElementType>>::vector_size,
|
||||
true /*InvalidElementUseNumericalZeroValue*/>>;
|
||||
// If register use static buffer, else use dynamic buffer
|
||||
using Buffer = std::conditional_t<IsDynamicBuffer, DynamicBufferType, StaticBufferType>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user