Skip to content

Commit

Permalink
more newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
Mogball committed Nov 26, 2024
1 parent 6a2f788 commit 8f1358e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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 @@ -6129,4 +6129,4 @@ def triton_gather(src: torch.Tensor, axis: int, indices: torch.Tensor):
indices = torch.randint(0, src.shape[axis], indices_shape, device='cuda')
ref = torch.gather(src, axis, indices)
result = triton_gather(src, axis, indices)
assert torch.all(ref == result)
assert torch.all(ref == result)
2 changes: 1 addition & 1 deletion test/Conversion/triton_to_tritongpu.mlir
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,4 @@ tt.func @gather_op() {
// CHECK: tt.gather %{{.*}}[%{{.*}}] {axis = 0 : i32} : (tensor<128x4xf32, #blocked>, tensor<256x4xi32, #blocked>) -> tensor<256x4xf32, #blocked>
%0 = tt.gather %cst[%cst_0] {axis = 0 : i32} : (tensor<128x4xf32>, tensor<256x4xi32>) -> tensor<256x4xf32>
tt.return
}
}

0 comments on commit 8f1358e

Please sign in to comment.