[TUTORIALS] Fixed typo

This commit is contained in:
Philippe Tillet
2022-06-05 12:32:07 -07:00
parent 8876e53206
commit 801c8a4c92

View File

@@ -297,7 +297,7 @@ def matmul(a, b, activation=None):
torch.manual_seed(0)
a = torch.randn((512, 512), device='cuda', dtype=torch.float16)
b = torch.randn((512, 512), device='cuda', dtype=torch.float16)
triton_output = matmul(a, b, activation=leaky_relu)
triton_output = matmul(a, b)
torch_output = torch.matmul(a, b)
print(f"triton_output={triton_output}")
print(f"torch_output={torch_output}")