Skip to content

Commit f367f92

Browse files
committed
Adding comment on why the conditional statement is necessary
Signed-off-by: nscipione <[email protected]>
1 parent f30d129 commit f367f92

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

onemath/sycl/blas/src/operations/blas3/gemm_local.hpp

+3
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,9 @@ class Gemm<input_t, output_t, DoubleBuffer, NbcA, NbcB, ClSize, TileType,
527527
element_t *reg, OutputPointerType out_ptr) {
528528
vector_out_t out_vec{};
529529

530+
// This if-statement is necessary starting from late 2024 nightly, because
531+
// an update made casting raw pointers of sycl::complex to multi_ptr
532+
// ambiguous.
530533
if constexpr (std::is_same_v<
531534
element_t,
532535
sycl::ext::oneapi::experimental::complex<float>> ||

0 commit comments

Comments
 (0)