Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update OneMKL gemm_batch call inside dpnp.matmul and column_major version of gemm #1793

Merged
merged 13 commits into from
May 8, 2024
4 changes: 2 additions & 2 deletions dpnp/dpnp_utils/dpnp_utils_linearalgebra.py
Original file line number Diff line number Diff line change
Expand Up @@ -2063,6 +2063,7 @@ def dpnp_matmul(
dep_events_list,
)
host_tasks_list.append(ht_blas_ev)
dpctl.SyclEvent.wait_for(host_tasks_list)
vtavana marked this conversation as resolved.
Show resolved Hide resolved
if not row_major:
# TODO: investigate the possibility of defining result
# array with "F" order for this case
Expand All @@ -2077,8 +2078,7 @@ def dpnp_matmul(
result,
dep_events_list,
)

dpctl.SyclEvent.wait_for(host_tasks_list)
dpctl.SyclEvent.wait_for(host_tasks_list)

if appended_axes:
result = dpnp.squeeze(result, tuple(appended_axes))
Expand Down
Loading