Skip to content

Commit 6b14fa2

Browse files
authored
use ldc directly
1 parent b381a86 commit 6b14fa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/runtime/dpct-rt/include/dpct/blas_gemm_utils.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1034,7 +1034,7 @@ inline sycl::event matmul(descriptor_ptr handle, matmul_desc_ptr compute_desc,
10341034
matmul_ops.append_eltwise(::dnnl::algorithm::eltwise_gelu_erf, 0.f, 0.f);
10351035
matmul_ops.append_binary(::dnnl::algorithm::binary_add, bias_md);
10361036
dpct::blas::matrix_mem_copy(matmul_desc_t::attribute::epilogue_aux_pointer, bias_mem,
1037-
matmul_desc_t::attribute::epilogue_aux_ld, new_c, m, n,
1037+
matmul_desc_t::attribute::epilogue_aux_ld, new_ldc, m, n,
10381038
sizeof(size_t) , q_ptr);
10391039
}
10401040
matmul_attr.set_post_ops(matmul_ops);

0 commit comments

Comments
 (0)