AI Slop Code Risk Monitor

triton-lang/triton

SlopCodeMonitor badge for triton-lang/triton Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Development repository for the Triton language and compiler

11.1 Moderate pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for triton-lang/triton, a MLIR project with 20,497 GitHub stars. SynthScan examined 442,539 lines of code across 1339 source files, recording 4466 pattern matches distributed across 25 syntactic categories. The legacy adjusted pattern signal is 11.1 (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.1
Adjusted Signal
11.1
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
20.5K
Stars
MLIR
Language
442.5K
Lines of Code
1.3K
Files
4.5K
Pattern Hits
2026-10-31
Scan Date
0.03
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 28.2/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 8.4/100 · LOW

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

Agent Over-Engineering Ratio 26.5/100 · MEDIUM

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

PR Review Velocity Impact 47.1/100 · MEDIUM

Which changes need focused human review? 4466 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 4001

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 4466 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 Identifiers1939 hits · 1505 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_utils.py88def test_perf_report_creates_save_path(tmp_path):CODE
LOWpython/test/unit/test_debug.py27def _run_device_assert_barrier(device):CODE
LOWpython/test/unit/test_debug.py41def _run_expect_zero_device_assert(device):CODE
LOWpython/test/unit/test_debug.py58def test_expect_zero_device_assert(device):CODE
LOWpython/test/unit/test_debug.py84def test_device_assert_barrier(device):CODE
LOWpython/test/unit/test_debug.py163def test_sanitize_int_add_overflow(x, y, x_dtype, y_dtype, debug, should_overflow, device):CODE
LOWpython/test/unit/test_debug.py179def test_sanitize_int_mul_overflow(x, y, x_dtype, y_dtype, debug, should_overflow, device):CODE
LOWpython/test/unit/test_debug.py194def 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.py73def _register_pressure_scheduler_kernel():CODE
LOWpython/test/unit/test_knobs.py102def test_nvidia_register_pressure_scheduler_hook(link_hip_first, fresh_triton_cache):CODE
LOWpython/test/unit/test_knobs.py116def test_nvidia_register_pressure_scheduler_concurrent():CODE
LOWpython/test/unit/test_knobs.py133def _nvidia_short_pointer_kernel():CODE
LOWpython/test/unit/test_knobs.py154def test_nvidia_short_pointer_abi(link_hip_first, fresh_triton_cache):STRING
LOWpython/test/unit/test_knobs.py177def _compile_empty_hip_kernel(arch, warp_size):STRING
LOWpython/test/unit/test_knobs.py207def test_amd_llvm_options_concurrent():STRING
LOWpython/test/unit/test_knobs.py282def test_amd_bitcode_path_override(fresh_knobs, monkeypatch, tmp_path):STRING
LOWpython/test/unit/test_knobs.py299def test_amd_codegen_path_override(fresh_knobs, monkeypatch):STRING
LOWpython/test/unit/test_knobs.py311def test_amd_codegen_revision_invalidates_backend_hash(fresh_knobs, monkeypatch):STRING
LOWpython/test/unit/test_knobs.py326def test_amd_codegen_inlines_functions_from_bitcode(fresh_knobs, monkeypatch):STRING
LOWpython/test/unit/test_knobs.py366def test_amd_codegen_options_restored(option, capfd, fresh_knobs):STRING
LOWpython/test/unit/test_knobs.py381def test_amd_codegen_reports_invalid_llvm_ir(fresh_knobs):STRING
LOWpython/test/unit/test_knobs.py391def test_amd_codegen_assembles_object_with_private_llvm(fresh_knobs):STRING
LOWpython/test/unit/test_knobs.py410def test_amd_codegen_respects_mir_dump_knob(enabled, fresh_knobs, monkeypatch, tmp_path):STRING
LOWpython/test/unit/test_knobs.py433def test_amd_codegen_preserves_mir_replacement(fresh_knobs, monkeypatch):STRING
LOWpython/test/unit/test_knobs.py458def _loop_strength_reduction_kernel():STRING
LOWpython/test/unit/test_knobs.py502def test_nvidia_lsr_concurrent():STRING
LOWpython/test/unit/tools/test_aot.py329def compile_aot_kernel_no_specialization(dir, kernel_path, dtype, BM, BN, BK, target=None):STRING
LOWpython/test/unit/tools/test_aot.py374def generate_matmul_test_data(dir, M, N, K):STRING
LOWpython/test/unit/tools/test_aot.py399def test_linker_rejects_invalid_algo_id():STRING
LOWpython/test/unit/tools/test_aot.py465def test_compile_link_matmul_no_specialization():STRING
LOWpython/test/unit/tools/test_aot.py532def test_launcher_has_no_available_kernel():STRING
LOWpython/test/unit/tools/test_aot.py570def test_compile_link_autotune_matmul():STRING
LOWpython/test/unit/tools/test_aot.py655def test_aot_target_parsing_with_explicit_target():STRING
LOWpython/test/unit/tools/test_aot.py700def gen_scalar_float_test_bin(dir, block, alpha, exe="test_scalar_float"):STRING
LOWpython/test/unit/tools/test_aot.py757def test_compile_link_scalar_float(dtype, alpha):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
1879 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.py152# ---------------COMMENT
MEDIUMpython/test/unit/language/test_standard.py154# ---------------COMMENT
MEDIUMpython/test/unit/language/test_standard.py252# ---------------COMMENT
MEDIUMpython/test/unit/language/test_standard.py254# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py376# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py378# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py608# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py674# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py676# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py702# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py704# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py734# ----------COMMENT
MEDIUMpython/test/unit/language/test_core.py736# ----------COMMENT
MEDIUMpython/test/unit/language/test_core.py783# ------------------COMMENT
MEDIUMpython/test/unit/language/test_core.py785# ------------------COMMENT
MEDIUMpython/test/unit/language/test_core.py827# ----------------COMMENT
MEDIUMpython/test/unit/language/test_core.py829# ----------------COMMENT
MEDIUMpython/test/unit/language/test_core.py977# ----------------------------COMMENT
MEDIUMpython/test/unit/language/test_core.py979# ----------------------------COMMENT
MEDIUMpython/test/unit/language/test_core.py993# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py995# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py1087# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py1089# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py1121# ----------------COMMENT
MEDIUMpython/test/unit/language/test_core.py1123# ----------------COMMENT
MEDIUMpython/test/unit/language/test_core.py1446# -------------COMMENT
MEDIUMpython/test/unit/language/test_core.py1448# -------------COMMENT
MEDIUMpython/test/unit/language/test_core.py1537# ----------------COMMENT
MEDIUMpython/test/unit/language/test_core.py1539# ----------------COMMENT
MEDIUMpython/test/unit/language/test_core.py1584# ----------------COMMENT
MEDIUMpython/test/unit/language/test_core.py1586# ----------------COMMENT
MEDIUMpython/test/unit/language/test_core.py1618# ----------------COMMENT
MEDIUMpython/test/unit/language/test_core.py1620# ----------------COMMENT
MEDIUMpython/test/unit/language/test_core.py1645# ----------------COMMENT
MEDIUMpython/test/unit/language/test_core.py1647# ----------------COMMENT
MEDIUMpython/test/unit/language/test_core.py1828# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py1830# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py2646# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py2648# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py3254# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py3256# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py3964# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py3966# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py4033# ------------------------COMMENT
MEDIUMpython/test/unit/language/test_core.py4035# ------------------------COMMENT
MEDIUMpython/test/unit/language/test_core.py4271# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py4273# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py4388# ---------------COMMENT
MEDIUMpython/test/unit/language/test_core.py4390# ---------------COMMENT
MEDIUM⚡python/test/unit/language/test_core.py5904# ---------------STRING
MEDIUM⚡python/test/unit/language/test_core.py5906# ---------------STRING
MEDIUM⚡python/test/unit/language/test_core.py6121# --------------------STRING
MEDIUM⚡python/test/unit/language/test_core.py6123# --------------------STRING
MEDIUM⚡python/test/unit/language/test_core.py6361# -------------STRING
318 more matches not shown…
Over-Commented Block951 hits · 914 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/backend/test_mir_stage.py61# so we key instructions by (opcode, ordinal-within-function) instead -- aCOMMENT
LOWpython/test/backend/test_mir_stage.py321# filtering. That is only correct because the MIR is dumped at theCOMMENT
LOWpython/triton/knobs.py561 roctx_lib_path: env_opt_str = env_opt_str("TRITON_ROCTX_LIB_PATH")COMMENT
LOWpython/triton/_utils.py161 # iterable. Both have type "tuple" making it difficult to distinguishCOMMENT
LOWpython/triton/experimental/gsan/src/Compat.h1#pragma onceCOMMENT
LOWpython/triton/experimental/gsan/src/AllocatorCommon.h1#pragma onceCOMMENT
LOWpython/triton/experimental/gsan/src/AllocatorCommon.h41 if (handleType == CU_MEM_HANDLE_TYPE_FABRIC)COMMENT
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
891 more matches not shown…
Unused Imports622 hits · 496 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/_profile_allocator.py2CODE
LOWpython/triton/experimental/gsan/profile.py7CODE
LOWpython/triton/experimental/gsan/profile.py21CODE
LOWpython/triton/experimental/gsan/profile.py21CODE
LOWpython/triton/experimental/gsan/profile.py21CODE
LOWpython/triton/experimental/gsan/profile.py21CODE
LOWpython/triton/experimental/gsan/profile.py21CODE
LOWpython/triton/experimental/gsan/profile.py21CODE
LOWpython/triton/experimental/gsan/profile.py21CODE
LOWpython/triton/experimental/gsan/profile.py21CODE
LOWpython/triton/experimental/gsan/profile.py21CODE
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
562 more matches not shown…
Hallucination Indicators27 hits · 260 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.py5282 if not is_interpreter() and triton.runtime.driver.active.utils.get_device_properties(CODE
CRITICALpython/test/unit/language/test_matmul.py143 shared_mem_avail = triton.runtime.driver.active.utils.get_device_properties(0)["max_shared_mem"]CODE
CRITICALpython/test/gsan/test_gsan.py1963 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.py4794 %13 = tt.call @triton.experimental.gluon.language._standard.zeros__Tc1T_cfp16_cAL() : () -> tensor<1xf16, #gluon.autCODE
CRITICALpython/test/gluon/test_frontend.py4822 tt.func private @triton.experimental.gluon.language._standard.zeros__Tc1T_cfp16_cAL() -> tensor<1xf16, #gluon.auto_encCODE
CRITICALpython/test/gluon/test_frontend.py4853 %1 = tt.call @triton.experimental.gluon.language._standard.zeros__Tc1T_cbf16_cAL() : () -> tensor<1xbf16, #gluon.autCODE
CRITICALpython/test/gluon/test_frontend.py4871 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.py3428 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.py114declare void @llvm.amdgcn.s.barrier.signal.var(ptr addrspace(15), i32)CODE
CRITICAL⚡third_party/amd/python/test/test_amd_codegen.py118 call void @llvm.amdgcn.s.barrier.signal.var(ptr addrspace(15) @bar, i32 4)CODE
CRITICALthird_party/amd/python/test/test_amd_codegen.py139declare void @llvm.amdgcn.s.barrier.signal.var(ptr addrspace(15), i32)CODE
CRITICALthird_party/amd/python/test/test_amd_codegen.py140declare i32 @llvm.amdgcn.s.get.named.barrier.state(ptr addrspace(15))CODE
CRITICALthird_party/amd/python/test/test_amd_codegen.py166 call void @llvm.amdgcn.s.barrier.signal.var(ptr addrspace(15) %bar, i32 4)STRING
CRITICAL⚡third_party/amd/python/test/test_amd_codegen.py190 call void @llvm.amdgcn.s.barrier.signal.var(ptr addrspace(15) %bar, i32 4)STRING
CRITICAL⚡third_party/amd/python/test/test_amd_codegen.py192 %state = call i32 @llvm.amdgcn.s.get.named.barrier.state(ptr addrspace(15) %bar)STRING
CRITICALthird_party/amd/python/test/test_amd_codegen.py222 call void @llvm.amdgcn.s.barrier.signal.var(ptr addrspace(15) %frozen, i32 4)STRING
CRITICALthird_party/nvidia/backend/driver.py231 cu_tensor_map = triton.runtime.driver.active.utils.fill_tma_descriptor_im2col(CODE
CRITICALthird_party/nvidia/backend/driver.py246 cu_tensor_map = triton.runtime.driver.active.utils.fill_tma_descriptor_tiled(CODE
Deep Nesting203 hits · 162 pts
SeverityFileLineSnippetContext
LOWsetup.py129CODE
LOWpython/build_helpers.py393CODE
LOWpython/test/unit/tools/test_triton_to_gluon.py564CODE
LOWpython/test/unit/cuda/test_libdevice_cuda.py135CODE
LOWpython/test/unit/runtime/test_specialize.py43CODE
LOWpython/test/unit/language/test_conversions.py16CODE
LOWpython/test/unit/language/test_conversions.py278CODE
LOWpython/test/unit/language/test_frontend.py282CODE
LOWpython/test/unit/language/test_frontend.py331CODE
LOWpython/test/unit/language/test_frontend.py2061CODE
LOWpython/test/unit/language/test_frontend.py285CODE
LOWpython/test/unit/language/test_frontend.py334CODE
LOWpython/test/unit/language/test_core.py394CODE
LOWpython/test/unit/language/test_core.py3610CODE
LOWpython/test/unit/language/test_core.py3792CODE
LOWpython/test/unit/language/test_core.py4393CODE
LOWpython/test/unit/language/test_core.py4574CODE
LOWpython/test/unit/language/test_core.py5515CODE
LOWpython/test/unit/language/test_core.py5740CODE
LOWpython/test/unit/language/test_core.py5911CODE
LOWpython/test/unit/language/test_core.py6371CODE
LOWpython/test/unit/language/test_core.py6888CODE
LOWpython/test/unit/language/test_core.py8353CODE
LOWpython/test/unit/language/test_core.py3614CODE
LOWpython/test/unit/language/test_core.py6374CODE
LOWpython/test/unit/language/test_core.py6891CODE
LOWpython/test/unit/language/test_core.py8356CODE
LOWpython/test/unit/language/test_pipeliner.py223CODE
LOWpython/test/unit/language/test_subprocess.py57CODE
LOWpython/test/unit/language/test_matmul.py258CODE
LOWpython/test/unit/language/test_matmul.py633CODE
LOWpython/test/unit/language/test_matmul.py772CODE
LOWpython/test/unit/language/test_matmul.py262CODE
LOWpython/test/unit/language/test_matmul.py821CODE
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/unit/backend/test_gsan_profile.py333CODE
LOWpython/test/unit/backend/test_gsan_profile.py623CODE
LOWpython/test/unit/backend/test_gsan_profile.py1031CODE
LOWpython/test/unit/backend/test_gsan_profile.py1085CODE
LOWpython/test/unit/backend/test_gsan_profile.py1139CODE
LOWpython/test/gsan/test_gsan_failures.py172CODE
LOWpython/test/gsan/test_gsan_failures.py779CODE
LOWpython/test/gsan/test_symmetric_memory.py432CODE
LOWpython/test/gsan/test_symmetric_memory.py522CODE
LOWpython/test/gsan/test_gsan.py1616CODE
LOWpython/test/gsan/test_write_once_failures.py31CODE
LOWpython/test/gsan/test_write_once_failures.py70CODE
LOWpython/test/gluon/test_lowerings.py26CODE
LOWpython/test/gluon/test_lowerings.py983CODE
LOWpython/test/gluon/test_lowerings.py1106CODE
LOWpython/test/gluon/test_lowerings.py1127CODE
LOWpython/test/gluon/test_frontend.py1320CODE
LOWpython/test/gluon/test_frontend.py5615CODE
LOWpython/test/gluon/test_frontend.py5831CODE
LOWpython/test/gluon/test_frontend.py5618CODE
143 more matches not shown…
Structural Annotation Overuse43 hits · 85 pts
SeverityFileLineSnippetContext
LOW⚡README.md266# Step 1: Run the kernel once to dump kernel's IRs and ptx/amdgcn in $TRITON_DUMP_DIRCOMMENT
LOW⚡README.md267# Step 2: Copy $TRITON_DUMP_DIR/<kernel_hash> to $TRITON_OVERRIDE_DIRCOMMENT
LOW⚡README.md268# Step 3: Delete the stages that you do not want to override and modify the stage you do want to overrideCOMMENT
LOW⚡README.md269# 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.cpp526 // Step 1: Right shift for 8 lanes.COMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/TargetInfo.cpp529 // Step 2: Right shift for 4 lanes.COMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/TargetInfo.cpp532 // Step 3: Right shift for 2 lanes.COMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/TargetInfo.cpp535 // Step 4: Right shift for 1 lane.COMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/TargetInfo.cpp538 // Step 5: Broadcast lane 15 of each row to all the lanes of its next row.COMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/TargetInfo.cpp541 // Step 6: Broadcast lane 31 to lane 32-63.COMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/TargetInfo.cpp546 // Step 7: Read the reduction result from lane 63 and broadcast withCOMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/Utility.cpp1202 // 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.cpp1209 // Step 2: convert fp4 to fp8 using LUTCOMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/Utility.cpp1219 // Step 3: extract sign bitsCOMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/Utility.cpp1223 // Step 4: assemble 4 packed fp8 values w/ signCOMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/Utility.cpp1227 // Step 5: convert fp8 to fp32COMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/Utility.cpp1292 // 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.cpp1300 // Step 2: extract S bit for elements 0,2,4,6 and 1,3,5,7COMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/Utility.cpp1308 // Step 3: Upcast elements 0,2,4,6 to 4 16-bit elementsCOMMENT
LOWthird_party/amd/lib/TritonAMDGPUToLLVM/Utility.cpp1337 // Step 4: Upcast elements 1,3,5,7 to 4 16-bit elementsCOMMENT
LOWthird_party/amd/lib/TritonAMDGPUToLLVM/Utility.cpp1367 // Step 5: Reorder 16-bit elements to be 0,1,2,3,4,5,6,7COMMENT
LOW…_party/amd/lib/TritonAMDGPUToLLVM/DotOpToLLVM/MFMA.cpp560 // Step 1: construct each kBase-element vector byCOMMENT
LOW…_party/amd/lib/TritonAMDGPUToLLVM/DotOpToLLVM/MFMA.cpp572 // Step 2: process rawElems based on element typeCOMMENT
LOW…_party/amd/lib/TritonAMDGPUToLLVM/DotOpToLLVM/MFMA.cpp592 // 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.py205 # 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.cpp526 // Step 1: Right shift for 8 lanes.COMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/TargetInfo.cpp529 // Step 2: Right shift for 4 lanes.COMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/TargetInfo.cpp532 // Step 3: Right shift for 2 lanes.COMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/TargetInfo.cpp535 // Step 4: Right shift for 1 lane.COMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/TargetInfo.cpp538 // Step 5: Broadcast lane 15 of each row to all the lanes of its next row.COMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/TargetInfo.cpp541 // Step 6: Broadcast lane 31 to lane 32-63.COMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/TargetInfo.cpp546 // Step 7: Read the reduction result from lane 63 and broadcast withCOMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/Utility.cpp1202 // 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.cpp1209 // Step 2: convert fp4 to fp8 using LUTCOMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/Utility.cpp1219 // Step 3: extract sign bitsCOMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/Utility.cpp1223 // Step 4: assemble 4 packed fp8 values w/ signCOMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/Utility.cpp1227 // Step 5: convert fp8 to fp32COMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/Utility.cpp1292 // 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.cpp1300 // Step 2: extract S bit for elements 0,2,4,6 and 1,3,5,7COMMENT
LOW⚡third_party/amd/lib/TritonAMDGPUToLLVM/Utility.cpp1308 // Step 3: Upcast elements 0,2,4,6 to 4 16-bit elementsCOMMENT
LOWthird_party/amd/lib/TritonAMDGPUToLLVM/Utility.cpp1337 // Step 4: Upcast elements 1,3,5,7 to 4 16-bit elementsCOMMENT
LOWthird_party/amd/lib/TritonAMDGPUToLLVM/Utility.cpp1367 // Step 5: Reorder 16-bit elements to be 0,1,2,3,4,5,6,7COMMENT
LOW…_party/amd/lib/TritonAMDGPUToLLVM/DotOpToLLVM/MFMA.cpp560 // Step 1: construct each kBase-element vector byCOMMENT
LOW…_party/amd/lib/TritonAMDGPUToLLVM/DotOpToLLVM/MFMA.cpp572 // Step 2: process rawElems based on element typeCOMMENT
LOW…_party/amd/lib/TritonAMDGPUToLLVM/DotOpToLLVM/MFMA.cpp592 // 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.cpp1532 // Op is writing to the buffer, we need to check if anything elseCOMMENT
Modern Structural Boilerplate75 hits · 71 pts
SeverityFileLineSnippetContext
LOWpython/triton/__init__.py33__all__ = [CODE
LOWpython/triton/experimental/gsan/profile.py25__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.py57__all__ = [CODE
LOWpython/triton/experimental/gluon/language/_core.py382 def _set_name(self, builder: ir.builder, name: str) -> None:STRING
LOWpython/triton/experimental/gluon/language/amd/slice.py8__all__ = ["slice"]CODE
LOW…thon/triton/experimental/gluon/language/amd/_buffer.py53 def _set_name(self, builder: ir.builder, name: str) -> None: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.py14__all__ = ["global_to_shared", "shared_to_global", "commit_group", "wait_group", "mbarrier_arrive"]CODE
LOW…experimental/gluon/language/amd/cdna5/_cache_policy.py9__all__ = ["CachePolicy"]CODE
LOW…iton/experimental/gluon/language/amd/cdna5/__init__.py17__all__ = [CODE
LOW…on/triton/experimental/gluon/language/amd/cdna5/tdm.py24__all__ = [CODE
LOW…on/triton/experimental/gluon/language/amd/cdna5/tdm.py76 def _set_name(self, builder: ir.builder, name: str) -> None:CODE
LOW…riton/experimental/gluon/language/amd/cdna5/cluster.py10__all__ = ["arrive", "wait"]CODE
LOW…triton/experimental/gluon/language/amd/cdna5/buffer.py18__all__ = ["buffer_descriptor", "buffer_descriptor_type", "make_buffer_descriptor", "load", "store"]CODE
LOW…iton/experimental/gluon/language/amd/cdna5/_layouts.py9__all__ = [CODE
LOW…iton/experimental/gluon/language/amd/cdna5/mbarrier.py13__all__ = ["MBarrierLayout", "init", "wait", "arrive"]CODE
LOW…on/experimental/gluon/language/amd/cdna4/async_copy.py19__all__ = [CODE
LOW…iton/experimental/gluon/language/amd/cdna4/__init__.py17__all__ = [CODE
LOW…triton/experimental/gluon/language/amd/cdna4/buffer.py15__all__ = [CODE
LOW…experimental/gluon/language/amd/cdna3/_cache_policy.py9__all__ = ["CachePolicy"]CODE
LOW…iton/experimental/gluon/language/amd/cdna3/__init__.py20__all__ = [CODE
LOW…triton/experimental/gluon/language/amd/cdna3/buffer.py16__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.py32logger = logging.getLogger(__name__)CODE
LOWpython/triton/runtime/__init__.py7__all__ = [CODE
LOWpython/triton/runtime/interpreter.py1020 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__.py149__all__ = [CODE
LOWpython/triton/language/core.py161 def _set_name(self, builder: ir.builder, name: str) -> None:CODE
15 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.py1197 except Exception as e:STRING
LOW⚡python/test/unit/language/test_core.py6351 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.py313 except Exception as error:CODE
LOWpython/triton/_compile_warmup_pool.py509 except Exception as error:CODE
LOWpython/triton/_compile_warmup_pool.py515 except Exception as error:CODE
MEDIUMpython/triton/_compile_warmup_pool.py438def serialize_specialization(name, signature, constants, attrs, options, key, taCODE
LOWpython/triton/_internal_testing.py329 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.py1522 except Exception as e:CODE
LOWpython/triton/runtime/interpreter.py1619 except Exception:CODE
LOWpython/triton/runtime/interpreter.py1715 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.py1465 except Exception as e:CODE
LOWpython/triton/compiler/code_generator.py1516 except Exception as e:CODE
LOWpython/triton/compiler/code_generator.py1681 except Exception as e:CODE
LOWpython/triton/compiler/code_generator.py1716 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.py2384 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.py119except (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.py5409 # Create a test matrix with known valuesCOMMENT
MEDIUMpython/test/gluon/test_core.py6338 # Create a test matrix [N, M]COMMENT
MEDIUMpython/test/gluon/test_core.py6499 # Create a test tensor [N, M, P]COMMENT
MEDIUMpython/triton/experimental/gluon/language/_semantic.py669 # 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.py414 # Create the function argument list and the dict entries for the return statementCOMMENT
MEDIUMpython/triton/runtime/jit.py1189 # Create a bound function to support constexpr_function methodsSTRING
MEDIUMpython/triton/language/core.py1720 # 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.py2602 # 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.py135 # 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.py1616 # 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.py419 # 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.py3170 # 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.py3231 # In practice, since we know that phase is initialized to 0, we can just set count = NUM_WARPS and call directly ttgCOMMENT
MEDIUM…lib/TritonAMDGPUTransforms/Pipeliner/ScheduleLoops.cpp210/// which is not coalesced. To better utilize global memory bandwidth,COMMENT
MEDIUM…party/amd/lib/TritonAMDGPUToLLVM/LoadStoreOpToLLVM.cpp2522 // In the case of unpaired f16 elements utilize dpp instructions toCOMMENT
AI Structural Patterns38 hits · 36 pts
SeverityFileLineSnippetContext
LOWpython/test/unit/language/test_core.py226CODE
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.py991CODE
LOWpython/triton/runtime/autotuner.py424CODE
LOWpython/triton/runtime/autotuner.py21CODE
LOWpython/triton/language/standard.py448CODE
LOWpython/triton/language/core.py3697CODE
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.py901CODE
LOWpython/triton_kernels/triton_kernels/reduce.py669CODE
LOWpython/triton_kernels/triton_kernels/reduce.py1150CODE
LOWpython/triton_kernels/triton_kernels/reduce.py1188CODE
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.py222CODE
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.py784def helper() -> None:CODE
LOW⚡python/test/unit/tools/test_slice_kernel.py800 def helper() -> int:CODE
LOWpython/test/unit/tools/test_slice_kernel.py165 def helper() -> int:CODE
LOWpython/test/unit/tools/test_slice_kernel.py192def helper() -> int:CODE
LOWpython/test/unit/tools/test_slice_kernel.py213 def helper() -> int:CODE
LOWpython/test/unit/tools/test_slice_kernel.py240def helper() -> int:CODE
LOWpython/test/unit/tools/test_slice_kernel.py501 def helper() -> None:CODE
LOWpython/test/unit/tools/test_slice_kernel.py516def helper() -> None:CODE
LOWpython/test/unit/tools/test_slice_kernel.py536 def helper():CODE
LOWpython/test/unit/tools/test_slice_kernel.py551def helper():CODE
LOWpython/test/unit/tools/test_slice_kernel.py574 def helper() -> None:CODE
LOWpython/test/unit/tools/test_slice_kernel.py593def helper() -> None:CODE
LOWpython/test/unit/tools/test_slice_kernel.py642 def helper():CODE
LOWpython/test/unit/tools/test_slice_kernel.py657def helper():CODE
LOWpython/test/unit/tools/test_slice_kernel.py684 def helper() -> None:CODE
LOWpython/test/unit/tools/test_slice_kernel.py703def helper() -> None:CODE
LOWpython/test/unit/tools/test_slice_kernel.py726 def helper() -> None:CODE
LOWpython/test/unit/tools/test_slice_kernel.py745def helper() -> None:CODE
LOWpython/test/unit/tools/test_slice_kernel.py768 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.py290 # 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.py7889 # 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.py172Update 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