Skip to content

Commit

Permalink
Use KHR value
Browse files Browse the repository at this point in the history
Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
  • Loading branch information
MrSidims committed Nov 23, 2023
1 parent fb26884 commit ef73fe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/SPIRV/libSPIRV/SPIRVType.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ void SPIRVTypeCooperativeMatrixKHR::validate() const {
auto InstName = OpCodeNameMap::map(OC);
uint64_t UseValue = UseConst->getZExtIntValue();
SPVErrLog.checkError(
(UseValue <= internal::InternalJointMatrixUse::Accumulator),
(UseValue <= CooperativeMatrixUseMatrixAccumulatorKHR),
SPIRVEC_InvalidInstruction,
InstName + "\nIncorrect Use parameter, should be MatrixA, MatrixB or "
"Accumulator\n");
Expand Down

0 comments on commit ef73fe3

Please sign in to comment.