@@ -3335,14 +3335,16 @@ class SPIRVBfloat16ConversionINTELInstBase : public SPIRVUnaryInst<OC> {
3335
3335
if (ResCompTy->isTypeCooperativeMatrixKHR ()) {
3336
3336
SPVErrLog.checkError (
3337
3337
Module->isAllowedToUseExtension (ExtensionID::SPV_INTEL_joint_matrix),
3338
- SPIRVEC_InvalidInstruction, InstName + " \n Can be used with "
3339
- " cooperative matrices only when SPV_INTEL_joint_matrix is enabled\n " );
3338
+ SPIRVEC_InvalidInstruction,
3339
+ InstName + " \n Can be used with "
3340
+ " cooperative matrices only when SPV_INTEL_joint_matrix is "
3341
+ " enabled\n " );
3340
3342
assert (InCompTy->isTypeCooperativeMatrixKHR () &&
3341
3343
" 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 ();
3346
3348
}
3347
3349
if (OC == internal::OpConvertFToBF16INTEL) {
3348
3350
SPVErrLog.checkError (
@@ -3724,14 +3726,16 @@ class SPIRVTensorFloat32RoundingINTELInstBase : public SPIRVUnaryInst<OC> {
3724
3726
if (ResCompTy->isTypeCooperativeMatrixKHR ()) {
3725
3727
SPVErrLog.checkError (
3726
3728
Module->isAllowedToUseExtension (ExtensionID::SPV_INTEL_joint_matrix),
3727
- SPIRVEC_InvalidInstruction, InstName + " \n Can be used with "
3728
- " cooperative matrices only when SPV_INTEL_joint_matrix is enabled\n " );
3729
+ SPIRVEC_InvalidInstruction,
3730
+ InstName + " \n Can be used with "
3731
+ " cooperative matrices only when SPV_INTEL_joint_matrix is "
3732
+ " enabled\n " );
3729
3733
assert (InCompTy->isTypeCooperativeMatrixKHR () &&
3730
3734
" 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 ();
3735
3739
}
3736
3740
3737
3741
SPVErrLog.checkError (
0 commit comments