AI Slop Code RIsk Monitor

triton-lang/triton

Development repository for the Triton language and compiler

11.0 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for triton-lang/triton, a MLIR project with 20,340 GitHub stars. SynthScan examined 431,092 lines of code across 1314 source files, recording 4254 pattern matches distributed across 25 syntactic categories. The legacy adjusted pattern signal is 11.0 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

11.0
Adjusted Signal
11.0
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
20.3K
Stars
MLIR
Language
431.1K
Lines of Code
1.3K
Files
4.3K
Pattern Hits
2026-10-12
Scan Date
0.03
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 27.8/100 · MEDIUM

Can maintainers explain intent, assumptions, and trade-offs? 3117 finding(s).

Hallucinated Dependency & Supply Chain Risk 8.3/100 · LOW

Are imports declared and package/API names verified? 628 finding(s).

Agent Over-Engineering Ratio 26.3/100 · MEDIUM

Are wrappers, guards, and repeated structures necessary? 2345 finding(s).

PR Review Velocity Impact 46.7/100 · MEDIUM

Which changes need focused human review? 4254 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 27HIGH 18MEDIUM 420LOW 3789

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 4254 distinct pattern matches across 25 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers1798 hits · 1414 pts
SeverityFileLineSnippetContext
LOWsetup.py577def get_triton_version_suffix():CODE
LOWpython/conftest.py60def fresh_knobs_including_libraries():CODE
LOWpython/build_helpers.py76def find_therock_rocm_include_dir() -> Optional[str]:CODE
LOWpython/build_helpers.py161def _download_file_with_urllib(url: str, path: str, label: str):CODE
LOWpython/build_helpers.py454def get_amd_codegen_package_info(helper_args: BuildHelperArgs):CODE
LOWpython/build_helpers.py490def _get_thirdparty_package_cmake_vars(package: Package, helper_args: BuildHelperArgs):CODE
LOWpython/build_helpers.py524def get_thirdparty_cmake_vars(packages: list[str], helper_args: BuildHelperArgs):CODE
LOWpython/build_helpers.py544def write_thirdparty_cmake_vars(output: str, packages: list[str], helper_args: BuildHelperArgs):CODE
LOWpython/build_helpers.py641def download_and_copy_amd_codegen(helper_args: BuildHelperArgs):CODE
LOWpython/build_helpers.py729def get_nvidia_toolchain_packages():CODE
LOWpython/build_helpers.py803def download_and_copy_dependencies(helper_args: BuildHelperArgs):CODE
LOWpython/test/unit/test_utils.py12def test_cdiv_symbolic_numerator(y):CODE
LOWpython/test/unit/test_utils.py54def test_validate_block_shape_rejects_zero():CODE
LOWpython/test/unit/test_utils.py63def test_validate_block_shape_accepts_powers_of_two():CODE
LOWpython/test/unit/test_utils.py80def test_get_dram_gbps_memory_data_rate(monkeypatch, backend, arch, properties, expected):CODE
LOWpython/test/unit/test_debug.py26def _run_device_assert_barrier(device):CODE
LOWpython/test/unit/test_debug.py40def _run_expect_zero_device_assert(device):CODE
LOWpython/test/unit/test_debug.py56def test_expect_zero_device_assert(device):CODE
LOWpython/test/unit/test_debug.py78def test_device_assert_barrier(device):CODE
LOWpython/test/unit/test_debug.py157def test_sanitize_int_add_overflow(x, y, x_dtype, y_dtype, debug, should_overflow, device):CODE
LOWpython/test/unit/test_debug.py173def test_sanitize_int_mul_overflow(x, y, x_dtype, y_dtype, debug, should_overflow, device):CODE
LOWpython/test/unit/test_debug.py188def test_sanitize_int_sub_overflow(x, y, x_dtype, y_dtype, debug, should_overflow, device):CODE
LOWpython/test/unit/test_perf_warning.py11def enable_diagnostics_context(value):CODE
LOWpython/test/unit/test_perf_warning.py95def test_remark_vectorization(capfd, fresh_triton_cache):CODE
LOWpython/test/unit/test_perf_warning.py159def test_remark_swp_op_before_operands(capfd, fresh_triton_cache):CODE
LOWpython/test/unit/test_stages_inspection.py11def test_instrumentation_mode():CODE
LOWpython/test/unit/test_stages_inspection.py18def test_dynamic_instrumentation_and_dialect_loading():CODE
LOWpython/test/unit/test_knobs.py72def _register_pressure_scheduler_kernel():CODE
LOWpython/test/unit/test_knobs.py101def test_nvidia_register_pressure_scheduler_hook(link_hip_first, fresh_triton_cache):CODE
LOWpython/test/unit/test_knobs.py115def test_nvidia_register_pressure_scheduler_concurrent():CODE
LOWpython/test/unit/test_knobs.py132def _nvidia_short_pointer_kernel():CODE
LOWpython/test/unit/test_knobs.py153def test_nvidia_short_pointer_option(link_hip_first, fresh_triton_cache):STRING
LOWpython/test/unit/test_knobs.py175def _compile_empty_hip_kernel(arch, warp_size):STRING
LOWpython/test/unit/test_knobs.py205def test_amd_llvm_options_concurrent():STRING
LOWpython/test/unit/test_knobs.py280def test_amd_codegen_path_override(fresh_knobs, monkeypatch):STRING
LOWpython/test/unit/test_knobs.py292def test_amd_codegen_revision_invalidates_backend_hash(fresh_knobs, monkeypatch):STRING
LOWpython/test/unit/test_knobs.py307def test_amd_codegen_inlines_functions_from_bitcode(fresh_knobs, monkeypatch):STRING
LOWpython/test/unit/test_knobs.py347def test_amd_codegen_options_restored(option, capfd, fresh_knobs):STRING
LOWpython/test/unit/test_knobs.py362def test_amd_codegen_reports_invalid_llvm_ir(fresh_knobs):STRING
LOWpython/test/unit/test_knobs.py372def test_amd_codegen_assembles_object_with_private_llvm(fresh_knobs):STRING
LOWpython/test/unit/test_knobs.py391def test_amd_codegen_respects_mir_dump_knob(enabled, fresh_knobs, monkeypatch, tmp_path):STRING
LOWpython/test/unit/test_knobs.py414def test_amd_codegen_preserves_mir_replacement(fresh_knobs, monkeypatch):STRING
LOWpython/test/unit/tools/test_aot.py326def compile_aot_kernel_no_specialization(dir, kernel_path, dtype, BM, BN, BK, target=None):STRING
LOWpython/test/unit/tools/test_aot.py371def generate_matmul_test_data(dir, M, N, K):STRING
LOWpython/test/unit/tools/test_aot.py396def test_linker_rejects_invalid_algo_id():STRING
LOWpython/test/unit/tools/test_aot.py462def test_compile_link_matmul_no_specialization():STRING
LOWpython/test/unit/tools/test_aot.py529def test_launcher_has_no_available_kernel():STRING
LOWpython/test/unit/tools/test_aot.py567def test_compile_link_autotune_matmul():STRING
LOWpython/test/unit/tools/test_aot.py652def test_aot_target_parsing_with_explicit_target():STRING
LOWpython/test/unit/tools/test_linear_layout.py36def test_operator_mul_identity():CODE
LOWpython/test/unit/tools/test_linear_layout.py42def test_operator_mul_disjoint_dims():CODE
LOW⚡python/test/unit/tools/test_linear_layout.py75def test_get_matrix_view_identity():CODE
LOW⚡python/test/unit/tools/test_linear_layout.py83def test_get_matrix_view_strided():CODE
LOW⚡python/test/unit/tools/test_linear_layout.py92def test_get_matrix_view_from_bases():CODE
LOWpython/test/unit/tools/test_slice_kernel.py45def test_slice_kernel_basic_module_slicing(tmp_path):CODE
LOW⚡python/test/unit/tools/test_slice_kernel.py759def test_slice_kernel_treats_assign_targets_as_locals(tmp_path):STRING
LOWpython/test/unit/tools/test_slice_kernel.py121def test_slice_kernel_does_not_treat_site_packages_as_stdlib(tmp_path, monkeypatch):STRING
LOWpython/test/unit/tools/test_slice_kernel.py167def test_slice_kernel_does_not_treat_base_python_site_packages_as_stdlib_in_venv(tmp_path, monkeypatch):STRING
LOWpython/test/unit/tools/test_slice_kernel.py215def test_slice_kernel_preserves_gluon_builtin_sugar(tmp_path):STRING
LOWpython/test/unit/tools/test_slice_kernel.py239def test_slice_kernel_supports_injected_decorator_matchers(tmp_path):STRING
1738 more matches not shown…
Decorative Section Separators378 hits · 994 pts
SeverityFileLineSnippetContext
MEDIUMpython/test/unit/cuda/test_libdevice_cuda.py13# -----------------------COMMENT
MEDIUMpython/test/unit/cuda/test_libdevice_cuda.py15# -----------------------COMMENT
MEDIUMpython/test/unit/language/test_standard.py12# ---------------COMMENT
MEDIUMpython/test/unit/language/test_standard.py14# ---------------COMMENT
MEDIUMpython/test/unit/language/test_standard.py84# ---------------COMMENT
MEDIUMpython/test/unit/language/test_standard.py86# ---------------COMMENT
MEDIUMpython/test/unit/language/test_standard.py124# ---------------COMMENT
MEDIUMpython/test/unit/language/test_standard.py126# ---------------COMMENT
MEDIUMpython/test/unit/language/test_standard.py224# ---------------COMMENT
MEDIUMpython/test/unit/language/test_standard.py226# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py374# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py376# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py590# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py656# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py658# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py684# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py686# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py716# ----------COMMENT
MEDIUMpython/test/unit/language/test_core.py718# ----------COMMENT
MEDIUMpython/test/unit/language/test_core.py765# ------------------COMMENT
MEDIUMpython/test/unit/language/test_core.py767# ------------------COMMENT
MEDIUMpython/test/unit/language/test_core.py809# ----------------COMMENT
MEDIUMpython/test/unit/language/test_core.py811# ----------------COMMENT
MEDIUMpython/test/unit/language/test_core.py959# ----------------------------COMMENT
MEDIUMpython/test/unit/language/test_core.py961# ----------------------------COMMENT
MEDIUMpython/test/unit/language/test_core.py975# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py977# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py1069# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py1071# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py1103# ----------------COMMENT
MEDIUMpython/test/unit/language/test_core.py1105# ----------------COMMENT
MEDIUMpython/test/unit/language/test_core.py1426# -------------COMMENT
MEDIUMpython/test/unit/language/test_core.py1428# -------------COMMENT
MEDIUMpython/test/unit/language/test_core.py1515# ----------------COMMENT
MEDIUMpython/test/unit/language/test_core.py1517# ----------------COMMENT
MEDIUMpython/test/unit/language/test_core.py1562# ----------------COMMENT
MEDIUMpython/test/unit/language/test_core.py1564# ----------------COMMENT
MEDIUMpython/test/unit/language/test_core.py1596# ----------------COMMENT
MEDIUMpython/test/unit/language/test_core.py1598# ----------------COMMENT
MEDIUMpython/test/unit/language/test_core.py1623# ----------------COMMENT
MEDIUMpython/test/unit/language/test_core.py1625# ----------------COMMENT
MEDIUMpython/test/unit/language/test_core.py1806# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py1808# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py2549# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py2551# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py3156# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py3158# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py3866# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py3868# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py3935# ------------------------COMMENT
MEDIUMpython/test/unit/language/test_core.py3937# ------------------------COMMENT
MEDIUMpython/test/unit/language/test_core.py4171# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py4173# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py4288# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py4290# ---------------COMMENT
MEDIUM⚡python/test/unit/language/test_core.py5803# ---------------STRING
MEDIUM⚡python/test/unit/language/test_core.py5805# ---------------STRING
MEDIUM⚡python/test/unit/language/test_core.py6020# --------------------STRING
MEDIUM⚡python/test/unit/language/test_core.py6022# --------------------STRING
MEDIUM⚡python/test/unit/language/test_core.py6260# -------------STRING
318 more matches not shown…
Over-Commented Block938 hits · 900 pts
SeverityFileLineSnippetContext
LOWunittest/Tools/LLVMOptionsTest.cpp1#include "triton/Tools/LLVMOptions.h"COMMENT
LOWunittest/Analysis/UtilityTest.cpp1#include "triton/Dialect/Triton/IR/Utility.h"COMMENT
LOWunittest/Dialect/TritonGPU/SwizzleTest.cpp1#include "triton/Dialect/Triton/IR/Dialect.h"COMMENT
LOWunittest/Dialect/TritonGPU/SwizzleTest.cpp241 int phaseIdx;COMMENT
LOWunittest/Dialect/TritonGPU/SwizzleTest.cpp261 } else {COMMENT
LOW…test/Dialect/TritonGPU/LinearLayoutConversionsTest.cpp1#include "triton/Dialect/TritonGPU/IR/LinearLayoutConversions.h"COMMENT
LOW…test/Dialect/TritonGPU/LinearLayoutConversionsTest.cpp3581//COMMENT
LOWtest/lib/Analysis/TestMembar.cpp1#include "../third_party/nvidia/include/TritonNVIDIAGPUToLLVM/Utility.h"COMMENT
LOWbin/triton-llvm-opt.cpp1/// Trimmed down clone of llvm opt to be able to test triton custom llvm irCOMMENT
LOWbin/triton-tensor-layout.cpp1#include "RegisterTritonDialects.h"COMMENT
LOWbin/triton-tensor-layout.cpp21//COMMENT
LOWbin/RegisterTritonDialects.h1#pragma onceCOMMENT
LOWbin/RegisterTritonDialects.h21// Below headers will allow registration to ROCm passesCOMMENT
LOWpython/test/unit/language/test_line_info.py301 # CHECK: %offsets_1 = tt.splat %offset_0 : i32 -> tensor<16xi32> loc(#loc15)COMMENT
LOWpython/test/unit/language/test_line_info.py521 # CHECK: #loc = loc("{{.*}}":@DEF_LINE@:5)COMMENT
LOWpython/test/unit/language/test_line_info.py541 # CHECK: } loc(#loc)COMMENT
LOWpython/test/gluon/test_frontend.py881_TENSOR_TUPLE_288 = TensorTuple((288, ), _TENSOR_TUPLE_LAYOUT, minimum_padding_size=64)COMMENT
LOWpython/test/gluon/test_frontend.py901COMMENT
LOWpython/test/gluon/test_frontend.py941 # CHECK: [[VALUE:%.*]] = tt.make_range {end = 128 : i32, start = 0 : i32} : tensor<128xi32, [[LAYOUT]]>COMMENT
LOWpython/test/gluon/test_frontend.py1081 # CHECK-NEXT: [[A:%.*]] = tt.make_range {end = 1 : i32, start = 0 : i32}COMMENT
LOWpython/test/gluon/test_frontend.py1141@filecheck_testCOMMENT
LOWpython/test/gluon/test_core.py1701 r"mbarrier\.arrive\.shared::cluster(?:\.multicast::cluster::32b)?\.b64\s+_,\s*\[[^\]]+\](?:,\s*(\d+))?(?:,\s*%r\COMMENT
LOWpython/test/gluon/test_core.py3341 # Check that we allocated only 128 columns of TMEM.COMMENT
LOWpython/test/backend/test_mir_stage.py61# so we key instructions by (opcode, ordinal-within-function) instead -- aCOMMENT
LOWpython/test/backend/test_mir_stage.py321COMMENT
LOWpython/triton/knobs.py561 roctx_lib_path: env_opt_str = env_opt_str("TRITON_ROCTX_LIB_PATH")COMMENT
LOWpython/triton/experimental/gsan/src/GSan.h1#pragma onceCOMMENT
LOW…iton/experimental/gluon/language/amd/cdna5/_layouts.py181 assert block_m % slice_m == 0 and block_n % slice_n == 0, \COMMENT
LOW…iton/experimental/gluon/language/amd/cdna5/_layouts.py201 # M=2: w0 w1 <- first tile computed by w1 (reg=0)COMMENT
LOW…iton/experimental/gluon/language/amd/cdna5/_layouts.py221 # efficient.COMMENT
LOWpython/triton/tools/disasm.py1# MIT LicenseCOMMENT
LOW…triton/tools/triton_to_gluon_translator/ordered_set.py1"""COMMENT
LOWpython/examples/gluon/06-overlapping-accumulator.py61# With 512 TMEM columns, double buffered BLOCK_N=256 accumulators fully consume TMEMCOMMENT
LOWpython/examples/gluon/06-overlapping-accumulator.py81# 3) New ping-pong style barrier guards the overlapped columns.COMMENT
LOWpython/examples/gluon/06-overlapping-accumulator.py101#COMMENT
LOWpython/examples/gluon/02-conv-dgrad.py61#COMMENT
LOWpython/examples/gluon/02-conv-fprop.py61COMMENT
LOWpython/examples/gluon/02-conv-fprop.py481 output = torch.empty((N, out_h, out_w, Co), device=input_tensor.device, dtype=TORCH_GEMM_DTYPE)COMMENT
LOWpython/examples/gluon/02-conv-wgrad.py61# grad_W[Co, R*S*Ci] = grad_out[M, Co]^T @ im2col(input)[M, R*S*Ci]COMMENT
LOWpython/triton_kernels/tests/test_reduce.py221COMMENT
LOWpython/triton_kernels/triton_kernels/matmul.py61COMMENT
LOWpython/triton_kernels/triton_kernels/matmul.py221 assert out_ndim >= storage.data.ndimCOMMENT
LOW…_kernels/tensor_details/layout_details/hopper_value.py201 sizes += [a, b, c, s, d]COMMENT
LOW…riton_kernels/tensor_details/layout_details/strided.py1from dataclasses import dataclassCOMMENT
LOW…n_kernels/tensor_details/layout_details/torch_utils.py1import torchCOMMENT
LOW…n_kernels/tensor_details/layout_details/torch_utils.py21# if not is_fp4:COMMENT
LOWpython/tutorials/02-fused-softmax.py61COMMENT
LOWpython/tutorials/02-fused-softmax.py181COMMENT
LOWpython/tutorials/08-grouped-gemm.py1"""COMMENT
LOWpython/tutorials/04-low-memory-dropout.py21# The *dropout* operator was first introduced in [SRIVASTAVA2014]_ as a way to improve the performanceCOMMENT
LOWpython/tutorials/04-low-memory-dropout.py81output = dropout(x, x_keep=x_keep, p=p)COMMENT
LOWpython/tutorials/04-low-memory-dropout.py161COMMENT
LOWpython/tutorials/03-matrix-multiplication.py21# -----------COMMENT
LOWpython/tutorials/03-matrix-multiplication.py41# for k in range(0, K, BLOCK_SIZE_K):COMMENT
LOWpython/tutorials/03-matrix-multiplication.py61# For a row-major 2D tensor :code:`X`, the memory location of :code:`X[i, j]` is givenCOMMENT
LOWpython/tutorials/03-matrix-multiplication.py81# offs_k = tl.arange(0, BLOCK_SIZE_K)COMMENT
LOWpython/tutorials/03-matrix-multiplication.py101#COMMENT
LOWpython/tutorials/03-matrix-multiplication.py121# # Number of programs ids along the N axisCOMMENT
LOWpython/tutorials/03-matrix-multiplication.py281 # We will advance this pointer as we move in the K directionCOMMENT
LOWpython/tutorials/05-layer-norm.py21# It takes a vector :math:`x` as input and produces a vector :math:`y` of the same shape as output.COMMENT
878 more matches not shown…
Unused Imports587 hits · 462 pts
SeverityFileLineSnippetContext
LOWpython/test/unit/runtime/test_build.py1CODE
LOWpython/test/unit/language/test_annotations.py1CODE
LOWpython/test/gsan/test_write_once.py1CODE
LOWpython/test/gsan/test_allocator.py1CODE
LOWpython/test/gsan/test_gsan_failures.py1CODE
LOWpython/test/gsan/test_symmetric_memory.py1CODE
LOWpython/test/gsan/test_gsan.py1CODE
LOWpython/test/gsan/test_write_once_failures.py1CODE
LOWpython/triton/_instrumentation.py1CODE
LOWpython/triton/knobs.py1CODE
LOWpython/triton/__init__.py8CODE
LOWpython/triton/__init__.py8CODE
LOWpython/triton/__init__.py8CODE
LOWpython/triton/__init__.py8CODE
LOWpython/triton/__init__.py8CODE
LOWpython/triton/__init__.py8CODE
LOWpython/triton/__init__.py8CODE
LOWpython/triton/__init__.py8CODE
LOWpython/triton/__init__.py8CODE
LOWpython/triton/__init__.py8CODE
LOWpython/triton/__init__.py20CODE
LOWpython/triton/__init__.py21CODE
LOWpython/triton/__init__.py21CODE
LOWpython/triton/__init__.py22CODE
LOWpython/triton/__init__.py22CODE
LOWpython/triton/__init__.py23CODE
LOWpython/triton/__init__.py24CODE
LOWpython/triton/__init__.py27CODE
LOWpython/triton/__init__.py28CODE
LOWpython/triton/_utils.py1CODE
LOWpython/triton/experimental/gsan/graph.py7CODE
LOWpython/triton/experimental/gsan/__init__.py1CODE
LOWpython/triton/experimental/gsan/__init__.py1CODE
LOWpython/triton/experimental/gsan/__init__.py1CODE
LOWpython/triton/experimental/gsan/__init__.py1CODE
LOWpython/triton/experimental/gsan/__init__.py1CODE
LOWpython/triton/experimental/gsan/__init__.py1CODE
LOWpython/triton/experimental/gsan/__init__.py1CODE
LOWpython/triton/experimental/gsan/_testing_utils.py1CODE
LOWpython/triton/experimental/gsan/_allocator.py1CODE
LOWpython/triton/experimental/gsan/symmetric_memory.py1CODE
LOWpython/triton/experimental/gsan/_testing.py1CODE
LOWpython/triton/experimental/gsan/_stream_sync.py1CODE
LOWpython/triton/experimental/gsan/_utils.py1CODE
LOWpython/triton/experimental/gluon/__init__.py1CODE
LOWpython/triton/experimental/gluon/__init__.py1CODE
LOWpython/triton/experimental/gluon/__init__.py1CODE
LOWpython/triton/experimental/gluon/__init__.py1CODE
LOWpython/triton/experimental/gluon/__init__.py2CODE
LOWpython/triton/experimental/gluon/__init__.py2CODE
LOWpython/triton/experimental/gluon/__init__.py3CODE
LOWpython/triton/experimental/gluon/__init__.py4CODE
LOWpython/triton/experimental/gluon/_runtime.py1CODE
LOWpython/triton/experimental/gluon/_runtime.py4CODE
LOWpython/triton/experimental/gluon/language/_semantic.py1CODE
LOWpython/triton/experimental/gluon/language/__init__.py1CODE
LOWpython/triton/experimental/gluon/language/__init__.py1CODE
LOWpython/triton/experimental/gluon/language/__init__.py1CODE
LOWpython/triton/experimental/gluon/language/__init__.py1CODE
LOWpython/triton/experimental/gluon/language/__init__.py1CODE
527 more matches not shown…
Hallucination Indicators27 hits · 270 pts
SeverityFileLineSnippetContext
CRITICALpython/test/unit/plugins/test_plugin.py36 triton._C.libtriton.passes.plugin.extend_with(LIB)CODE
CRITICALpython/test/unit/plugins/test_custom_ops.py67 triton._C.libtriton.ir.builder.extend_with(LIB)CODE
CRITICALpython/test/unit/plugins/override_helper.py15triton._C.libtriton.passes.plugin.extend_with(LIB)CODE
CRITICALpython/test/unit/language/test_core.py5181 if not is_interpreter() and triton.runtime.driver.active.utils.get_device_properties(CODE
CRITICALpython/test/unit/language/test_matmul.py131 shared_mem_avail = triton.runtime.driver.active.utils.get_device_properties(0)["max_shared_mem"]CODE
CRITICALpython/test/gsan/test_gsan.py1962 properties = triton.runtime.driver.active.utils.get_device_properties(torch.cuda.current_device())CODE
CRITICALpython/test/gluon/test_frontend.py1730 %0 = tt.call @triton.experimental.gluon.language.nvidia.ampere.mbarrier.allocate_mbarrier__cNone_cTrue() : () -> !ttCODE
CRITICALpython/test/gluon/test_frontend.py1735 tt.func private @triton.experimental.gluon.language.nvidia.ampere.mbarrier.allocate_mbarrier__cNone_cTrue() -> !ttg.meCODE
CRITICALpython/test/gluon/test_frontend.py4840 %13 = tt.call @triton.experimental.gluon.language._standard.zeros__Tc1T_cfp16_cAL() : () -> tensor<1xf16, #gluon.autCODE
CRITICALpython/test/gluon/test_frontend.py4868 tt.func private @triton.experimental.gluon.language._standard.zeros__Tc1T_cfp16_cAL() -> tensor<1xf16, #gluon.auto_encCODE
CRITICALpython/test/gluon/test_frontend.py4899 %1 = tt.call @triton.experimental.gluon.language._standard.zeros__Tc1T_cbf16_cAL() : () -> tensor<1xbf16, #gluon.autCODE
CRITICALpython/test/gluon/test_frontend.py4917 tt.func private @triton.experimental.gluon.language._standard.zeros__Tc1T_cbf16_cAL() -> tensor<1xbf16, #gluon.auto_enCODE
CRITICALpython/triton/_internal_testing.py88 return triton.runtime.driver.active.utils.cuOccupancyMaxActiveClusters(kernel.function, kernel.metadata.shared,CODE
CRITICALpython/triton/language/core.py3432 triton.runtime.driver.active.utils.set_printf_fifo_size(size_bytes)STRING
CRITICALpython/triton_kernels/triton_kernels/target_info.py80 return triton.runtime.driver.active.utils.get_device_properties(0)["multiprocessor_count"]CODE
CRITICALthird_party/proton/proton/hooks/instrumentation.py135 max_shared_mem = triton.runtime.driver.active.utils.get_device_properties(device)["max_shared_mem"]CODE
CRITICALthird_party/proton/proton/hooks/instrumentation.py160 arch = triton.runtime.driver.active.utils.get_device_properties(device)["arch"].split(":")[0]CODE
CRITICAL⚡third_party/amd/python/test/test_amd_codegen.py44declare void @llvm.amdgcn.s.barrier.signal.var(ptr addrspace(3), i32)CODE
CRITICAL⚡third_party/amd/python/test/test_amd_codegen.py48 call void @llvm.amdgcn.s.barrier.signal.var(ptr addrspace(3) @bar, i32 4)CODE
CRITICAL⚡third_party/amd/python/test/test_amd_codegen.py69declare void @llvm.amdgcn.s.barrier.signal.var(ptr addrspace(3), i32)CODE
CRITICAL⚡third_party/amd/python/test/test_amd_codegen.py70declare i32 @llvm.amdgcn.s.get.named.barrier.state(ptr addrspace(3))CODE
CRITICALthird_party/amd/python/test/test_amd_codegen.py96 call void @llvm.amdgcn.s.barrier.signal.var(ptr addrspace(3) %bar, i32 4)STRING
CRITICAL⚡third_party/amd/python/test/test_amd_codegen.py120 call void @llvm.amdgcn.s.barrier.signal.var(ptr addrspace(3) %bar, i32 4)STRING
CRITICAL⚡third_party/amd/python/test/test_amd_codegen.py122 %state = call i32 @llvm.amdgcn.s.get.named.barrier.state(ptr addrspace(3) %bar)STRING
CRITICALthird_party/amd/python/test/test_amd_codegen.py152 call void @llvm.amdgcn.s.barrier.signal.var(ptr addrspace(3) %frozen, i32 4)STRING
CRITICALthird_party/nvidia/backend/driver.py225 cu_tensor_map = triton.runtime.driver.active.utils.fill_tma_descriptor_im2col(CODE
CRITICALthird_party/nvidia/backend/driver.py240 cu_tensor_map = triton.runtime.driver.active.utils.fill_tma_descriptor_tiled(CODE
Deep Nesting187 hits · 151 pts
SeverityFileLineSnippetContext
LOWsetup.py129CODE
LOWpython/build_helpers.py393CODE
LOWpython/test/unit/tools/test_triton_to_gluon.py564CODE
LOWpython/test/unit/cuda/test_libdevice_cuda.py109CODE
LOWpython/test/unit/runtime/test_specialize.py42CODE
LOWpython/test/unit/language/test_conversions.py15CODE
LOWpython/test/unit/language/test_conversions.py277CODE
LOWpython/test/unit/language/test_frontend.py212CODE
LOWpython/test/unit/language/test_frontend.py261CODE
LOWpython/test/unit/language/test_frontend.py1961CODE
LOWpython/test/unit/language/test_frontend.py215CODE
LOWpython/test/unit/language/test_frontend.py264CODE
LOWpython/test/unit/language/test_core.py392CODE
LOWpython/test/unit/language/test_core.py3512CODE
LOWpython/test/unit/language/test_core.py3694CODE
LOWpython/test/unit/language/test_core.py4293CODE
LOWpython/test/unit/language/test_core.py4474CODE
LOWpython/test/unit/language/test_core.py5414CODE
LOWpython/test/unit/language/test_core.py5639CODE
LOWpython/test/unit/language/test_core.py5810CODE
LOWpython/test/unit/language/test_core.py6270CODE
LOWpython/test/unit/language/test_core.py6743CODE
LOWpython/test/unit/language/test_core.py8208CODE
LOWpython/test/unit/language/test_core.py3516CODE
LOWpython/test/unit/language/test_core.py6273CODE
LOWpython/test/unit/language/test_core.py6746CODE
LOWpython/test/unit/language/test_core.py8211CODE
LOWpython/test/unit/language/test_pipeliner.py223CODE
LOWpython/test/unit/language/test_subprocess.py57CODE
LOWpython/test/unit/language/test_matmul.py524CODE
LOWpython/test/unit/language/test_matmul.py663CODE
LOWpython/test/unit/language/test_matmul.py712CODE
LOWpython/test/unit/language/test_line_info.py164CODE
LOWpython/test/unit/language/test_line_info.py212CODE
LOWpython/test/unit/language/test_annotations.py62CODE
LOWpython/test/unit/language/print_helper.py107CODE
LOWpython/test/unit/language/test_tensor_descriptor.py1565CODE
LOWpython/test/unit/language/test_tensor_descriptor.py1574CODE
LOWpython/test/gsan/test_gsan_failures.py172CODE
LOWpython/test/gsan/test_gsan_failures.py779CODE
LOWpython/test/gsan/test_symmetric_memory.py436CODE
LOWpython/test/gsan/test_symmetric_memory.py535CODE
LOWpython/test/gsan/test_gsan.py1615CODE
LOWpython/test/gsan/test_write_once_failures.py31CODE
LOWpython/test/gsan/test_write_once_failures.py70CODE
LOWpython/test/gluon/test_lowerings.py25CODE
LOWpython/test/gluon/test_lowerings.py982CODE
LOWpython/test/gluon/test_lowerings.py1105CODE
LOWpython/test/gluon/test_lowerings.py1126CODE
LOWpython/test/gluon/test_frontend.py1320CODE
LOWpython/test/gluon/test_frontend.py5661CODE
LOWpython/test/gluon/test_frontend.py5877CODE
LOWpython/test/gluon/test_frontend.py5664CODE
LOWpython/test/gluon/test_core.py890CODE
LOWpython/test/gluon/test_core.py2415CODE
LOWpython/test/gluon/test_core.py4057CODE
LOWpython/test/gluon/test_core.py5120CODE
LOWpython/test/gluon/test_core.py5435CODE
LOWpython/test/gluon/test_core.py5547CODE
LOWpython/test/gluon/test_core.py2496CODE
127 more matches not shown…
Structural Annotation Overuse43 hits · 85 pts
SeverityFileLineSnippetContext
LOW⚡README.md263# Step 1: Run the kernel once to dump kernel's IRs and ptx/amdgcn in $TRITON_DUMP_DIRCOMMENT
LOW⚡README.md264# Step 2: Copy $TRITON_DUMP_DIR/<kernel_hash> to $TRITON_OVERRIDE_DIRCOMMENT
LOW⚡README.md265# Step 3: Delete the stages that you do not want to override and modify the stage you do want to overrideCOMMENT
LOW⚡README.md266# Step 4: Run the kernel again to see the overridden resultCOMMENT
LOW⚡python/tutorials/gluon/13-conv-im2col.py149# Step 1: Extract patches for each output positionCOMMENT
LOW⚡python/tutorials/gluon/13-conv-im2col.py156# Step 2: Stack patches into im2col matrix A (M=4, K=4)COMMENT
LOW⚡python/tutorials/gluon/13-conv-im2col.py167# Step 3: Reshape filter into weight matrix W (Co=1, K=4)COMMENT
LOW⚡python/tutorials/gluon/13-conv-im2col.py171# Step 4: Output = A @ W^TCOMMENT
LOW…ude/triton/Conversion/TritonGPUToLLVM/TargetInfoBase.h120 // NOTE: This function is used for backend debug. DO NOT DELETE.COMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/TargetInfo.cpp533 // Step 1: Right shift for 8 lanes.COMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/TargetInfo.cpp536 // Step 2: Right shift for 4 lanes.COMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/TargetInfo.cpp539 // Step 3: Right shift for 2 lanes.COMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/TargetInfo.cpp542 // Step 4: Right shift for 1 lane.COMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/TargetInfo.cpp545 // Step 5: Broadcast lane 15 of each row to all the lanes of its next row.COMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/TargetInfo.cpp548 // Step 6: Broadcast lane 31 to lane 32-63.COMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/TargetInfo.cpp553 // Step 7: Read the reduction result from lane 63 and broadcast withCOMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/Utility.cpp1127 // Step 1: extract EM bits for elements 0,2,4,6 and 1,3,5,7 respectively.COMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/Utility.cpp1134 // Step 2: convert fp4 to fp8 using LUTCOMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/Utility.cpp1144 // Step 3: extract sign bitsCOMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/Utility.cpp1148 // Step 4: assemble 4 packed fp8 values w/ signCOMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/Utility.cpp1152 // Step 5: convert fp8 to fp32COMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/Utility.cpp1217 // Step 1: extract EM bits for elements 0,2,4,6 and 1,3,5,7 respectively.COMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/Utility.cpp1225 // Step 2: extract S bit for elements 0,2,4,6 and 1,3,5,7COMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/Utility.cpp1233 // Step 3: Upcast elements 0,2,4,6 to 4 16-bit elementsCOMMENT
LOWthird_party/amd/lib/TritonAMDGPUToLLVM/Utility.cpp1262 // Step 4: Upcast elements 1,3,5,7 to 4 16-bit elementsCOMMENT
LOWthird_party/amd/lib/TritonAMDGPUToLLVM/Utility.cpp1292 // Step 5: Reorder 16-bit elements to be 0,1,2,3,4,5,6,7COMMENT
LOW…_party/amd/lib/TritonAMDGPUToLLVM/DotOpToLLVM/MFMA.cpp559 // Step 1: construct each kBase-element vector byCOMMENT
LOW…_party/amd/lib/TritonAMDGPUToLLVM/DotOpToLLVM/MFMA.cpp571 // Step 2: process rawElems based on element typeCOMMENT
LOW…_party/amd/lib/TritonAMDGPUToLLVM/DotOpToLLVM/MFMA.cpp591 // Step 3: Insert the processed vals into the ValueTableCOMMENT
LOW…/lib/Transforms/WarpSpecialization/WSCodePartition.cpp1228 // Step 1: collect all communications between producers and consumers.COMMENT
LOW⚡…/lib/Transforms/WarpSpecialization/WSCodePartition.cpp1239 // Step 2: group channelsCOMMENT
LOW⚡…/lib/Transforms/WarpSpecialization/WSCodePartition.cpp1248 // Step 3: reorder producer ops and the backward slices of the producer ops.COMMENT
LOW⚡…/lib/Transforms/WarpSpecialization/WSCodePartition.cpp1251 // Step 4: find top-level ops that contain a channel, also create new ForOpsCOMMENT
LOW⚡…/lib/Transforms/WarpSpecialization/WSCodePartition.cpp1271 // Step 5: Create buffers. An array of buffers for each channel.COMMENT
LOW⚡…/lib/Transforms/WarpSpecialization/WSCodePartition.cpp1279 // Step 6: Lower the loads. Also add local copy ops for non-loadCOMMENT
LOW⚡…/lib/Transforms/WarpSpecialization/WSCodePartition.cpp1289 // Step 7: Create tokens. A set of tokens for each group of channels forCOMMENT
LOW…/lib/Transforms/WarpSpecialization/WSCodePartition.cpp1300 // Step 8: add async communication ops (ProducerAcquire etc). Also lowerCOMMENT
LOW⚡…/hopper/lib/Transforms/WarpSpecialization/WSBuffer.cpp304 // Step 1: Append accumCnts as forOp arguments.COMMENT
LOW⚡…/hopper/lib/Transforms/WarpSpecialization/WSBuffer.cpp308 // Step 2: Add accumCnts to yieldOp.COMMENT
LOW⚡…/hopper/lib/Transforms/WarpSpecialization/WSBuffer.cpp317 // Step 3: Create loop arguments for the new ForOp.COMMENT
LOW⚡…/hopper/lib/Transforms/WarpSpecialization/WSBuffer.cpp326 // Step 4: Create newForOp and take the region of the original forOp.COMMENT
LOW⚡…/hopper/lib/Transforms/WarpSpecialization/WSBuffer.cpp332 // Step 5: Replace forOp with newForOp.COMMENT
LOWlib/Dialect/TritonGPU/IR/LinearLayoutConversions.cpp1047 // Step 3: Along the "register" dim, remove any all-zero bases.COMMENT
Verbosity Indicators41 hits · 79 pts
SeverityFileLineSnippetContext
LOWpython/triton/runtime/jit.py203 # The purpose of this function is to visit everything in `arguments`COMMENT
LOW⚡python/tutorials/gluon/13-conv-im2col.py149# Step 1: Extract patches for each output positionCOMMENT
LOW⚡python/tutorials/gluon/13-conv-im2col.py156# Step 2: Stack patches into im2col matrix A (M=4, K=4)COMMENT
LOW⚡python/tutorials/gluon/13-conv-im2col.py167# Step 3: Reshape filter into weight matrix W (Co=1, K=4)COMMENT
LOW⚡python/tutorials/gluon/13-conv-im2col.py171# Step 4: Output = A @ W^TCOMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/TargetInfo.cpp533 // Step 1: Right shift for 8 lanes.COMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/TargetInfo.cpp536 // Step 2: Right shift for 4 lanes.COMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/TargetInfo.cpp539 // Step 3: Right shift for 2 lanes.COMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/TargetInfo.cpp542 // Step 4: Right shift for 1 lane.COMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/TargetInfo.cpp545 // Step 5: Broadcast lane 15 of each row to all the lanes of its next row.COMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/TargetInfo.cpp548 // Step 6: Broadcast lane 31 to lane 32-63.COMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/TargetInfo.cpp553 // Step 7: Read the reduction result from lane 63 and broadcast withCOMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/Utility.cpp1127 // Step 1: extract EM bits for elements 0,2,4,6 and 1,3,5,7 respectively.COMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/Utility.cpp1134 // Step 2: convert fp4 to fp8 using LUTCOMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/Utility.cpp1144 // Step 3: extract sign bitsCOMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/Utility.cpp1148 // Step 4: assemble 4 packed fp8 values w/ signCOMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/Utility.cpp1152 // Step 5: convert fp8 to fp32COMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/Utility.cpp1217 // Step 1: extract EM bits for elements 0,2,4,6 and 1,3,5,7 respectively.COMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/Utility.cpp1225 // Step 2: extract S bit for elements 0,2,4,6 and 1,3,5,7COMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/Utility.cpp1233 // Step 3: Upcast elements 0,2,4,6 to 4 16-bit elementsCOMMENT
LOWthird_party/amd/lib/TritonAMDGPUToLLVM/Utility.cpp1262 // Step 4: Upcast elements 1,3,5,7 to 4 16-bit elementsCOMMENT
LOWthird_party/amd/lib/TritonAMDGPUToLLVM/Utility.cpp1292 // Step 5: Reorder 16-bit elements to be 0,1,2,3,4,5,6,7COMMENT
LOW…_party/amd/lib/TritonAMDGPUToLLVM/DotOpToLLVM/MFMA.cpp559 // Step 1: construct each kBase-element vector byCOMMENT
LOW…_party/amd/lib/TritonAMDGPUToLLVM/DotOpToLLVM/MFMA.cpp571 // Step 2: process rawElems based on element typeCOMMENT
LOW…_party/amd/lib/TritonAMDGPUToLLVM/DotOpToLLVM/MFMA.cpp591 // Step 3: Insert the processed vals into the ValueTableCOMMENT
LOW…/lib/Transforms/WarpSpecialization/WSCodePartition.cpp1228 // Step 1: collect all communications between producers and consumers.COMMENT
LOW⚡…/lib/Transforms/WarpSpecialization/WSCodePartition.cpp1239 // Step 2: group channelsCOMMENT
LOW⚡…/lib/Transforms/WarpSpecialization/WSCodePartition.cpp1248 // Step 3: reorder producer ops and the backward slices of the producer ops.COMMENT
LOW⚡…/lib/Transforms/WarpSpecialization/WSCodePartition.cpp1251 // Step 4: find top-level ops that contain a channel, also create new ForOpsCOMMENT
LOW⚡…/lib/Transforms/WarpSpecialization/WSCodePartition.cpp1271 // Step 5: Create buffers. An array of buffers for each channel.COMMENT
LOW⚡…/lib/Transforms/WarpSpecialization/WSCodePartition.cpp1279 // Step 6: Lower the loads. Also add local copy ops for non-loadCOMMENT
LOW⚡…/lib/Transforms/WarpSpecialization/WSCodePartition.cpp1289 // Step 7: Create tokens. A set of tokens for each group of channels forCOMMENT
LOW…/lib/Transforms/WarpSpecialization/WSCodePartition.cpp1300 // Step 8: add async communication ops (ProducerAcquire etc). Also lowerCOMMENT
LOW⚡…/hopper/lib/Transforms/WarpSpecialization/WSBuffer.cpp304 // Step 1: Append accumCnts as forOp arguments.COMMENT
LOW⚡…/hopper/lib/Transforms/WarpSpecialization/WSBuffer.cpp308 // Step 2: Add accumCnts to yieldOp.COMMENT
LOW⚡…/hopper/lib/Transforms/WarpSpecialization/WSBuffer.cpp317 // Step 3: Create loop arguments for the new ForOp.COMMENT
LOW⚡…/hopper/lib/Transforms/WarpSpecialization/WSBuffer.cpp326 // Step 4: Create newForOp and take the region of the original forOp.COMMENT
LOW⚡…/hopper/lib/Transforms/WarpSpecialization/WSBuffer.cpp332 // Step 5: Replace forOp with newForOp.COMMENT
LOWthird_party/nvidia/lib/NVGPUToLLVM/NVGPUToLLVMPass.cpp630 // TODO: pred will have a long liverange, we need to check if this is aCOMMENT
LOWlib/Dialect/TritonGPU/IR/LinearLayoutConversions.cpp1047 // Step 3: Along the "register" dim, remove any all-zero bases.COMMENT
LOW…t/TritonInstrument/Transforms/ConcurrencySanitizer.cpp1474 // Op is writing to the buffer, we need to check if anything elseCOMMENT
Modern Structural Boilerplate68 hits · 64 pts
SeverityFileLineSnippetContext
LOWpython/triton/__init__.py33__all__ = [CODE
LOWpython/triton/experimental/gsan/__init__.py3__all__ = [CODE
LOWpython/triton/experimental/gluon/__init__.py6__all__ = [CODE
LOWpython/triton/experimental/gluon/_runtime.py10__all__ = ["GluonASTSource", "GluonJITFunction", "constexpr_function", "jit"]CODE
LOWpython/triton/experimental/gluon/language/_core.py55__all__ = [CODE
LOWpython/triton/experimental/gluon/language/_core.py378 def _set_name(self, builder: ir.builder, name: str) -> None:STRING
LOWpython/triton/experimental/gluon/language/amd/slice.py8__all__ = ["slice"]CODE
LOW…hon/triton/experimental/gluon/language/amd/__init__.py10__all__ = [CODE
LOWpython/triton/experimental/gluon/language/amd/hint.py3__all__ = ["sched_barrier"]CODE
LOW…hon/triton/experimental/gluon/language/amd/_layouts.py9__all__ = [CODE
LOW…on/experimental/gluon/language/amd/cdna5/async_copy.py6__all__ = ["global_to_shared", "shared_to_global", "commit_group", "wait_group", "mbarrier_arrive"]CODE
LOW…iton/experimental/gluon/language/amd/cdna5/__init__.py15__all__ = [CODE
LOW…on/triton/experimental/gluon/language/amd/cdna5/tdm.py14__all__ = [CODE
LOW…on/triton/experimental/gluon/language/amd/cdna5/tdm.py66 def _set_name(self, builder: ir.builder, name: str) -> None:CODE
LOW…riton/experimental/gluon/language/amd/cdna5/cluster.py3__all__ = ["arrive", "wait"]CODE
LOW…iton/experimental/gluon/language/amd/cdna5/_layouts.py9__all__ = [CODE
LOW…iton/experimental/gluon/language/amd/cdna5/mbarrier.py5__all__ = ["MBarrierLayout", "init", "wait", "arrive"]CODE
LOW…on/experimental/gluon/language/amd/cdna4/async_copy.py6__all__ = [CODE
LOW…iton/experimental/gluon/language/amd/cdna4/__init__.py16__all__ = [CODE
LOW…iton/experimental/gluon/language/amd/cdna3/__init__.py15__all__ = [CODE
LOW…iton/experimental/gluon/language/amd/rdna4/__init__.py4__all__ = ["wmma"]CODE
LOW…iton/experimental/gluon/language/amd/rdna3/__init__.py4__all__ = ["wmma"]CODE
LOW…/triton/experimental/gluon/language/nvidia/__init__.py6__all__ = ["ampere", "blackwell", "hopper", "rubin"]CODE
LOW…n/experimental/gluon/language/nvidia/rubin/__init__.py38__all__ = [CODE
LOW…n/experimental/gluon/language/nvidia/rubin/mbarrier.py11__all__ = [CODE
LOW…/experimental/gluon/language/nvidia/hopper/__init__.py11__all__ = [CODE
LOW…/experimental/gluon/language/nvidia/hopper/__init__.py94 def _set_name(self, builder: ir.builder, name: str) -> None:CODE
LOW…n/experimental/gluon/language/nvidia/hopper/cluster.py5__all__ = ["barrier"]CODE
LOW…riton/experimental/gluon/language/nvidia/hopper/tma.py13__all__ = [CODE
LOW…riton/experimental/gluon/language/nvidia/hopper/tma.py122 def _set_name(self, builder: ir.builder, name: str) -> None:CODE
LOW…/experimental/gluon/language/nvidia/hopper/mbarrier.py4__all__ = [CODE
LOW…perimental/gluon/language/nvidia/blackwell/__init__.py21__all__ = [CODE
LOW…perimental/gluon/language/nvidia/blackwell/__init__.py327 def _set_name(self, builder: ir.builder, name: str) -> None:CODE
LOW…on/experimental/gluon/language/nvidia/blackwell/tma.py23__all__ = [CODE
LOW…on/experimental/gluon/language/nvidia/blackwell/clc.py18__all__ = [CODE
LOW…on/experimental/gluon/language/nvidia/blackwell/clc.py86 def _set_name(self, builder: ir.builder, name: str) -> None:CODE
LOW…xperimental/gluon/language/nvidia/ampere/async_copy.py5__all__ = [CODE
LOW…/experimental/gluon/language/nvidia/ampere/__init__.py13__all__ = ["CachePolicy", "FractionalEvictionPolicy", "async_copy", "mbarrier", "mma_v2"]CODE
LOW…/experimental/gluon/language/nvidia/ampere/mbarrier.py8__all__ = ["allocate_mbarrier", "arrive", "init", "invalidate", "MBarrierLayout", "wait"]CODE
LOW…n/triton/experimental/gluon/language/extra/__init__.py3__all__ = ["libdevice"]CODE
LOWpython/triton/experimental/gluon/amd/cdna5.py7__all__ = ["TensorDescriptor"]CODE
LOWpython/triton/experimental/gluon/amd/__init__.py3__all__ = ["cdna5", "gfx1250"]CODE
LOWpython/triton/experimental/gluon/nvidia/blackwell.py3__all__ = ["TensorDescriptor"]CODE
LOWpython/triton/experimental/gluon/nvidia/__init__.py4__all__ = ["hopper", "blackwell"]CODE
LOWpython/triton/experimental/gluon/nvidia/hopper.py7__all__ = ["TensorDescriptor", "TensorDescriptorIm2Col"]CODE
LOW…riton/tools/triton_to_gluon_translator/slice_kernel.py31logger = logging.getLogger(__name__)CODE
LOWpython/triton/runtime/__init__.py7__all__ = [CODE
LOWpython/triton/runtime/interpreter.py1006 def set_attr(self, obj: object, name: str, value: object) -> None:CODE
LOWpython/triton/runtime/_allocation.py29def set_allocator(allocator: Allocator) -> None:CODE
LOWpython/triton/runtime/_allocation.py59def set_profile_allocator(allocator: Optional[Allocator]) -> None:CODE
LOWpython/triton/runtime/driver.py42 def set_active(self, driver: DriverBase) -> None:CODE
LOWpython/triton/language/__init__.py147__all__ = [CODE
LOWpython/triton/language/core.py161 def _set_name(self, builder: ir.builder, name: str) -> None:CODE
LOWpython/triton/language/core.py238 def _set_name(self, builder: ir.builder, name: str) -> None:CODE
LOWpython/triton/language/core.py904 def _set_name(self, builder: ir.builder, name: str) -> None:CODE
LOWpython/triton/language/core.py1383 def _set_name(self, builder: ir.builder, name: str) -> None:CODE
LOWpython/triton/language/core.py1450 def _set_name(self, builder: ir.builder, name: str) -> None:CODE
LOWpython/triton/language/core.py1576 def _set_name(self, builder: ir.builder, name: str) -> None:CODE
LOWpython/triton/language/core.py1754 def _set_name(self, builder: ir.builder, name: str) -> None:CODE
LOWpython/triton/language/target_info.py4__all__ = ["current_target"]CODE
8 more matches not shown…
Excessive Try-Catch Wrapping48 hits · 55 pts
SeverityFileLineSnippetContext
LOWsetup.py555 except Exception:CODE
LOWsetup.py563 except Exception:CODE
MEDIUMsetup.py551def get_git_commit_hash(length=8):CODE
MEDIUMsetup.py559def get_git_branch():CODE
LOWpython/test/unit/runtime/test_cache.py987 except Exception as e:STRING
LOW⚡python/test/unit/language/test_core.py6250 except Exception as e:STRING
LOWpython/test/unit/language/test_decorator.py27 except Exception as e:CODE
LOWpython/test/backend/test_mir_stage.py11 except Exception:CODE
MEDIUMpython/test/backend/test_mir_stage.py8def is_hip():CODE
LOWpython/triton/_compile_warmup_pool.py300 except Exception as error:CODE
LOWpython/triton/_compile_warmup_pool.py496 except Exception as error:CODE
LOWpython/triton/_compile_warmup_pool.py502 except Exception as error:CODE
MEDIUMpython/triton/_compile_warmup_pool.py425def serialize_specialization(name, signature, constants, attrs, options, key, taCODE
LOWpython/triton/_internal_testing.py326 except Exception as e:CODE
LOWpython/triton/experimental/gsan/symmetric_memory.py174 except Exception:CODE
LOWpython/triton/experimental/gsan/symmetric_memory.py285 except Exception:CODE
LOWpython/triton/experimental/gsan/symmetric_memory.py479 except Exception:CODE
MEDIUMpython/triton/experimental/gsan/symmetric_memory.py282def __del__(self) -> None:CODE
LOWpython/triton/experimental/gsan/_utils.py113 except Exception:CODE
LOWpython/triton/runtime/cache.py81 except Exception:CODE
LOWpython/triton/runtime/cache.py227 except Exception:CODE
LOWpython/triton/runtime/_async_compile.py23 except Exception:CODE
LOWpython/triton/runtime/interpreter.py1528 except Exception as e:CODE
LOWpython/triton/runtime/interpreter.py1625 except Exception:CODE
LOWpython/triton/runtime/interpreter.py1718 except Exception as e:CODE
LOWpython/triton/runtime/autotuner.py174 except Exception as e:CODE
LOWpython/triton/compiler/compiler.py308 except Exception as e:CODE
LOWpython/triton/compiler/code_generator.py1470 except Exception as e:CODE
LOWpython/triton/compiler/code_generator.py1521 except Exception as e:CODE
LOWpython/triton/compiler/code_generator.py1683 except Exception as e:CODE
LOWpython/triton/compiler/code_generator.py1718 except Exception as e:CODE
LOWpython/examples/gluon/02-conv-dgrad.py980 except Exception:CODE
MEDIUMpython/examples/gluon/02-conv-dgrad.py937def _benchmark_dgrad_config(CODE
LOWpython/examples/gluon/02-conv-wgrad.py735 except Exception:CODE
MEDIUMpython/examples/gluon/02-conv-wgrad.py692def _benchmark_wgrad_config(CODE
LOWthird_party/proton/test/test_instrumentation.py1170 except Exception as e:CODE
MEDIUMthird_party/proton/test/test_instrumentation.py1167def run_kernel():CODE
LOWthird_party/proton/test/test_api.py98 except Exception as e:CODE
LOWthird_party/proton/test/test_api.py122 except Exception as e:CODE
LOWthird_party/proton/test/test_api.py135 except Exception as e:CODE
LOWthird_party/proton/test/test_api.py289 except Exception as e:CODE
LOWthird_party/proton/test/test_api.py406 except Exception as e:CODE
LOWthird_party/proton/test/test_api.py416 except Exception as e:CODE
LOW…ton/test/reproducers/cupti_graph_replay_heap_growth.py275 except Exception:CODE
LOWthird_party/proton/proton/proton.py46 except Exception as e:STRING
MEDIUMthird_party/proton/proton/proton.py47 print("An error occurred while executing the script:")STRING
LOW⚡third_party/amd/python/test/test_gluon_cdna5.py2371 except Exception as e:CODE
LOWthird_party/nvidia/backend/driver.py66 except Exception:CODE
Empty Error Handlers10 hits · 50 pts
SeverityFileLineSnippetContext
HIGHsetup.py82except subprocess.CalledProcessError:CODE
HIGHsetup.py84except FileNotFoundError:CODE
HIGHpython/test/unit/language/test_annotations.py51except AttributeError:CODE
HIGHpython/triton/experimental/gsan/symmetric_memory.py285except Exception:CODE
HIGHpython/triton/tools/compile.py109except ValueError:CODE
HIGHpython/triton/tools/compile.py114except ValueError:CODE
HIGHpython/triton/language/core.py112except TypeError:CODE
HIGHthird_party/proton/test/test_profile.py1115except ValueError:CODE
HIGHthird_party/amd/backend/driver.py116except (subprocess.CalledProcessError, FileNotFoundError):CODE
HIGHthird_party/nvidia/backend/driver.py66except Exception:CODE
Self-Referential Comments16 hits · 46 pts
SeverityFileLineSnippetContext
MEDIUMpython/build_helpers.py439 # Create a stable symlink that doesn't include revisionCOMMENT
MEDIUMpython/test/gluon/test_core.py4906 # Create a test matrix with known valuesCOMMENT
MEDIUMpython/test/gluon/test_core.py5835 # Create a test matrix [N, M]COMMENT
MEDIUMpython/test/gluon/test_core.py5996 # Create a test tensor [N, M, P]COMMENT
MEDIUMpython/triton/experimental/gluon/language/_semantic.py670 # Create the warp specialize op.COMMENT
MEDIUMpython/triton/experimental/gluon/language/_layouts.py617 # Create a idendity mapping based on shape_per_cta + orderCOMMENT
MEDIUMpython/triton/runtime/jit.py405 # Create the function argument list and the dict entries for the return statementCOMMENT
MEDIUMpython/triton/runtime/jit.py1158 # Create a bound function to support constexpr_function methodsSTRING
MEDIUMpython/triton/language/core.py1706 # Define the wrapped Triton value type.COMMENT
MEDIUMpython/tutorials/02-fused-softmax.py173 # Create a number of persistent programs.COMMENT
MEDIUMpython/tutorials/01-vector-add.py46 # Create a mask to guard memory operations against out-of-bounds accesses.COMMENT
MEDIUMdocs/conf.py6# This file is execfile()d with the current directory set to itsCOMMENT
MEDIUMthird_party/proton/proton/hooks/instrumentation.py39 # Create the bufferCOMMENT
MEDIUMthird_party/proton/proton/hooks/instrumentation.py92 # Create the appropriate mode instanceCOMMENT
MEDIUMthird_party/amd/python/test/test_gluon_cdna5.py2589 # Create a flattened view into the nD reference to unify the indexing logic over all dimensionsCOMMENT
MEDIUMthird_party/amd/python/examples/gluon/mxfp_fa_cdna5.py3151 # Create a pytest idCOMMENT
AI Slop Vocabulary16 hits · 42 pts
SeverityFileLineSnippetContext
MEDIUM…iton/experimental/gluon/language/amd/cdna5/_layouts.py106 """Create partitioned shared memory layouts and WMMA layout for a CDNA5 GEMM in order to avoid LDS partition conflicSTRING
MEDIUM…riton/tools/triton_to_gluon_translator/slice_kernel.py116 # HACK: An AST rewrite would be more robust, but this works for now.COMMENT
MEDIUMpython/triton/runtime/cache.py117 # use temp dir to be robust against program interruptionsCOMMENT
LOWpython/triton/runtime/interpreter.py1622 # e.g., dynamically generated functions, we cannot rewrite it so just return the original functionCOMMENT
MEDIUMpython/triton_kernels/bench/bench_dense_matmul.py3# This is not meant to be a comprehensive benchmark of triton_kernels.COMMENT
MEDIUMpython/triton_kernels/bench/bench_dense_matmul.py135 # even for the fp16 benchmark path. Match that when reproducing the OpenAI harness.COMMENT
MEDIUMpython/tutorials/09-persistent-matmul.py417 # Enable warp specialization to leverage async warp scheduling in the GPU.COMMENT
MEDIUMpython/tutorials/10-block-scaled-matmul.py405 # With 256 elements we better utilize the L2 and don't require the TMACOMMENT
MEDIUMpython/tutorials/gluon/11-tcgen05-mma-scaled.py654 # elements. With 256 bytes along the inner dimension, we better utilize theCOMMENT
MEDIUMpython/tutorials/gluon/08-warp-specialization.py369# specialization is especially powerful when used to build intricate schedulesCOMMENT
MEDIUMpython/tutorials/gluon/02-layouts.py868# Linear layouts are extremely poweful, and can be used in conjunction withCOMMENT
MEDIUMpython/tutorials/gluon/07-persistence.py841# work in conjunction with the GPU, getting the best of both worlds. This isCOMMENT
LOWthird_party/amd/python/test/test_gluon_cdna5.py3157 # In practice, since we know that phase is initialized to 0, we can just set count = NUM_WARPS * WARP_SIZE and call COMMENT
LOWthird_party/amd/python/test/test_gluon_cdna5.py3218 # In practice, since we know that phase is initialized to 0, we can just set count = NUM_WARPS and call directly ttgCOMMENT
MEDIUM…party/amd/lib/TritonAMDGPUTransforms/ScheduleLoops.cpp210/// which is not coalesced. To better utilize global memory bandwidth,COMMENT
MEDIUM…party/amd/lib/TritonAMDGPUToLLVM/LoadStoreOpToLLVM.cpp2290 // In the case of unpaired f16 elements utilize dpp instructions toCOMMENT
AI Structural Patterns38 hits · 36 pts
SeverityFileLineSnippetContext
LOWpython/test/unit/language/test_core.py224CODE
LOWpython/triton/testing.py43CODE
LOWpython/triton/experimental/gluon/_runtime.py81CODE
LOWpython/triton/tools/ragged_tma.py76CODE
LOW…/tools/triton_to_gluon_translator/blackwell_helpers.py93CODE
LOW…/tools/triton_to_gluon_translator/blackwell_helpers.py205CODE
LOW…/tools/triton_to_gluon_translator/blackwell_helpers.py304CODE
LOW…triton/tools/triton_to_gluon_translator/amd_helpers.py302CODE
LOW…ton/tools/triton_to_gluon_translator/nvidia_helpers.py53CODE
LOW…ton/tools/triton_to_gluon_translator/nvidia_helpers.py133CODE
LOW…/triton/tools/triton_to_gluon_translator/translator.py257CODE
LOWpython/triton/runtime/jit.py968CODE
LOWpython/triton/runtime/autotuner.py424CODE
LOWpython/triton/runtime/autotuner.py21CODE
LOWpython/triton/language/standard.py443CODE
LOWpython/triton/language/core.py3701CODE
LOWpython/triton/compiler/code_generator.py296CODE
LOWpython/examples/gluon/04-2cta-block-scale-matmul.py818CODE
LOWpython/triton_kernels/triton_kernels/matmul.py248CODE
LOWpython/triton_kernels/triton_kernels/matmul.py893CODE
LOWpython/triton_kernels/triton_kernels/reduce.py665CODE
LOWpython/triton_kernels/triton_kernels/reduce.py1145CODE
LOWpython/triton_kernels/triton_kernels/reduce.py1183CODE
LOWpython/triton_kernels/triton_kernels/testing.py295CODE
LOWpython/triton_kernels/triton_kernels/swiglu.py100CODE
LOWpython/triton_kernels/triton_kernels/swiglu.py82CODE
LOW…n_kernels/tensor_details/layout_details/cdna4_scale.py77CODE
LOW…_kernels/tensor_details/layout_details/hopper_value.py288CODE
LOW…_kernels/tensor_details/layout_details/hopper_value.py252CODE
LOW…rnels/tensor_details/layout_details/blackwell_scale.py212CODE
LOW…_kernels/tensor_details/layout_details/hopper_scale.py147CODE
LOW…ton_kernels/triton_kernels/matmul_details/_p_matmul.py84CODE
LOW…riton_kernels/triton_kernels/matmul_details/_matmul.py38CODE
LOWpython/tutorials/02-fused-softmax.py59CODE
LOWpython/tutorials/gluon/14-multicta.py1066CODE
LOW…ird_party/amd/python/examples/gluon/mxfp_gemm_cdna5.py132CODE
LOWthird_party/amd/python/examples/gluon/moe_cdna5.py1202CODE
LOWthird_party/amd/python/examples/gluon/mxfp_fa_cdna5.py3006CODE
Overly Generic Function Names20 hits · 21 pts
SeverityFileLineSnippetContext
LOW⚡python/test/unit/tools/test_slice_kernel.py749def helper() -> None:CODE
LOW⚡python/test/unit/tools/test_slice_kernel.py765 def helper() -> int:CODE
LOWpython/test/unit/tools/test_slice_kernel.py130 def helper() -> int:CODE
LOWpython/test/unit/tools/test_slice_kernel.py157def helper() -> int:CODE
LOWpython/test/unit/tools/test_slice_kernel.py178 def helper() -> int:CODE
LOWpython/test/unit/tools/test_slice_kernel.py205def helper() -> int:CODE
LOWpython/test/unit/tools/test_slice_kernel.py466 def helper() -> None:CODE
LOWpython/test/unit/tools/test_slice_kernel.py481def helper() -> None:CODE
LOWpython/test/unit/tools/test_slice_kernel.py501 def helper():CODE
LOWpython/test/unit/tools/test_slice_kernel.py516def helper():CODE
LOWpython/test/unit/tools/test_slice_kernel.py539 def helper() -> None:CODE
LOWpython/test/unit/tools/test_slice_kernel.py558def helper() -> None:CODE
LOWpython/test/unit/tools/test_slice_kernel.py607 def helper():CODE
LOWpython/test/unit/tools/test_slice_kernel.py622def helper():CODE
LOWpython/test/unit/tools/test_slice_kernel.py649 def helper() -> None:CODE
LOWpython/test/unit/tools/test_slice_kernel.py668def helper() -> None:CODE
LOWpython/test/unit/tools/test_slice_kernel.py691 def helper() -> None:CODE
LOWpython/test/unit/tools/test_slice_kernel.py710def helper() -> None:CODE
LOWpython/test/unit/tools/test_slice_kernel.py733 def helper() -> None:CODE
LOWpython/test/unit/runtime/test_driver.py290 def helper(value):CODE
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…iton/experimental/gluon/language/amd/cdna5/__init__.py0computes matrix multiplication ``a * b + acc`` using an amd wmma instruction. args: a (tensor): the operand a to be multSTRING
HIGH…iton/experimental/gluon/language/amd/rdna4/__init__.py0computes matrix multiplication ``a * b + acc`` using an amd wmma instruction. args: a (tensor): the operand a to be multSTRING
HIGH…iton/experimental/gluon/language/amd/rdna3/__init__.py0computes matrix multiplication ``a * b + acc`` using an amd wmma instruction. args: a (tensor): the operand a to be multSTRING
Redundant / Tautological Comments10 hits · 13 pts
SeverityFileLineSnippetContext
LOWpython/build_helpers.py131 # Set timeout to 300 seconds to prevent the request from hanging forever.COMMENT
LOWpython/triton/compiler/code_generator.py151# Check if the given syntax node has an "early" returnCOMMENT
LOWutils/generate-test-checks.py177 # Check if an existing variable exists for this name.STRING
LOWutils/generate-test-checks.py320 # Check if this is an attribute definition and process itSTRING
LOWthird_party/proton/proton/hooks/hook.py93 # Check if any other sessions rely on this hookCOMMENT
LOWthird_party/amd/python/test/address_sanitizer_helper.py23 #Set access to go out of bounds for ASAN testCOMMENT
LOWthird_party/amd/backend/driver.py289 # Check if cooperative groups are supported on the device.COMMENT
LOW.github/workflows/integration-tests-nvidia.yml45 # Check if files exist before proceedingCOMMENT
LOW.github/workflows/integration-tests-amd.yml91 # Check if files exist before proceedingCOMMENT
LOW.github/workflows/build-macos.yml38 # Check if files exist before proceedingCOMMENT
Cross-Language Confusion3 hits · 12 pts
SeverityFileLineSnippetContext
HIGHpython/test/unit/tools/test_aot.py147 while (fscanf(file, "%hd,", &buffer[index]) != EOF && index < size) {CODE
HIGHpython/triton/experimental/gsan/symmetric_memory.py431 stack.push(listener)CODE
HIGHpython/triton/tools/link.py218 src += " if (algo_id < 0 || algo_id >= num_algos)\n"STRING
Slop Phrases4 hits · 8 pts
SeverityFileLineSnippetContext
LOWpython/test/unit/language/test_core.py7744 # reuse the temp variable and make sure to check that it isn't creating incorrect IR.STRING
LOWpython/tutorials/01-vector-add.py74 # - Don't forget to pass meta-parameters as keywords arguments.COMMENT
MEDIUMpython/tutorials/gluon/14-multicta.py357# It's worth noting that the pattern changes a bit once the TMA has to wait on the tcgen05_mmaCOMMENT
MEDIUMpython/tutorials/gluon/02-layouts.py839# require reordering registers within a thread (which is free), you can useCOMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHpython/tutorials/11-programmatic-dependent-launch.py26# In this exampleCOMMENT
Fake / Example Data11 hits · 6 pts
SeverityFileLineSnippetContext
LOW⚡python/test/unit/language/test_line_info.py584 run_filecheck("placeholder", h.asm["ttir"], check_template)STRING
LOWpython/test/unit/language/test_line_info.py344 run_filecheck("placeholder", h.asm["ttir"], check_template)STRING
LOWpython/test/unit/language/test_line_info.py364 run_filecheck("placeholder", h.asm["ttir"], check_template)STRING
LOWpython/test/unit/language/test_line_info.py383 run_filecheck("placeholder", h.asm["ttir"], check_template)STRING
LOWpython/test/unit/language/test_line_info.py396 run_filecheck("placeholder", h.asm["ttir"], check_template)STRING
LOWpython/test/unit/language/test_line_info.py416 run_filecheck("placeholder", h.asm["ttir"], check_template)STRING
LOWpython/test/unit/language/test_line_info.py442 run_filecheck("placeholder", h.asm["ttir"], check_template)STRING
LOWpython/test/unit/language/test_line_info.py466 run_filecheck("placeholder", h.asm["ttir"], check_template)STRING
LOWpython/test/unit/language/test_line_info.py493 run_filecheck("placeholder", h.asm["ttir"], check_template)STRING
LOWpython/test/unit/language/test_line_info.py605 run_filecheck("placeholder", h.asm["ttir"], check_template)STRING
LOWpython/triton/_filecheck.py87 run_filecheck("placeholder", mlir_module.str_nodebug(), check_template)CODE
Docstring Block Structure1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH…on/triton/experimental/gluon/language/amd/cdna5/tdm.py162Update selected fields of a TDM descriptor; return a new descriptor SSA value. Each parameter is independently optiSTRING
TODO Padding3 hits · 4 pts
SeverityFileLineSnippetContext
LOWthird_party/amd/backend/include/hip/hip_runtime_api.h2500// TODO: implement IPC apisCOMMENT
LOWlib/Analysis/Alias.cpp85 // TODO: implementCOMMENT
LOWlib/Analysis/Alias.cpp91 // TODO: implementCOMMENT
Dead Code2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMpython/test/unit/language/test_compile_errors.py172CODE
MEDIUMpython/triton_kernels/triton_kernels/tensor.py98CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWbin/triton-tensor-layout.cpp23// Example usage:COMMENT