Skip to content

Commit 1bbf8a2

Browse files
committed
Format patch
1 parent a908c46 commit 1bbf8a2

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

sycl/include/sycl/ext/oneapi/matrix/matrix-unified-utils.hpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -87,28 +87,28 @@ extern "C" constexpr __spv::MatrixLayout joint_matrix_layout_to_spv(
8787

8888
template <typename Ta, typename Tb, typename Tc, typename Td>
8989
constexpr uint32_t CalculateMatrixOperand() {
90-
unit32_t returnValue = 0x00;
90+
uint32_t returnValue = 0x00;
9191
if constexpr (std::is_same<Ta, sycl::ext::oneapi::bfloat16>::value &&
9292
std::is_same<Tb, sycl::ext::oneapi::bfloat16>::value)
9393
returnValue += static_cast<uint32_t>(
9494
__spv::MatrixOperands::MatrixAAndBBFloat16ComponentsINTEL);
9595
if constexpr (std::is_same<Tc, sycl::ext::oneapi::bfloat16>::value)
96-
returnValue += static_cast<uint32_t>(
96+
returnValue += static_cast<uint32_t>(
9797
__spv::MatrixOperands::MatrixCBFloat16ComponentsINTEL);
9898
if constexpr (std::is_same<Td, sycl::ext::oneapi::bfloat16>::value)
99-
returnValue += static_cast<uint32_t>(
99+
returnValue += static_cast<uint32_t>(
100100
__spv::MatrixOperands::MatrixResultBFloat16ComponentsINTEL);
101101
if constexpr (std::is_signed<Ta>::value && std::is_unsigned<Tb>::value)
102-
returnValue += static_cast<uint32_t>(
102+
returnValue += static_cast<uint32_t>(
103103
__spv::MatrixOperands::MatrixASignedComponentsKHR);
104104
if constexpr (std::is_unsigned<Ta>::value && std::is_signed<Tb>::value)
105-
returnValue += static_cast<uint32_t>(
105+
returnValue += static_cast<uint32_t>(
106106
__spv::MatrixOperands::MatrixBSignedComponentsKHR);
107107
if constexpr (std::is_signed<Ta>::value && std::is_signed<Tb>::value) {
108-
returnValue += static_cast<uint32_t>(
109-
__spv::MatrixOperands::MatrixASignedComponentsKHR) +
110-
static_cast<uint32_t>(
111-
__spv::MatrixOperands::MatrixBSignedComponentsKHR);
108+
returnValue += static_cast<uint32_t>(
109+
__spv::MatrixOperands::MatrixASignedComponentsKHR) +
110+
static_cast<uint32_t>(
111+
__spv::MatrixOperands::MatrixBSignedComponentsKHR);
112112
}
113113
return returnValue;
114114
}

0 commit comments

Comments
 (0)