Skip to content

Commit d2cd551

Browse files
authored
Merge branch 'master' into use_dpctl_bitwise_op
2 parents 6333985 + 2f235bf commit d2cd551

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ include(GNUInstallDirs)
4545
include(FetchContent)
4646
FetchContent_Declare(
4747
pybind11
48-
URL https://github.com/pybind/pybind11/archive/refs/tags/v2.10.2.tar.gz
49-
URL_HASH SHA256=93bd1e625e43e03028a3ea7389bba5d3f9f2596abc074b068e70f4ef9b1314ae
48+
URL https://github.com/pybind/pybind11/archive/refs/tags/v2.11.1.tar.gz
49+
URL_HASH SHA256=d475978da0cdc2d43b73f30910786759d593a9d8ee05b1b6846d1eb16c6d2e0c
5050
)
5151
FetchContent_MakeAvailable(pybind11)
5252

dpnp/backend/kernels/dpnp_krnl_common.cpp

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -851,17 +851,18 @@ DPCTLSyclEventRef dpnp_matmul_c(DPCTLSyclQueueRef q_ref,
851851
std::is_same<_DataType, float>::value)
852852
{
853853
// using std::max for these ldx variables is required by math library
854-
const std::int64_t lda =
855-
std::max<size_t>(1UL, size_k); // First dimensions of array_1
856-
const std::int64_t ldb =
854+
const std::int64_t ld_array_2 =
857855
std::max<size_t>(1UL, size_n); // First dimensions of array_2
858-
const std::int64_t ldc =
856+
const std::int64_t ld_array_1 =
857+
std::max<size_t>(1UL, size_k); // First dimensions of array_1
858+
const std::int64_t ld_result =
859859
std::max<size_t>(1UL, size_n); // Fast dimensions of result
860860

861861
event = mkl_blas::gemm(q, oneapi::mkl::transpose::nontrans,
862862
oneapi::mkl::transpose::nontrans, size_n, size_m,
863-
size_k, _DataType(1), array_2, ldb, array_1, lda,
864-
_DataType(0), result, ldc, dep_events);
863+
size_k, _DataType(1), array_2, ld_array_2,
864+
array_1, ld_array_1, _DataType(0), result,
865+
ld_result, dep_events);
865866
}
866867
else {
867868
// input1: M x K

0 commit comments

Comments
 (0)