Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
  • Loading branch information
anmyachev committed Jan 27, 2025
1 parent 2eaf5b5 commit 1865322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/test/unit/language/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ def do_test(x, y, kernel_fn):
if is_xpu() and not xpu_has_fp64() and z_ref.dtype in ["float64"]:
# Downcast the output type. Assumes similar overflow behavior to reference eval on the device.
z_ref = z_ref.astype("float32")
z_tri = to_triton(np.empty(SIZE, dtype=z_ref.dtype), device=device)
z_tri = to_triton(np.empty(SIZE, dtype=str(z_ref.dtype)), device=device)

kernel_fn[(1, )](z_tri, x_tri, y_tri, SIZE=SIZE, num_warps=4, num_ctas=num_ctas)
err_msg = f"{expr}, {kernel_fn.__name__}"
Expand Down

0 comments on commit 1865322

Please sign in to comment.