Skip to content

Commit

Permalink
Fix signed/signed muladd
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 Apr 23, 2024
1 parent 90beee1 commit b356dae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sycl/include/sycl/ext/oneapi/matrix/matrix-unified.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ joint_matrix_mad(
} else if constexpr (std::is_signed<Ta>::value && std::is_signed<Tb>::value) {
constexpr uint32_t MatrixOperand =
static_cast<uint32_t>(
__spv::MatrixOperands::MatrixASignedComponentsKHR) &
__spv::MatrixOperands::MatrixASignedComponentsKHR) +
static_cast<uint32_t>(
__spv::MatrixOperands::MatrixBSignedComponentsKHR);
D.spvm = __spirv_CooperativeMatrixMulAddKHR(A.spvm, B.spvm, C.spvm,
Expand Down

0 comments on commit b356dae

Please sign in to comment.