We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6ef075 commit 6bc4ba8Copy full SHA for 6bc4ba8
dpctl/tensor/_elementwise_common.py
@@ -86,6 +86,7 @@ def __call__(self, x, order="K"):
86
r = dpt.empty_like(buf, dtype=res_dt, order=order)
87
88
ht, _ = self.unary_fn_(buf, r, sycl_queue=exec_q, depends=[copy_ev])
89
+ ht_copy_ev.wait()
90
ht.wait()
91
92
return r
0 commit comments