Repository Analysis

NVIDIA/cccl

CUDA Core Compute Libraries

11.9 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of NVIDIA/cccl, a C++ project with 2,492 GitHub stars. SynthScan v2.0 examined 921,483 lines of code across 7002 source files, recording 10229 pattern matches distributed across 19 syntactic categories. The overall adjusted score of 11.9 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

11.9
Adjusted Score
11.9
Raw Score
100%
Time Factor
2026-08-29
Last Push
2.5K
Stars
C++
Language
921.5K
Lines of Code
7.0K
Files
10.2K
Pattern Hits
2026-08-29
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 20MEDIUM 328LOW 9881

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 10229 distinct pattern matches across 19 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Over-Commented Block8520 hits · 8434 pts
SeverityFileLineSnippetContext
LOW.gersemi/ext/builtins.py1from gersemi.builtin_commands import builtin_commandsCOMMENT
LOWcub/test/catch2_test_launch_helper.h1// SPDX-FileCopyrightText: Copyright (c) 2011-2023, NVIDIA CORPORATION. All rights reserved.COMMENT
LOWcub/test/catch2_test_launch_helper.h21//! // Declare CDP wrapper for CUB API. The wrapper will accept the sameCOMMENT
LOWcub/test/catch2_test_launch_helper.h41//! ```COMMENT
LOWcub/test/catch2_test_env_launch_helper.h1// SPDX-FileCopyrightText: Copyright (c) 2025, NVIDIA CORPORATION. All rights reserved.COMMENT
LOWcub/test/catch2_test_env_launch_helper.h21//! ```COMMENT
LOWcub/test/cub_test_macros.h1#pragma onceCOMMENT
LOWcub/test/cub_non_catch2_test_memory.h1// SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWcub/test/test_util.h1// SPDX-FileCopyrightText: Copyright (c) 2011, Duane Merrill. All rights reserved.COMMENT
LOWcub/test/test_util.h21COMMENT
LOWcub/examples/CMakeLists.txt1# Some of the examples include the `cub/test/test_util.h` header, whichCOMMENT
LOWcub/benchmarks/bench/scan/policy_selector.h1// SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…b/benchmarks/bench/run_length_encode/policy_selector.h1// SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWcub/benchmarks/bench/transform/common.h1// SPDX-FileCopyrightText: Copyright (c) 2024, NVIDIA CORPORATION. All rights reserved.COMMENT
LOW…/benchmarks/bench/transform/applications/P1/bfloat16.h1// SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWtest/cmake/test_export/CMakeLists.txt1# Test the CMake packages for CCCL and all subprojects.COMMENT
LOWtest/stdpar/tests/copy_if.cpp1//===----------------------------------------------------------------------===//COMMENT
LOWtest/stdpar/tests/transform.cpp1//===----------------------------------------------------------------------===//COMMENT
LOWtest/stdpar/tests/any_of.cpp1//===----------------------------------------------------------------------===//COMMENT
LOWpython/cuda_stf/cuda/stf/_experimental/_stf_bindings.py1# Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED.COMMENT
LOWpython/cuda_stf/tests/stf/interop/__init__.py1# Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED.COMMENT
LOW…n/cuda_stf/tests/stf/interop/test_local_stf_capture.py121):COMMENT
LOWpython/cuda_stf/tests/stf/examples/neural_ode_dopri5.py461# from the HOST by replaying the graph, reading the cond tensor withCOMMENT
LOWpython/cuda_stf/tests/stf/examples/__init__.py1# Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED.COMMENT
LOW…/cuda_cccl/cuda/cccl/parallel/experimental/__init__.py1# Copyright (c) 2025, NVIDIA CORPORATION.COMMENT
LOWpython/cuda_cccl/cuda/compute/_caching.py201COMMENT
LOWpython/cuda_cccl/cuda/compute/_caching.py301 self,COMMENT
LOWpython/cuda_cccl/cuda/compute/_caching.py521 compute capabilities without querying a device.COMMENT
LOWpython/cuda_cccl/cuda/compute/_bindings.py1# Copyright (c) 2025, NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED.COMMENT
LOWpython/cuda_cccl/cuda/compute/_jit.py681 return hash(COMMENT
LOWpython/cuda_cccl/cuda/compute/_jit.py701#COMMENT
LOWpython/cuda_cccl/cuda/compute/iterators/_base.py21 """COMMENT
LOWpython/cuda_cccl/cuda/compute/iterators/_shuffle.py101 # instead constructing it once and using it as the stateCOMMENT
LOWpython/cuda_cccl/tests/compute/conftest.py141 # We skip attaching it during a real pytest-run-parallel sweep of more thanCOMMENT
LOW…cccl/tests/compute/examples/free_threading/__init__.py1# Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED.COMMENT
LOW…_cccl/tests/compute/examples/binary_search/__init__.py1# Copyright (c) 2025, NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED.COMMENT
LOW…cuda_cccl/tests/compute/examples/scan/segmented_sum.py21# array demarkating locations of start of segments can be implementedCOMMENT
LOW…n/cuda_cccl/tests/compute/examples/scan/ema_example.py21# initial condition ma[0] = u[0].COMMENT
LOW…on/cuda_cccl/tests/compute/examples/struct/__init__.py1# Copyright (c) 2025, NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED.COMMENT
LOW…on/cuda_cccl/tests/compute/examples/select/__init__.py1# Copyright (c) 2025, NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED.COMMENT
LOW…on/cuda_cccl/tests/compute/examples/raw_op/__init__.py1# Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. ALL RIGHTS RESERVED.COMMENT
LOW…a_cccl/tests/compute/examples/raw_op/llvm_stateless.py1# Copyright (c) 2026 NVIDIA CORPORATION.COMMENT
LOWpython/cuda_cccl/benchmarks/compute/quick_configs.yaml1# Quick mode configurations for fast benchmark testingCOMMENT
LOWci/build_cuda_stf_combined_python.sh1#!/usr/bin/env bashCOMMENT
LOWci/update_rapids_version.sh1#!/usr/bin/env bashCOMMENT
LOWci/bench.yaml1# # CCCL PR benchmark request config.COMMENT
LOWci/bench.yaml21#COMMENT
LOWci/bench.yaml41 python:COMMENT
LOWci/build_cuda_cccl_wheel.sh1#!/usr/bin/env bashCOMMENT
LOWci/matrix.yaml61 # The branch protection checks will fail when using this override workflow.COMMENT
LOWci/matrix.yaml141 # c.parallel -- pinned to gcc13 / msvc2022 to match pythonCOMMENT
LOWci/matrix.yaml201 - {jobs: ['build'], project: 'libcudacxx', cudacxx: 'clang', ctk: 'clang-cuda', cxx: 'clang-cuda', std: 23, sm: '75COMMENT
LOWci/matrix.yaml641 versions:COMMENT
LOWci/matrix.yaml861# - required: Whether the tag is required. Default is false.COMMENT
LOWci/matrix.yaml881 cudacxx: { default: 'nvcc' }COMMENT
LOWci/matrix.yaml901 # - Format is the same as `CMAKE_CUDA_ARCHITECTURES`:COMMENT
LOWci/ninja_summary.py241 # first because of the alphabet, which is important for making this workCOMMENT
LOWci/test_cuda_compute_minimal_python_tsan.sh1#!/usr/bin/env bashCOMMENT
LOWci/test_cuda_compute_minimal_python_tsan.sh61# so the TSan runtime must be present from process start -- LD_PRELOAD theCOMMENT
LOWci/test_cuda_compute_minimal_python_tsan.sh101COMMENT
8460 more matches not shown…
Hyper-Verbose Identifiers835 hits · 808 pts
SeverityFileLineSnippetContext
LOWpython/cuda_stf/merge_cuda_wheels.py48def cuda_version_from_wheel_name(wheel_name: str) -> str:CODE
LOW…thon/cuda_stf/tests/stf/test_locality_domain_places.py26def test_scalar_places_construct():CODE
LOW…thon/cuda_stf/tests/stf/test_locality_domain_places.py35def test_domain_allocation_roundtrip():CODE
LOW…thon/cuda_stf/tests/stf/test_locality_domain_places.py70def test_domain_exec_place_task():CODE
LOW…thon/cuda_stf/tests/stf/test_locality_domain_places.py87def test_machine_grid_granularities():CODE
LOW…thon/cuda_stf/tests/stf/test_locality_domain_places.py129def test_sm_split_methods_construct():CODE
LOW…thon/cuda_stf/tests/stf/test_locality_domain_places.py151def test_sm_split_method_task():CODE
LOW…thon/cuda_stf/tests/stf/test_locality_domain_places.py171def test_sm_split_method_grid_task():CODE
LOWpython/cuda_stf/tests/stf/test_lifecycle.py39def _make_ctx_and_leak_logical_data():CODE
LOWpython/cuda_stf/tests/stf/test_lifecycle.py87def test_child_destroyed_before_context():CODE
LOWpython/cuda_stf/tests/stf/test_lifecycle.py96def test_double_finalize_is_safe():CODE
LOWpython/cuda_stf/tests/stf/test_lifecycle.py105def test_token_outlives_context():CODE
LOWpython/cuda_stf/tests/stf/test_lifecycle.py113def test_task_outlives_context():CODE
LOWpython/cuda_stf/tests/stf/test_lifecycle.py179def _make_stackable_ctx_and_leak():CODE
LOWpython/cuda_stf/tests/stf/test_lifecycle.py187def _exercise_stackable_repeat_scope():CODE
LOWpython/cuda_stf/tests/stf/test_lifecycle.py193def test_stackable_logical_data_outlives_explicit_finalize():CODE
LOWpython/cuda_stf/tests/stf/test_lifecycle.py200def test_stackable_logical_data_outlives_unfinalized_context():CODE
LOWpython/cuda_stf/tests/stf/test_lifecycle.py301def test_stackable_double_finalize_is_safe():CODE
LOWpython/cuda_stf/tests/stf/test_lifecycle.py315def test_mixed_context_types_with_outliving_children():CODE
LOWpython/cuda_stf/tests/stf/test_lifecycle.py339def test_sentinel_is_shared_between_context_and_child():CODE
LOWpython/cuda_stf/tests/stf/test_lifecycle.py50def test_logical_data_outlives_explicitly_finalized_context():CODE
LOWpython/cuda_stf/tests/stf/test_lifecycle.py58def test_logical_data_outlives_unfinalized_context():CODE
LOWpython/cuda_stf/tests/stf/test_lifecycle.py73def test_multiple_contexts_in_sequence():CODE
LOWpython/cuda_stf/tests/stf/test_lifecycle.py126def test_task_rejects_logical_data_from_different_context():CODE
LOWpython/cuda_stf/tests/stf/test_lifecycle.py138def test_cuda_kernel_rejects_logical_data_from_different_context():CODE
LOWpython/cuda_stf/tests/stf/test_lifecycle.py150def test_host_launch_rejects_logical_data_from_different_context():CODE
LOWpython/cuda_stf/tests/stf/test_lifecycle.py162def test_wait_rejects_logical_data_from_different_context():CODE
LOWpython/cuda_stf/tests/stf/test_lifecycle.py212def test_two_stackable_contexts_in_sequence():CODE
LOWpython/cuda_stf/tests/stf/test_lifecycle.py224def _device_reset_repeat_worker():CODE
LOWpython/cuda_stf/tests/stf/test_lifecycle.py239def test_stackable_repeat_after_device_reset():CODE
LOWpython/cuda_stf/tests/stf/test_lifecycle.py257def test_stackable_token_outlives_context():CODE
LOWpython/cuda_stf/tests/stf/test_lifecycle.py265def test_stackable_task_outlives_context():CODE
LOWpython/cuda_stf/tests/stf/test_lifecycle.py277def test_stackable_task_rejects_logical_data_from_different_context():CODE
LOWpython/cuda_stf/tests/stf/test_lifecycle.py289def test_stackable_host_launch_rejects_logical_data_from_different_context():CODE
LOWpython/cuda_stf/tests/stf/test_cai.py15def test_get_arg_cai_preserves_structured_dtype_descr():CODE
LOWpython/cuda_stf/tests/stf/test_cai.py46def test_logical_data_synchronizes_producer_stream(stream):CODE
LOWpython/cuda_stf/tests/stf/test_cai.py63def test_logical_data_rejects_cai_stream_zero():CODE
LOWpython/cuda_stf/tests/stf/test_packaging.py30def test_stf_c_header_shipped(include_root):CODE
LOWpython/cuda_stf/tests/stf/test_packaging.py35def test_cudax_places_header_shipped(include_root):CODE
LOWpython/cuda_stf/tests/stf/test_packaging.py40def test_cudax_stf_header_shipped(include_root):CODE
LOWpython/cuda_stf/tests/stf/test_packaging.py45def test_library_dir_resolves():CODE
LOWpython/cuda_stf/tests/stf/test_packaging.py50def test_library_path_resolves():CODE
LOWpython/cuda_stf/tests/stf/test_packaging.py56def test_library_dir_resolves_without_cuda_bindings(monkeypatch):CODE
LOWpython/cuda_stf/tests/stf/test_place_support.py65def test_pick_stream_borrowed_from_context():CODE
LOWpython/cuda_stf/tests/stf/test_place_support.py75def test_pick_stream_requires_resources():CODE
LOWpython/cuda_stf/tests/stf/test_place_support.py83def test_two_resources_handles_isolated():CODE
LOWpython/cuda_stf/tests/stf/test_place_support.py115def test_getitem_out_of_bounds():CODE
LOWpython/cuda_stf/tests/stf/test_place_support.py125def test_machine_init_idempotent():CODE
LOWpython/cuda_stf/tests/stf/test_place_support.py130def test_green_context_helper_view():CODE
LOWpython/cuda_stf/tests/stf/test_place_support.py220def test_data_place_allocate_deallocate():CODE
LOWpython/cuda_stf/tests/stf/test_place_support.py269def test_device_array_rejects_negative_size():CODE
LOWpython/cuda_stf/tests/stf/test_place_support.py277def test_device_array_shaped_roundtrip():CODE
LOWpython/cuda_stf/tests/stf/test_place_support.py20def _require_green_context_helper(sm_count=1, dev_id=0):CODE
LOWpython/cuda_stf/tests/stf/test_place_support.py37def test_scope_context_manager():CODE
LOWpython/cuda_stf/tests/stf/test_place_support.py53def test_pick_stream_standalone():CODE
LOWpython/cuda_stf/tests/stf/test_place_support.py141def test_green_context_exec_and_data_places():CODE
LOWpython/cuda_stf/tests/stf/test_place_support.py164def test_scope_with_cuda_compute():CODE
LOWpython/cuda_stf/tests/stf/test_place_support.py233def test_data_place_host_allocate():CODE
LOWpython/cuda_stf/tests/stf/test_place_support.py246def test_data_place_allocate_rejects_negative_size():CODE
LOWpython/cuda_stf/tests/stf/test_place_support.py253def test_allocation_is_stream_ordered():CODE
775 more matches not shown…
Decorative Section Separators219 hits · 762 pts
SeverityFileLineSnippetContext
MEDIUMpython/cuda_stf/CMakeLists.txt82# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/CMakeLists.txt84# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/CMakeLists.txt121# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/CMakeLists.txt123# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/test_lifecycle.py34# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/test_lifecycle.py36# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/test_lifecycle.py174# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/test_lifecycle.py176# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/test_lifecycle.py310# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/test_lifecycle.py312# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/test_lifecycle.py334# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/test_lifecycle.py336# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/test_place_support.py215# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/test_place_support.py217# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/test_place_support.py264# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/test_place_support.py266# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/test_while_cond.py27# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/test_while_cond.py29# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/test_while_cond.py114# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/test_while_cond.py116# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/interop/test_jacobi_warp.py36# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/interop/test_jacobi_warp.py42# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/interop/test_jacobi_warp.py83# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/interop/test_jacobi_warp.py86# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/interop/test_jacobi_warp.py191# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/interop/test_jacobi_warp.py193# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/interop/test_jacobi_warp.py299# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/interop/test_jacobi_warp.py303# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/interop/test_cuda_compute.py50# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/interop/test_cuda_compute.py56# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/interop/test_cuda_compute.py129# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/interop/test_cuda_compute.py135# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/interop/test_cuda_compute.py201# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/interop/test_cuda_compute.py207# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/interop/test_cuda_compute.py274# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/interop/test_cuda_compute.py279# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/interop/test_cuda_compute.py333# ===========================================================================COMMENT
MEDIUMpython/cuda_stf/tests/stf/interop/test_cuda_compute.py339# ===========================================================================COMMENT
MEDIUMpython/cuda_stf/tests/stf/interop/test_fdtd.py79# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/interop/test_fdtd.py85# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/interop/test_fdtd.py194# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/interop/test_fdtd.py196# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/interop/test_fdtd.py223# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/interop/test_fdtd.py225# ---------------------------------------------------------------------------COMMENT
MEDIUM…on/cuda_stf/tests/stf/interop/test_warp_pytorch_dag.py46# ---------------------------------------------------------------------------COMMENT
MEDIUM…on/cuda_stf/tests/stf/interop/test_warp_pytorch_dag.py48# ---------------------------------------------------------------------------COMMENT
MEDIUM…on/cuda_stf/tests/stf/interop/test_warp_pytorch_dag.py82# ---------------------------------------------------------------------------COMMENT
MEDIUM…on/cuda_stf/tests/stf/interop/test_warp_pytorch_dag.py84# ---------------------------------------------------------------------------COMMENT
MEDIUM…on/cuda_stf/tests/stf/interop/test_warp_pytorch_dag.py140# ---------------------------------------------------------------------------COMMENT
MEDIUM…on/cuda_stf/tests/stf/interop/test_warp_pytorch_dag.py142# ---------------------------------------------------------------------------COMMENT
MEDIUM…on/cuda_stf/tests/stf/interop/test_warp_pytorch_dag.py191# ---------------------------------------------------------------------------COMMENT
MEDIUM…on/cuda_stf/tests/stf/interop/test_warp_pytorch_dag.py193# ---------------------------------------------------------------------------COMMENT
MEDIUM…on/cuda_stf/tests/stf/interop/test_warp_pytorch_dag.py248# ---------------------------------------------------------------------------COMMENT
MEDIUM…on/cuda_stf/tests/stf/interop/test_warp_pytorch_dag.py250# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/interop/test_legacy_to_stf.py79# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/interop/test_legacy_to_stf.py81# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/interop/test_legacy_to_stf.py119# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/interop/test_legacy_to_stf.py121# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/interop/test_legacy_to_stf.py129# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_stf/tests/stf/interop/test_legacy_to_stf.py131# ---------------------------------------------------------------------------COMMENT
159 more matches not shown…
Self-Referential Comments82 hits · 248 pts
SeverityFileLineSnippetContext
MEDIUMpython/cuda_stf/merge_cuda_wheels.py180 # Create a clean wheel name without CUDA version suffixesCOMMENT
MEDIUMpython/cuda_stf/tests/test_examples.py149 # Create a test function name from the module nameCOMMENT
MEDIUMpython/cuda_stf/tests/test_examples.py152 # Create the test functionCOMMENT
MEDIUMpython/cuda_cccl/merge_cuda_wheels.py119 # Create a clean wheel name without CUDA version suffixesCOMMENT
MEDIUMpython/cuda_cccl/cuda/compute/struct.py76 # Create a simple Python class for user-facing struct valuesCOMMENT
MEDIUMpython/cuda_cccl/cuda/compute/_jit.py960 # Create the stateful wrapper (constructs arrays from pointers)COMMENT
MEDIUMpython/cuda_cccl/cuda/compute/iterators/_base.py196 # Create the CCCL IteratorCOMMENT
MEDIUMpython/cuda_cccl/tests/test_examples.py144 # Create a test function name from the module nameCOMMENT
MEDIUMpython/cuda_cccl/tests/test_examples.py147 # Create the test functionCOMMENT
MEDIUMpython/cuda_cccl/tests/compute/conftest.py16# Define a pytest fixture that returns random arrays with different dtypesCOMMENT
MEDIUMpython/cuda_cccl/tests/compute/conftest.py62# Define a pytest fixture that returns random floating-point arrays onlyCOMMENT
MEDIUMpython/cuda_cccl/tests/compute/test_iterators.py191 # Create a ZipIterator with two int32 arraysCOMMENT
MEDIUMpython/cuda_cccl/tests/compute/test_iterators.py199 # Create a transform that sums the two fieldsCOMMENT
MEDIUMpython/cuda_cccl/tests/compute/test_nested_struct.py50 # Create a struct with an inline nested struct definitionCOMMENT
MEDIUMpython/cuda_cccl/tests/compute/test_zip_iterator.py347 # Create an inner zip iterator combining a and bCOMMENT
MEDIUMpython/cuda_cccl/tests/compute/test_zip_iterator.py350 # Create an outer zip iterator combining inner_zip and cCOMMENT
MEDIUMpython/cuda_cccl/tests/compute/test_raw_op.py314 # Define a simple 2D point structCOMMENT
MEDIUMpython/cuda_cccl/tests/compute/test_raw_op.py449 # Create a device counter initialized to 0COMMENT
MEDIUM…/tests/compute/examples/unique/unique_by_key_object.py28# Create the unique by key object.COMMENT
MEDIUM…_cccl/tests/compute/examples/sort/merge_sort_object.py27# Create the merge sort object.COMMENT
MEDIUM…_cccl/tests/compute/examples/sort/radix_sort_object.py27# Create the radix sort object.COMMENT
MEDIUM…l/tests/compute/examples/sort/segmented_sort_object.py27# Create the segmented sort object.COMMENT
MEDIUM…_cccl/tests/compute/examples/sort/radix_sort_buffer.py31# Create the double buffer.COMMENT
MEDIUM…/compute/examples/segmented/segmented_reduce_object.py28# Create the segmented reduce object.COMMENT
MEDIUM…l/tests/compute/examples/scan/exclusive_scan_object.py25# Create the scanner object and allocate temporary storage.COMMENT
MEDIUM…cuda_cccl/tests/compute/examples/scan/segmented_sum.py34# Define the custom data type and binary operation.COMMENT
MEDIUM…cccl/tests/compute/examples/scan/exclusive_scan_max.py15# Define the binary operation for the scan.COMMENT
MEDIUM…l/tests/compute/examples/scan/inclusive_scan_custom.py20# Define the binary operation for the scan.COMMENT
MEDIUM…l/tests/compute/examples/scan/inclusive_scan_object.py25# Create the scanner object and allocate temporary storage.COMMENT
MEDIUM…uda_cccl/tests/compute/examples/scan/logcdf_example.py34# Define the binary operations for the scans.COMMENT
MEDIUM…sts/compute/examples/struct/nested_struct_reduction.py21# Define an inner struct to hold coordinate dataCOMMENT
MEDIUM…sts/compute/examples/struct/nested_struct_reduction.py28# Define an outer struct that contains the inner structCOMMENT
MEDIUM…/compute/examples/struct/nested_struct_zip_iterator.py67# Create a zip iterator to combine the points and colorsCOMMENT
MEDIUM…cccl/tests/compute/examples/struct/struct_reduction.py18# Define a custom data type to store the pixel values.COMMENT
MEDIUM…cccl/tests/compute/examples/struct/struct_reduction.py26# Define a reduction operation that returns the pixel with the maximum green value.COMMENT
MEDIUM…/compute/examples/iterator/transform_iterator_basic.py25# Create a TransformIterator to (lazily) apply the squareCOMMENT
MEDIUM…sts/compute/examples/iterator/zip_iterator_counting.py26# Create the counting iterator.COMMENT
MEDIUM…sts/compute/examples/iterator/zip_iterator_counting.py32# Create the zip iterator.COMMENT
MEDIUM…compute/examples/iterator/transform_iterator_lambda.py28# Create a TransformIterator that squares each value from a CountingIteratorCOMMENT
MEDIUM…s/compute/examples/iterator/reverse_output_iterator.py27# Create the reverse output iterator.COMMENT
MEDIUM…ts/compute/examples/iterator/zip_iterator_reduction.py36# Create the zip iterator.COMMENT
MEDIUM…s/compute/examples/iterator/constant_iterator_basic.py23# Create the constant iterator.COMMENT
MEDIUM…ts/compute/examples/iterator/reverse_input_iterator.py23# Create the reverse input iterator.COMMENT
MEDIUM…s/compute/examples/iterator/counting_iterator_basic.py25# Create the counting iterator.COMMENT
MEDIUM…ts/compute/examples/iterator/shuffle_iterator_basic.py21# Create a shuffle iterator that produces a random permutation of [0, num_items)COMMENT
MEDIUM…/compute/examples/iterator/zip_iterator_elementwise.py22# Create the zip iterator.COMMENT
MEDIUM…ute/examples/iterator/permutation_iterator_composed.py26# Create a CountingIterator that generates: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9COMMENT
MEDIUM…compute/examples/iterator/transform_output_iterator.py24# Define the transform operation to be appliedCOMMENT
MEDIUM…ute/examples/iterator/cache_modified_iterator_basic.py23# Create the cache modified iterator.COMMENT
MEDIUM…ompute/examples/iterator/permutation_iterator_basic.py19# Create a permutation iterator which selects values at the given indices:COMMENT
MEDIUM…l/tests/compute/examples/reduction/minmax_reduction.py21# Define a custom data type for the accumulator.COMMENT
MEDIUM…l/tests/compute/examples/reduction/minmax_reduction.py28# Define the binary operation for the reduction.COMMENT
MEDIUM…l/tests/compute/examples/reduction/minmax_reduction.py35# Define a transform operation to convert a value `x` to MinMax(abs(x), abs(x)).COMMENT
MEDIUM…cccl/tests/compute/examples/reduction/reduce_object.py26# Create a reducer object.COMMENT
MEDIUM…sts/compute/examples/reduction/sum_custom_reduction.py21# Define the binary operation for the reduction.COMMENT
MEDIUM…mpute/examples/partition/three_way_partition_object.py33# Create the three_way_partition object.COMMENT
MEDIUM…da_cccl/tests/compute/examples/raw_op/cpp_stateless.py40# Define a C++ custom multiply operatorCOMMENT
MEDIUM…da_cccl/tests/compute/examples/raw_op/cpp_stateless.py51# Create a RawOp from the LTOIR bytecodeSTRING
MEDIUM…uda_cccl/tests/compute/examples/raw_op/cpp_stateful.py43# Create a device counter initialized to 0COMMENT
MEDIUM…uda_cccl/tests/compute/examples/raw_op/cpp_stateful.py51# Define a C++ stateful select operatorCOMMENT
22 more matches not shown…
Unused Imports276 hits · 246 pts
SeverityFileLineSnippetContext
LOWpython/cuda_stf/cuda/stf/_experimental/paths.py17CODE
LOWpython/cuda_stf/cuda/stf/_experimental/_stf_bindings.py16CODE
LOWpython/cuda_stf/cuda/stf/_experimental/__init__.py7CODE
LOWpython/cuda_stf/cuda/stf/_experimental/__init__.py19CODE
LOWpython/cuda_stf/cuda/stf/_experimental/__init__.py20CODE
LOWpython/cuda_stf/cuda/stf/_experimental/__init__.py20CODE
LOWpython/cuda_stf/cuda/stf/_experimental/__init__.py20CODE
LOWpython/cuda_stf/cuda/stf/_experimental/__init__.py20CODE
LOWpython/cuda_stf/cuda/stf/_experimental/__init__.py58CODE
LOWpython/cuda_stf/cuda/stf/_experimental/__init__.py58CODE
LOWpython/cuda_stf/cuda/stf/_experimental/__init__.py58CODE
LOWpython/cuda_stf/cuda/stf/_experimental/__init__.py58CODE
LOWpython/cuda_stf/cuda/stf/_experimental/__init__.py58CODE
LOWpython/cuda_stf/cuda/stf/_experimental/__init__.py58CODE
LOWpython/cuda_stf/cuda/stf/_experimental/__init__.py58CODE
LOWpython/cuda_stf/cuda/stf/_experimental/__init__.py58CODE
LOWpython/cuda_stf/cuda/stf/_experimental/__init__.py58CODE
LOWpython/cuda_stf/cuda/stf/_experimental/__init__.py58CODE
LOWpython/cuda_stf/cuda/stf/_experimental/__init__.py58CODE
LOWpython/cuda_stf/cuda/stf/_experimental/__init__.py58CODE
LOWpython/cuda_stf/cuda/stf/_experimental/__init__.py58CODE
LOWpython/cuda_stf/cuda/stf/_experimental/__init__.py58CODE
LOWpython/cuda_stf/cuda/stf/_experimental/__init__.py58CODE
LOWpython/cuda_stf/cuda/stf/_experimental/__init__.py58CODE
LOWpython/cuda_stf/cuda/stf/_experimental/__init__.py58CODE
LOWpython/cuda_stf/cuda/stf/_experimental/__init__.py58CODE
LOWpython/cuda_stf/cuda/stf/_experimental/__init__.py78CODE
LOWpython/cuda_stf/cuda/stf/_experimental/__init__.py79CODE
LOWpython/cuda_stf/cuda/stf/_experimental/__init__.py80CODE
LOWpython/cuda_stf/cuda/stf/_experimental/__init__.py80CODE
LOWpython/cuda_stf/cuda/stf/_experimental/task_graph.py5CODE
LOWpython/cuda_stf/cuda/stf/_experimental/device_array.py29CODE
LOWpython/cuda_stf/cuda/stf/_experimental/device_array.py41CODE
LOW…cuda_stf/cuda/stf/_experimental/_cuda_version_utils.py7CODE
LOWpython/cuda_stf/cuda/stf/_experimental/green_places.py18CODE
LOWpython/cuda_stf/cuda/stf/_experimental/interop/numba.py22CODE
LOW…hon/cuda_stf/cuda/stf/_experimental/interop/pytorch.py20CODE
LOWpython/cuda_stf/tests/stf/interop/test_jacobi_warp.py25CODE
LOWpython/cuda_stf/tests/stf/interop/test_fdtd.py57CODE
LOW…on/cuda_stf/tests/stf/interop/test_warp_pytorch_dag.py28CODE
LOWpython/cuda_stf/tests/stf/interop/test_legacy_to_stf.py54CODE
LOW…thon/cuda_stf/tests/stf/interop/test_scoped_capture.py32CODE
LOW…n/cuda_stf/tests/stf/interop/test_local_stf_capture.py82CODE
LOWpython/cuda_stf/tests/stf/examples/neural_ode_dopri5.py49CODE
LOWpython/cuda_stf/tests/stf/examples/neural_ode_rk4.py37CODE
LOW…_stf/tests/stf/examples/stackable_branch_while_warp.py22CODE
LOWpython/cuda_cccl/cuda/cccl/__init__.py12CODE
LOWpython/cuda_cccl/cuda/cccl/parallel/__init__.py5CODE
LOW…/cuda_cccl/cuda/cccl/parallel/experimental/__init__.py19CODE
LOWpython/cuda_cccl/cuda/cccl/headers/__init__.py5CODE
LOWpython/cuda_cccl/cuda/compute/_target_cc.py21CODE
LOWpython/cuda_cccl/cuda/compute/_proxy.py17CODE
LOWpython/cuda_cccl/cuda/compute/_cpp_compile.py9CODE
LOWpython/cuda_cccl/cuda/compute/determinism.py1CODE
LOWpython/cuda_cccl/cuda/compute/determinism.py3CODE
LOWpython/cuda_cccl/cuda/compute/__init__.py5CODE
LOWpython/cuda_cccl/cuda/compute/__init__.py56CODE
LOWpython/cuda_cccl/cuda/compute/__init__.py57CODE
LOWpython/cuda_cccl/cuda/compute/__init__.py58CODE
LOWpython/cuda_cccl/cuda/compute/__init__.py59CODE
216 more matches not shown…
Excessive Try-Catch Wrapping71 hits · 94 pts
SeverityFileLineSnippetContext
MEDIUMpython/cuda_stf/merge_cuda_wheels.py235 print(f"Error: Wheel not found: {wheel}")CODE
MEDIUMpython/cuda_stf/merge_cuda_wheels.py238 print(f"Error: Not a wheel file: {wheel}")CODE
MEDIUMpython/cuda_stf/merge_cuda_wheels.py243 print("Error: No wheels provided")CODE
LOWpython/cuda_stf/merge_cuda_wheels.py251 except Exception:CODE
MEDIUMpython/cuda_stf/merge_cuda_wheels.py252 print("Error: wheel package not available. Install with: pip install wheel")CODE
LOWpython/cuda_stf/cuda/stf/_experimental/paths.py111 except Exception:CODE
LOWpython/cuda_stf/cuda/stf/_experimental/paths.py115 except Exception:CODE
LOWpython/cuda_stf/cuda/stf/_experimental/paths.py124 except Exception:CODE
LOWpython/cuda_stf/cuda/stf/_experimental/paths.py128 except Exception:CODE
LOWpython/cuda_stf/cuda/stf/_experimental/paths.py205 except Exception:CODE
LOWpython/cuda_stf/cuda/stf/_experimental/paths.py210 except Exception:CODE
MEDIUMpython/cuda_stf/cuda/stf/_experimental/paths.py119def _cuda_toolkit_include() -> Optional[Path]:CODE
LOWpython/cuda_stf/cuda/stf/_experimental/__init__.py16except Exception: # noqa: BLE001 - not installed (e.g. in-tree import)CODE
LOWpython/cuda_stf/cuda/stf/_experimental/task_graph.py88 except Exception:CODE
LOWpython/cuda_stf/cuda/stf/_experimental/device_array.py76 except Exception as e:CODE
LOWpython/cuda_stf/cuda/stf/_experimental/device_array.py348 except Exception:CODE
LOWpython/cuda_stf/cuda/stf/_experimental/interop/numba.py115 except Exception:CODE
LOWpython/cuda_stf/cuda/stf/_experimental/interop/numba.py120 except Exception:CODE
LOW…hon/cuda_stf/cuda/stf/_experimental/interop/pytorch.py90 except Exception as e:CODE
LOW…hon/cuda_stf/cuda/stf/_experimental/interop/pytorch.py94 except Exception:CODE
LOW…hon/cuda_stf/cuda/stf/_experimental/interop/pytorch.py98 except Exception:CODE
LOWpython/cuda_stf/tests/test_examples.py137 except Exception as e:CODE
MEDIUMpython/cuda_cccl/merge_cuda_wheels.py170 print(f"Error: Wheel not found: {wheel}")CODE
MEDIUMpython/cuda_cccl/merge_cuda_wheels.py173 print(f"Error: Not a wheel file: {wheel}")CODE
MEDIUMpython/cuda_cccl/merge_cuda_wheels.py178 print("Error: No wheels provided")CODE
LOWpython/cuda_cccl/merge_cuda_wheels.py186 except Exception:CODE
MEDIUMpython/cuda_cccl/merge_cuda_wheels.py187 print("Error: wheel package not available. Install with: pip install wheel")CODE
LOWpython/cuda_cccl/cuda/cccl/__init__.py9except Exception:CODE
LOWpython/cuda_cccl/cuda/compute/types.py279 except Exception:CODE
MEDIUMpython/cuda_cccl/cuda/compute/types.py276def signature_from_annotations(py_func):CODE
LOWpython/cuda_cccl/cuda/compute/_cccl_interop.py302 except Exception:CODE
LOWpython/cuda_cccl/cuda/compute/_cccl_interop.py313 except Exception:CODE
LOWpython/cuda_cccl/cuda/compute/_cccl_interop.py446 except Exception as e:CODE
LOWpython/cuda_cccl/cuda/compute/_cccl_interop.py467 except Exception as e:CODE
LOWpython/cuda_cccl/cuda/compute/_caching.py491 except Exception:CODE
LOWpython/cuda_cccl/cuda/compute/_bindings.py72 except Exception:CODE
LOWpython/cuda_cccl/cuda/compute/_pch.py147 except Exception:CODE
LOWpython/cuda_cccl/cuda/compute/_jit.py120 except Exception as exc:CODE
LOW…n/cuda_cccl/cuda/compute/_utils/temp_storage_buffer.py48 except Exception as e:CODE
LOWpython/cuda_cccl/tests/test_examples.py132 except Exception as e:CODE
LOW…/cuda_cccl/tests/compute/test_free_threading_stress.py915 except Exception:STRING
LOWpython/cuda_cccl/tests/compute/test_segmented_reduce.py204 except Exception as error:CODE
LOWpython/cuda_cccl/tests/compute/test_segmented_reduce.py279 except Exception as error:CODE
LOW…cuda_cccl/tests/compute/test_multi_cc_serialization.py448 except Exception:CODE
LOWpython/cuda_cccl/benchmarks/compute/run_benchmarks.py246 except Exception as exc: # noqa: BLE001CODE
MEDIUM…a_cccl/benchmarks/compute/host/host_benchmark_cases.py124def _numba_cuda_skip_reason() -> str | None:CODE
LOW…a_cccl/benchmarks/compute/host/host_benchmark_cases.py127 except Exception as exc:CODE
LOWdocs/conf.py35 except Exception:CODE
LOWdocs/_ext/auto_api_generator.py195 except Exception as e:CODE
LOWdocs/_ext/auto_api_generator.py322 except Exception:CODE
LOWdocs/_ext/auto_api_generator.py365 except Exception as e:CODE
LOWdocs/_ext/auto_api_generator.py418 except Exception as e:CODE
LOWdocs/_ext/auto_api_generator.py610 except Exception as e:CODE
LOWdocs/_ext/auto_api_generator.py687 except Exception:CODE
LOWdocs/_ext/auto_api_generator.py763 except Exception:CODE
LOWdocs/_ext/auto_api_generator.py1287 except Exception:CODE
LOWdocs/_ext/auto_api_generator.py1299 except Exception:CODE
LOW.devcontainer/launch.py102 except Exception as e:CODE
LOW.devcontainer/launch.py197 except Exception:CODE
LOWbenchmarks/scripts/cccl/bench/storage.py271 except Exception as e:CODE
11 more matches not shown…
Cross-Language Confusion16 hits · 88 pts
SeverityFileLineSnippetContext
HIGHpython/cuda_stf/cuda/stf/_experimental/task_graph.py74 self.context.raw.push()CODE
HIGHpython/cuda_stf/tests/stf/test_context.py238 ld.push(stf.AccessMode.RW)CODE
HIGHpython/cuda_stf/tests/stf/test_context.py240 ld.push(stf.AccessMode.READ)CODE
HIGHpython/cuda_stf/tests/stf/test_context.py255 ld.push(stf.AccessMode.RW)CODE
HIGHpython/cuda_stf/tests/stf/test_launchable_graph.py178 ctx.push()CODE
HIGHpython/cuda_stf/tests/stf/test_launchable_graph.py220 ctx.push()CODE
HIGHpython/cuda_stf/tests/stf/test_launchable_graph.py259 ctx.push()CODE
HIGHpython/cuda_stf/tests/stf/test_launchable_graph.py298 ctx.push()CODE
HIGHpython/cuda_stf/tests/stf/interop/test_jacobi_warp.py464 lX.push(stf.AccessMode.READ)CODE
HIGHpython/cuda_stf/tests/stf/interop/test_fdtd.py375 lepsilon.push(stf.AccessMode.READ)CODE
HIGHpython/cuda_stf/tests/stf/interop/test_fdtd.py376 lmu.push(stf.AccessMode.READ)CODE
HIGH…_stf/tests/stf/examples/stackable_branch_while_warp.py109 l_x.push(stf.AccessMode.READ)CODE
HIGHpython/cuda_stf/tests/stf/examples/potri.py135 if (i >= n || j >= n) return;CODE
HIGHpython/cuda_stf/tests/stf/examples/potri.py144 if (i >= n || j >= n) return;CODE
HIGHlibcudacxx/share/libcudacxx/lldb/optional.py29 # Its value is 0 (null) if disengaged, and non-zero if engaged,COMMENT
HIGHlibcudacxx/share/libcudacxx/lldb/stream.py76 if (context_status == 0 && original_context == 0) {CODE
Deep Nesting78 hits · 65 pts
SeverityFileLineSnippetContext
LOWpython/cuda_stf/merge_cuda_wheels.py86CODE
LOWpython/cuda_stf/cuda/stf/_experimental/fill_utils.py17CODE
LOWpython/cuda_stf/cuda/stf/_experimental/device_array.py358CODE
LOWpython/cuda_stf/tests/test_examples.py23CODE
LOWpython/cuda_stf/tests/test_examples.py69CODE
LOWpython/cuda_stf/tests/stf/test_nested_scopes.py89CODE
LOWpython/cuda_stf/tests/stf/test_nested_scopes.py207CODE
LOWpython/cuda_stf/tests/stf/test_nested_scopes.py320CODE
LOWpython/cuda_stf/tests/stf/test_nested_scopes.py404CODE
LOWpython/cuda_stf/tests/stf/test_nested_scopes.py473CODE
LOWpython/cuda_stf/tests/stf/test_nested_scopes.py528CODE
LOWpython/cuda_stf/tests/stf/test_task_graph.py136CODE
LOWpython/cuda_stf/tests/stf/interop/test_fdtd.py228CODE
LOWpython/cuda_stf/tests/stf/examples/cholesky.py501CODE
LOWpython/cuda_stf/tests/stf/examples/cholesky.py598CODE
LOWpython/cuda_stf/tests/stf/examples/cholesky.py277CODE
LOW…_stf/tests/stf/examples/stackable_branch_while_warp.py83CODE
LOWpython/cuda_stf/tests/stf/examples/potri.py848CODE
LOWpython/cuda_stf/tests/stf/examples/potri.py926CODE
LOWpython/cuda_stf/tests/stf/examples/potri.py306CODE
LOWpython/cuda_cccl/merge_cuda_wheels.py46CODE
LOWpython/cuda_cccl/cuda/compute/_caching.py607CODE
LOWpython/cuda_cccl/cuda/compute/struct.py181CODE
LOWpython/cuda_cccl/cuda/compute/_jit.py158CODE
LOWpython/cuda_cccl/cuda/compute/_jit.py810CODE
LOWpython/cuda_cccl/cuda/compute/_jit.py203CODE
LOWpython/cuda_cccl/cuda/compute/_utils/protocols.py101CODE
LOWpython/cuda_cccl/cuda/compute/algorithms/_reduce.py211CODE
LOWpython/cuda_cccl/tests/test_examples.py23CODE
LOWpython/cuda_cccl/tests/test_examples.py70CODE
LOWpython/cuda_cccl/tests/compute/test_reduce.py33CODE
LOWpython/cuda_cccl/tests/compute/test_histogram.py42CODE
LOWpython/cuda_cccl/benchmarks/compute/run_benchmarks.py260CODE
LOWci/ninja_summary.py165CODE
LOWci/ninja_summary.py331CODE
LOWci/inspect_changes.py406CODE
LOWci/util/pre-commit/strip_unprintable.py58CODE
LOWci/util/pre-commit/check_cub_test_macros.py40CODE
LOWdocs/_ext/auto_api_generator.py46CODE
LOWdocs/_ext/auto_api_generator.py104CODE
LOWdocs/_ext/auto_api_generator.py201CODE
LOWdocs/_ext/auto_api_generator.py442CODE
LOWdocs/_ext/auto_api_generator.py548CODE
LOWdocs/_ext/auto_api_generator.py668CODE
LOWdocs/_ext/auto_api_generator.py691CODE
LOWdocs/_ext/auto_api_generator.py1216CODE
LOWbenchmarks/scripts/sol.py48CODE
LOWbenchmarks/scripts/run.py43CODE
LOWbenchmarks/scripts/analyze.py222CODE
LOWbenchmarks/scripts/analyze.py669CODE
LOWbenchmarks/scripts/cccl/bench/config.py75CODE
LOWbenchmarks/scripts/cccl/bench/cmake.py103CODE
LOWbenchmarks/scripts/cccl/bench/bench.py396CODE
LOWbenchmarks/scripts/cccl/bench/bench.py446CODE
LOWbenchmarks/scripts/cccl/bench/bench.py598CODE
LOWbenchmarks/scripts/cccl/bench/search.py75CODE
LOW…/actions/workflow-results/prepare-execution-summary.py273CODE
LOW…/actions/workflow-results/prepare-execution-summary.py307CODE
LOW.github/actions/workflow-build/build-workflow.py164CODE
LOW.github/actions/workflow-build/build-workflow.py651CODE
18 more matches not shown…
AI Slop Vocabulary19 hits · 53 pts
SeverityFileLineSnippetContext
LOWpython/cuda_stf/tests/stf/interop/test_cuda_compute.py54# task. In Python we simply call cuda.compute.reduce_into() on the taskCOMMENT
MEDIUMpython/cuda_stf/tests/stf/examples/neural_ode_rk4.py372# Benchmark harnessCOMMENT
MEDIUMpython/cuda_stf/tests/stf/examples/bicgstab.py167 # Strict diagonal dominance -> robust solve target.COMMENT
MEDIUMci/test_cuda_cccl_examples_python.sh38# Smoke-test the host-overhead benchmark harness: run every benchmark caseCOMMENT
MEDIUMci/test_cuda_cccl_examples_python.sh39# exactly once (pass/fail only, no timing) so harness rot fails CI here insteadCOMMENT
MEDIUMci/test_cuda_cccl_examples_python.sh46# axes (one dtype, smallest size) so every benchmark harness still imports,COMMENT
LOWdocs/_ext/auto_api_generator.py376 # For simple namespaces like 'thrust', 'cub', just use the function nameCOMMENT
LOWdocs/_ext/auto_api_generator.py1051 # For any template specialization, just use the file reference without display nameCOMMENT
MEDIUMdocs/_ext/auto_api_generator.py1063 """Generate a comprehensive namespace API reference page."""STRING
LOW.devcontainer/launch.sh347 # If no CTK/Host compiler are provided, just use the default environmentCOMMENT
MEDIUMbenchmarks/scripts/run.py18 # Small problem sizes do not utilize entire GPU.COMMENT
MEDIUM…ust/random/detail/linear_congruential_engine_discard.h37// XXX figure out a robust implementation of this for any unsigned integer type laterCOMMENT
MEDIUM…ust/random/detail/linear_congruential_engine_discard.h47 // figure out a robust implementation of this laterCOMMENT
MEDIUM…d/ranges/range.factories/range.iota.view/size.pass.cpp39 // fix this. Essentially the issue is: An int's min and max are -2147483648 and 2147483647COMMENT
MEDIUMlibcudacxx/include/cuda/__memory/ptr_in_range.h35// - Even when a platform guarantees flat address space, the compiler can leverage UB for optimization purposes.COMMENT
MEDIUMlibcudacxx/include/cuda/__fp/fpemu.h56//! can utilize different computational backends based on template parameters.COMMENT
MEDIUMlibcudacxx/include/cuda/std/__complex/nvbf16.h247 // We can utilize vectorized operations for those operatorsCOMMENT
MEDIUMlibcudacxx/include/cuda/std/__complex/nvfp16.h247 // We can utilize vectorized operations for those operatorsCOMMENT
LOWlibcudacxx/codegen/add_ptx_instruction.py158 # just add as first new include. clang-format will sort it inSTRING
Redundant / Tautological Comments32 hits · 48 pts
SeverityFileLineSnippetContext
LOWpython/cuda_stf/tests/test_examples.py94 # Check if module has a main function - if so, run itCOMMENT
LOWpython/cuda_cccl/cuda/compute/types.py186 # Check if it's a known POD typeCOMMENT
LOWpython/cuda_cccl/cuda/compute/_jit.py222 # Check if field count matchesCOMMENT
LOWpython/cuda_cccl/cuda/compute/_jit.py224 # Check if all field types are compatible (by position, not name)COMMENT
LOWpython/cuda_cccl/tests/test_examples.py86 # Check if module has a main function - if so, run itCOMMENT
LOW…ts/compute/examples/iterator/shuffle_iterator_basic.py35# Print the valuesCOMMENT
LOWpython/cuda_cccl/benchmarks/compute/run_benchmarks.py177 # Check if this is a power-of-two axis (using base name)COMMENT
LOWci/install_cccl.sh13# Check if the correct number of arguments has been providedCOMMENT
LOWci/build_cuda_cccl_python.sh12# Check if py_version was provided (this script requires it)COMMENT
LOWci/build_cuda_stf_python.sh12# Check if py_version was provided (this script requires it)COMMENT
LOWci/build_common.sh25# Check if the correct number of arguments has been providedCOMMENT
LOWci/update_version.sh60# Check if new version is less than or equal to current or the latest tagCOMMENT
LOWci/util/memmon.sh121 # Check if already runningCOMMENT
LOWdocs/gen_docs.bash189# Check if custom Doxygen needs to be builtCOMMENT
LOWdocs/gen_docs.bash198# Check if documentation dependencies are installedCOMMENT
LOWdocs/gen_docs.bash213# Check if dependencies are installed in the virtual environmentCOMMENT
LOWdocs/_ext/auto_api_generator.py192 # Check if this signature is already in the list (avoid duplicates)COMMENT
LOWdocs/_ext/auto_api_generator.py272 # Check if parent exists in either classes or structs listCOMMENT
LOWdocs/_ext/auto_api_generator.py533 # Check if this is a struct by looking at the refidCOMMENT
LOWdocs/_ext/auto_api_generator.py655 # Check if this is a struct by looking at the refidCOMMENT
LOWdocs/_ext/auto_api_generator.py682 # Check if it has a definition (not just a reference)COMMENT
LOWdocs/_ext/auto_api_generator.py738 # Check if functions are in a groupCOMMENT
LOWdocs/_ext/auto_api_generator.py1049 # Check if the name contains any angle brackets (template)COMMENT
LOWdocs/_ext/auto_api_generator.py1280 # Check if it's auto-generated by looking for our markerCOMMENT
LOWbenchmarks/scripts/cccl/bench/storage.py25 # Check if all required environment variables are setCOMMENT
LOW…ithub/workflows/project_automation_set_in_progress.yml155 # Check if the PR has a start sprint assigned, save the result for the linked issuesCOMMENT
LOW.github/actions/workflow-build/build-workflow.py1416 # Check if the extended cuda images are needed:COMMENT
LOW.github/actions/workflow-build/build-workflow.py1511 # Check if the matrix file existsCOMMENT
LOW…ub/actions/workflow-build/prepare-workflow-dispatch.py89 # Check if the workflow file existsCOMMENT
LOWlibcudacxx/test/utils/libcudacxx/test/config.py1208 # Check if the compiler supports the color diagnostics flag. Issue aCOMMENT
LOWlibcudacxx/test/utils/libcudacxx/test/config.py1483 # Check if the host is on an Apple platform using clang.COMMENT
LOWlibcudacxx/test/utils/libcudacxx/test/format.py137 # Check if a result for the test was returned. If so return thatCOMMENT
Verbosity Indicators23 hits · 38 pts
SeverityFileLineSnippetContext
LOW…on/cuda_stf/tests/stf/interop/test_warp_pytorch_dag.py107 # Step 1: Warp scales X by 3.COMMENT
LOW…on/cuda_stf/tests/stf/interop/test_warp_pytorch_dag.py111 # Step 2: PyTorch adds 7 in place.COMMENT
LOW…on/cuda_stf/tests/stf/interop/test_warp_pytorch_dag.py115 # Step 3: Warp squares X (X = X * X via two writes through scratch).COMMENT
LOWpython/cuda_stf/tests/stf/examples/potri.py1044 # Step 1: Cholesky factorization A = L*L^TCOMMENT
LOWpython/cuda_stf/tests/stf/examples/potri.py1047 # Step 2: Triangular inversion L^(-1)COMMENT
LOWpython/cuda_stf/tests/stf/examples/potri.py1050 # Step 3: Compute A^(-1) = L^(-T) * L^(-1)COMMENT
LOWpython/cuda_stf/tests/stf/examples/potri.py674 # Step 1: Update A[m,k] for m > kCOMMENT
LOWpython/cuda_stf/tests/stf/examples/potri.py687 # Step 2: Update A[m,n] for m > k, n < kCOMMENT
LOWpython/cuda_stf/tests/stf/examples/potri.py701 # Step 3: Update A[k,n] for n < kCOMMENT
LOWpython/cuda_stf/tests/stf/examples/potri.py714 # Step 4: Invert diagonal block A[k,k]COMMENT
LOWpython/cuda_stf/tests/stf/examples/potri.py803 # Step 1: Update off-diagonal blocksCOMMENT
LOWpython/cuda_stf/tests/stf/examples/potri.py829 # Step 2: Update A[k,n] = A[k,k]^T * A[k,n]COMMENT
LOWpython/cuda_stf/tests/stf/examples/potri.py842 # Step 3: Update diagonal block A[k,k] = A[k,k]^T * A[k,k]COMMENT
LOW…2/test/freestanding/test_cub_device_reduce_bitcode.cpp103 // Step 1: Write LLVM IR file with the custom operatorCOMMENT
LOWthrust/thrust/system/omp/detail/scan.h107 // Step 1: Reduce each block (N reads)COMMENT
LOWthrust/thrust/system/omp/detail/scan.h119 // Step 2: Scan block sumsCOMMENT
LOWthrust/thrust/system/omp/detail/scan.h132 // Step 3: Scan each block with offset (N reads/writes)COMMENT
LOWlibcudacxx/test/utils/libcudacxx/test/config.py872 # So, first we need to check if NVCC supports the dialect...COMMENT
LOWlibcudacxx/test/utils/libcudacxx/test/config.py877 # ... then we need to check if host compiler supports theCOMMENT
LOWlibcudacxx/include/cuda/__fp/fptool_custom.h43//! // Step 1: swap `double` for `fp64_custom<>`; behavior is unchanged.COMMENT
LOWlibcudacxx/include/cuda/__fp/fptool_custom.h47//! // Step 2: ask for a reduced format, here float-like (8 exponent, 23 mantissa bits).COMMENT
LOWlibcudacxx/include/cuda/__fp/fpmp_math_impl_exp.h298 // Step 1: Argument reduction: x = n*ln(2) + r, where |r| < ln(2)/2COMMENT
LOWlibcudacxx/include/cuda/__nvtx/nvtx3.h25/* This section handles the decision of whether to provide unversioned symbols.COMMENT
Structural Annotation Overuse20 hits · 33 pts
SeverityFileLineSnippetContext
LOW…on/cuda_stf/tests/stf/interop/test_warp_pytorch_dag.py107 # Step 1: Warp scales X by 3.COMMENT
LOW…on/cuda_stf/tests/stf/interop/test_warp_pytorch_dag.py111 # Step 2: PyTorch adds 7 in place.COMMENT
LOW…on/cuda_stf/tests/stf/interop/test_warp_pytorch_dag.py115 # Step 3: Warp squares X (X = X * X via two writes through scratch).COMMENT
LOWpython/cuda_stf/tests/stf/examples/potri.py1044 # Step 1: Cholesky factorization A = L*L^TCOMMENT
LOWpython/cuda_stf/tests/stf/examples/potri.py1047 # Step 2: Triangular inversion L^(-1)COMMENT
LOWpython/cuda_stf/tests/stf/examples/potri.py1050 # Step 3: Compute A^(-1) = L^(-T) * L^(-1)COMMENT
LOWpython/cuda_stf/tests/stf/examples/potri.py674 # Step 1: Update A[m,k] for m > kCOMMENT
LOWpython/cuda_stf/tests/stf/examples/potri.py687 # Step 2: Update A[m,n] for m > k, n < kCOMMENT
LOWpython/cuda_stf/tests/stf/examples/potri.py701 # Step 3: Update A[k,n] for n < kCOMMENT
LOWpython/cuda_stf/tests/stf/examples/potri.py714 # Step 4: Invert diagonal block A[k,k]COMMENT
LOWpython/cuda_stf/tests/stf/examples/potri.py803 # Step 1: Update off-diagonal blocksCOMMENT
LOWpython/cuda_stf/tests/stf/examples/potri.py829 # Step 2: Update A[k,n] = A[k,k]^T * A[k,n]COMMENT
LOWpython/cuda_stf/tests/stf/examples/potri.py842 # Step 3: Update diagonal block A[k,k] = A[k,k]^T * A[k,k]COMMENT
LOW…2/test/freestanding/test_cub_device_reduce_bitcode.cpp103 // Step 1: Write LLVM IR file with the custom operatorCOMMENT
LOWthrust/thrust/system/omp/detail/scan.h107 // Step 1: Reduce each block (N reads)COMMENT
LOWthrust/thrust/system/omp/detail/scan.h119 // Step 2: Scan block sumsCOMMENT
LOWthrust/thrust/system/omp/detail/scan.h132 // Step 3: Scan each block with offset (N reads/writes)COMMENT
LOWlibcudacxx/include/cuda/__fp/fptool_custom.h43//! // Step 1: swap `double` for `fp64_custom<>`; behavior is unchanged.COMMENT
LOWlibcudacxx/include/cuda/__fp/fptool_custom.h47//! // Step 2: ask for a reduced format, here float-like (8 exponent, 23 mantissa bits).COMMENT
LOWlibcudacxx/include/cuda/__fp/fpmp_math_impl_exp.h298 // Step 1: Argument reduction: x = n*ln(2) + r, where |r| < ln(2)/2COMMENT
Modern Structural Boilerplate22 hits · 22 pts
SeverityFileLineSnippetContext
LOWpython/cuda_stf/cuda/stf/_experimental/__init__.py98__all__ = [CODE
LOWpython/cuda_stf/cuda/stf/_experimental/interop/numba.py305__all__ = [CODE
LOW…hon/cuda_stf/cuda/stf/_experimental/interop/pytorch.py137__all__ = ["pytorch_task", "tensor_arg", "tensor_arguments"]CODE
LOWpython/cuda_cccl/cuda/cccl/__init__.py27__all__ = ["get_include_paths", "__version__"]CODE
LOWpython/cuda_cccl/cuda/cccl/parallel/__init__.py7__all__ = [CODE
LOWpython/cuda_cccl/cuda/cccl/headers/__init__.py7__all__ = ["__version__", "get_include_paths"]CODE
LOWpython/cuda_cccl/cuda/compute/determinism.py5__all__ = ["Determinism"]CODE
LOWpython/cuda_cccl/cuda/compute/types.py299__all__ = [CODE
LOWpython/cuda_cccl/cuda/compute/op.py280__all__ = [CODE
LOWpython/cuda_cccl/cuda/compute/_odr_helpers.py46__all__ = [CODE
LOWpython/cuda_cccl/cuda/compute/typing.py64__all__ = ["DeviceArrayLike", "GpuStruct", "IteratorT", "Operator"]CODE
LOWpython/cuda_cccl/cuda/compute/_jit.py1060__all__ = [CODE
LOWpython/cuda_cccl/cuda/compute/_utils/__init__.py14__all__ = ["get_init_kind", "sanitize_identifier"]CODE
LOW…thon/cuda_cccl/cuda/compute/_serialization/__init__.py25__all__ = [CODE
LOWpython/cuda_cccl/cuda/compute/algorithms/__init__.py41__all__ = [CODE
LOW…on/cuda_cccl/cuda/compute/algorithms/_sort/__init__.py16__all__ = [CODE
LOWpython/cuda_cccl/cuda/compute/iterators/_base.py293__all__ = ["IteratorBase"]CODE
LOWpython/cuda_cccl/cuda/compute/iterators/__init__.py19__all__ = [CODE
LOWdocs/_ext/auto_api_generator.py13logger = logging.getLogger(__name__)CODE
LOWbenchmarks/scripts/cccl/__init__.py3__all__ = ["bench"]CODE
LOWlibcudacxx/test/utils/libcudacxx/__init__.py16__all__ = []CODE
LOWlibcudacxx/test/utils/libcudacxx/sym_check/__init__.py16__all__ = ["diff", "extract", "util"]CODE
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHpython/cuda_cccl/tests/compute/test_raw_op.py0get the sm architecture string for the current device.STRING
HIGH…da_cccl/tests/compute/examples/raw_op/cpp_stateless.py0get the sm architecture string for the current device.STRING
HIGH…uda_cccl/tests/compute/examples/raw_op/cpp_stateful.py0get the sm architecture string for the current device.STRING
Docstring Block Structure1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHpython/cuda_cccl/cuda/compute/_jit.py811 Transform a function to add state arrays captured as globals or closures as explicit parameters. For exampSTRING
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippetContext
LOWdocs/scrape_docs.bash3## Usage:COMMENT
LOWdocs/gen_docs.bash5# Usage:COMMENT
LOW.github/workflows/docs-deploy.yml1# Usage:COMMENT
AI Structural Patterns4 hits · 4 pts
SeverityFileLineSnippetContext
LOWpython/cuda_stf/tests/stf/interop/test_fdtd.py228CODE
LOWci/util/ci_failure_analysis/render.py192CODE
LOWcudax/scripts/stf/dot_cleanup.py160CODE
LOWlibcudacxx/test/utils/libcudacxx/compiler.py22CODE
Fake / Example Data4 hits · 4 pts
SeverityFileLineSnippetContext
LOWc/parallel/test/test_binary_search.cpp242 pointer_t<T> dummy_data(1);CODE
LOWc/parallel/test/test_binary_search.cpp252 dummy_data,CODE
LOWc/parallel/test/test_binary_search.cpp314 pointer_t<T> dummy_data(1);CODE
LOWc/parallel/test/test_binary_search.cpp324 dummy_data,CODE
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…bcudacxx/include/cuda/__utility/__basic_any/any_cast.h77// TODO: implement the same overloads as for std::__any_castCOMMENT