Skip to content

Commit 8decee5

Browse files
committed
[FIX] Import cleaning; Comment moving
1 parent b085a49 commit 8decee5

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

tests/test_wrapper.py

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
"""
2-
Test that triton_viz.wrapper works correctly:
3-
1. It should patch triton.jit / triton.language.jit /
4-
triton.runtime.interpreter.jit with wrapper._patched_jit
5-
2. The first use of @triton.jit must invoke triton_viz.trace(Sanitizer)
6-
"""
7-
8-
import importlib
91
import sys
102
import tempfile
113
from pathlib import Path
@@ -17,6 +9,12 @@
179
import triton.language as tl
1810

1911

12+
"""
13+
Test that triton_viz.wrapper works correctly:
14+
1. It should patch triton.jit / triton.language.jit /
15+
triton.runtime.interpreter.jit with wrapper._patched_jit
16+
2. The first use of @triton.jit must invoke triton_viz.trace(Sanitizer)
17+
"""
2018
def test_cli_invocation():
2119
"""
2220
Simulate running:

0 commit comments

Comments
 (0)