Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbaden committed Jan 9, 2025
1 parent 028d544 commit 72dfa2a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def matmul(a, b, d, c):
args={},
))
def benchmark(B, M, N, K, dtype, provider):
res_dtype = torch.float32 if dtype is torch.bfloat16 else torch.int32
res_dtype = torch.float32 if dtype.is_floating_point else torch.int32
if dtype.is_floating_point:
rand = lambda shape, dtype: torch.rand(shape, device='xpu', dtype=dtype)
else:
Expand Down

0 comments on commit 72dfa2a

Please sign in to comment.