Skip to content

Commit

Permalink
Fix hanging in tril
Browse files Browse the repository at this point in the history
  • Loading branch information
antonwolfy committed Jun 9, 2023
1 parent c286b52 commit a8acc96
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dpnp/backend/extensions/vm/div.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,11 @@ bool can_call_div(sycl::queue exec_q,
{
return false;
}
else if (dst_nd == 0)
{
// don't call OneMKL for 0d arrays
return false;
}

// shapes must be the same
const py::ssize_t* src1_shape = src1.get_shape_raw();
Expand Down

0 comments on commit a8acc96

Please sign in to comment.