Skip to content

Commit f327d4b

Browse files
committed
format
Signed-off-by: Sidorov, Dmitry <[email protected]>
1 parent b892a02 commit f327d4b

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

lib/SPIRV/libSPIRV/SPIRVInstruction.h

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3335,14 +3335,16 @@ class SPIRVBfloat16ConversionINTELInstBase : public SPIRVUnaryInst<OC> {
33353335
if (ResCompTy->isTypeCooperativeMatrixKHR()) {
33363336
SPVErrLog.checkError(
33373337
Module->isAllowedToUseExtension(ExtensionID::SPV_INTEL_joint_matrix),
3338-
SPIRVEC_InvalidInstruction, InstName + "\nCan be used with "
3339-
"cooperative matrices only when SPV_INTEL_joint_matrix is enabled\n");
3338+
SPIRVEC_InvalidInstruction,
3339+
InstName + "\nCan be used with "
3340+
"cooperative matrices only when SPV_INTEL_joint_matrix is "
3341+
"enabled\n");
33403342
assert(InCompTy->isTypeCooperativeMatrixKHR() &&
33413343
"Input must also be a matrix");
3342-
ResCompTy = static_cast<SPIRVTypeCooperativeMatrixKHR *>(ResCompTy)->
3343-
getCompType();
3344-
InCompTy = static_cast<SPIRVTypeCooperativeMatrixKHR *>(InCompTy)->
3345-
getCompType();
3344+
ResCompTy = static_cast<SPIRVTypeCooperativeMatrixKHR *>(ResCompTy)
3345+
->getCompType();
3346+
InCompTy =
3347+
static_cast<SPIRVTypeCooperativeMatrixKHR *>(InCompTy)->getCompType();
33463348
}
33473349
if (OC == internal::OpConvertFToBF16INTEL) {
33483350
SPVErrLog.checkError(
@@ -3724,14 +3726,16 @@ class SPIRVTensorFloat32RoundingINTELInstBase : public SPIRVUnaryInst<OC> {
37243726
if (ResCompTy->isTypeCooperativeMatrixKHR()) {
37253727
SPVErrLog.checkError(
37263728
Module->isAllowedToUseExtension(ExtensionID::SPV_INTEL_joint_matrix),
3727-
SPIRVEC_InvalidInstruction, InstName + "\nCan be used with "
3728-
"cooperative matrices only when SPV_INTEL_joint_matrix is enabled\n");
3729+
SPIRVEC_InvalidInstruction,
3730+
InstName + "\nCan be used with "
3731+
"cooperative matrices only when SPV_INTEL_joint_matrix is "
3732+
"enabled\n");
37293733
assert(InCompTy->isTypeCooperativeMatrixKHR() &&
37303734
"Input must also be a matrix");
3731-
ResCompTy = static_cast<SPIRVTypeCooperativeMatrixKHR *>(ResCompTy)->
3732-
getCompType();
3733-
InCompTy = static_cast<SPIRVTypeCooperativeMatrixKHR *>(InCompTy)->
3734-
getCompType();
3735+
ResCompTy = static_cast<SPIRVTypeCooperativeMatrixKHR *>(ResCompTy)
3736+
->getCompType();
3737+
InCompTy =
3738+
static_cast<SPIRVTypeCooperativeMatrixKHR *>(InCompTy)->getCompType();
37353739
}
37363740

37373741
SPVErrLog.checkError(

0 commit comments

Comments
 (0)