Skip to content

Commit

Permalink
Update test_disasm.py
Browse files Browse the repository at this point in the history
  • Loading branch information
apgoucher authored Sep 20, 2024
1 parent 42f4adb commit b36cf6c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions python/test/unit/tools/test_disasm.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import triton
import pytest
import triton.language as tl
from triton.tools.disasm import get_sass


def test_disam_cubin():
Expand All @@ -17,6 +16,6 @@ def kernel(X, i: tl.constexpr):
x = torch.empty(1, dtype=torch.int32, device='cuda')
h = kernel[(1, )](x, i=12)
assert x[0] == 12
sass = get_sass(h.asm["cubin"])
sass = h.asm["sass"]
# check that the sass has a store instruction.
assert "STG.E" in sass

0 comments on commit b36cf6c

Please sign in to comment.