We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b085a49 commit 8decee5Copy full SHA for 8decee5
tests/test_wrapper.py
@@ -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
9
import sys
10
import tempfile
11
from pathlib import Path
@@ -17,6 +9,12 @@
17
import triton.language as tl
18
19
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)
20
def test_cli_invocation():
21
"""
22
Simulate running:
0 commit comments