Repository Analysis

NVIDIA/cccl

CUDA Core Compute Libraries

11.2 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of NVIDIA/cccl, a C++ project with 2,420 GitHub stars. SynthScan v2.0 examined 831,567 lines of code across 6669 source files, recording 9023 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 11.2 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.2
Adjusted Score
11.2
Raw Score
100%
Time Factor
2026-07-14
Last Push
2.4K
Stars
C++
Language
831.6K
Lines of Code
6.7K
Files
9.0K
Pattern Hits
2026-07-14
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 6MEDIUM 185LOW 8832

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 9023 distinct pattern matches across 20 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 Block7975 hits · 7901 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/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
LOWcub/benchmarks/bench/transform/common.h1// SPDX-FileCopyrightText: Copyright (c) 2024, NVIDIA CORPORATION. All rights reserved.COMMENT
LOWtest/cmake/test_export/CMakeLists.txt1# Test the CMake packages for CCCL and all subprojects.COMMENT
LOW…/cuda_cccl/cuda/cccl/parallel/experimental/__init__.py1# Copyright (c) 2025, NVIDIA CORPORATION.COMMENT
LOW…cuda_cccl/cuda/coop/_experimental/block/_block_scan.py341 [COMMENT
LOW…cuda_cccl/cuda/coop/_experimental/block/_block_scan.py381 # ).<Inclusive|Exclusive>Sum(COMMENT
LOW…cuda_cccl/cuda/coop/_experimental/block/_block_scan.py421 assert initial_value is NoneCOMMENT
LOW…cuda_cccl/cuda/coop/_experimental/block/_block_scan.py441 make_dependent_scan_op(),COMMENT
LOW…cuda_cccl/cuda/coop/_experimental/block/_block_scan.py461 DependentReference(Dependency("T")),COMMENT
LOW…cuda_cccl/cuda/coop/_experimental/block/_block_scan.py521 # void BlockScan<T, BLOCK_DIM_X, ALGORITHM,COMMENT
LOW…cuda_cccl/cuda/coop/_experimental/block/_block_scan.py541 else:COMMENT
LOW…cuda_cccl/cuda/coop/_experimental/block/_block_scan.py561 # T (&)[ITEMS_PER_THREAD] outputCOMMENT
LOW…cuda_cccl/cuda/coop/_experimental/block/_block_scan.py581 # temp_storageCOMMENT
LOW…_cccl/cuda/coop/_experimental/block/_block_exchange.py181 TemplateParameter("BLOCK_DIM_X"),COMMENT
LOW…_cccl/cuda/coop/_experimental/block/_block_exchange.py201 # )::StripedToBlocked(COMMENT
LOWpython/cuda_cccl/cuda/compute/_caching.py121 cache: dict = {}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# Stateful opsCOMMENT
LOWpython/cuda_cccl/cuda/compute/iterators/_base.py21 Iterators represent streams of data computed on the fly.COMMENT
LOWpython/cuda_cccl/cuda/compute/iterators/_shuffle.py101 # instead constructing it once and using it as the stateCOMMENT
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/update_rapids_version.sh1#!/usr/bin/env bashCOMMENT
LOWci/bench.yaml1# # CCCL PR benchmark request config.COMMENT
LOWci/bench.yaml21# benchmarks.filters.python.COMMENT
LOWci/bench.yaml41 # - 'coop/_experimental/bench_warp_reduce\.py'COMMENT
LOWci/matrix.yaml1workflows:COMMENT
LOWci/matrix.yaml101 - {jobs: ['install'], project: 'packaging'}COMMENT
LOWci/matrix.yaml481# - name: The human-readable name of the job. Default is the capitalized job key.COMMENT
LOWci/matrix.yaml681 jobs: { required: true }COMMENT
LOWci/matrix.yaml701 # If set to 'all', all stds supported by the ctk/compilers/project are used.COMMENT
LOWci/matrix.yaml721 # Additional arguments appended to the generated command.COMMENT
LOWci/ninja_summary.py241 # first because of the alphabet, which is important for making this workCOMMENT
LOWci/bench.template.yaml1# # CCCL PR benchmark request config.COMMENT
LOWci/bench.template.yaml21# benchmarks.filters.python.COMMENT
LOWci/bench.template.yaml41 # - 'coop/_experimental/bench_warp_reduce\.py'COMMENT
LOWci/project_files_and_dependencies.yaml1# Configuration for CCCL project change detection.COMMENT
LOWci/project_files_and_dependencies.yaml21# is not changed.COMMENT
LOWci/util/extract_switches.sh1#!/usr/bin/env bashCOMMENT
LOWci/util/pre-commit/strip_unprintable.py1#!/usr/bin/env python3COMMENT
LOWnvrtcc/test/common/check_predefined_macros.h1//===----------------------------------------------------------------------===//COMMENT
LOWnvrtcc/test/common/check_predefined_macros.h21#endif // __NVCC__ != !__CUDACC_RTC__COMMENT
LOWnvrtcc/test/common/check_predefined_macros.h41#endif // !__CUDACC_VER_BUILD__COMMENT
LOWnvrtcc/test/common/check_predefined_macros.h61#endif // __CUDACC_EWP__ != EXPECT_CUDACC_EWPCOMMENT
LOWnvrtcc/test/predefined_macros/CMakeLists.txt1##===----------------------------------------------------------------------===##COMMENT
7915 more matches not shown…
Hyper-Verbose Identifiers459 hits · 422 pts
SeverityFileLineSnippetContext
LOW…ccl/cuda/coop/_experimental/block/_block_radix_sort.py73def _get_template_parameter_specializations(CODE
LOW…ccl/cuda/coop/_experimental/block/_block_radix_sort.py181def make_radix_sort_keys_descending(dtype, threads_per_block, items_per_thread):CODE
LOW…cuda_cccl/cuda/coop/_experimental/block/_block_scan.py322 def make_dependent_block_prefix_callback_op():CODE
LOWpython/cuda_cccl/cuda/compute/_cpp_compile.py81def _compile_cpp_to_ltoir_cached(source: str, arch: str) -> bytes:CODE
LOWpython/cuda_cccl/cuda/compute/_cpp_compile.py126def _compile_cpp_op_code_cached(source: str, arch: str | None) -> DeviceCode:CODE
LOWpython/cuda_cccl/cuda/compute/_cpp_compile.py163def make_variable_declaration(type_desc, name: str) -> str:CODE
LOWpython/cuda_cccl/cuda/compute/types.py231def _annotation_to_type_descriptor(annotation):CODE
LOWpython/cuda_cccl/cuda/compute/types.py252def signature_from_annotations(py_func):CODE
LOWpython/cuda_cccl/cuda/compute/_cccl_interop.py93def _device_array_to_cccl_iter(array: DeviceArrayLike) -> Iterator:CODE
LOWpython/cuda_cccl/cuda/compute/_cccl_interop.py367def normalize_compute_capabilities(compute_capability):CODE
LOWpython/cuda_cccl/cuda/compute/_caching.py74def _make_cache_key_from_args(*args, **kwargs) -> tuple:CODE
LOWpython/cuda_cccl/cuda/compute/_odr_helpers.py75def _build_numba_array_struct(context, builder, array_type, data_ptr, info):CODE
LOWpython/cuda_cccl/cuda/compute/_odr_helpers.py140def _codegen_void_ptr_wrapper(CODE
LOWpython/cuda_cccl/cuda/compute/_odr_helpers.py282def create_op_void_ptr_wrapper(op, sig: "Signature"):STRING
LOWpython/cuda_cccl/cuda/compute/_odr_helpers.py293def create_stateful_op_void_ptr_wrapper(STRING
LOWpython/cuda_cccl/cuda/compute/_odr_helpers.py326def create_advance_void_ptr_wrapper(advance_fn, state_ptr_type):STRING
LOWpython/cuda_cccl/cuda/compute/_odr_helpers.py343def create_input_dereference_void_ptr_wrapper(deref_fn, state_ptr_type, value_type):STRING
LOWpython/cuda_cccl/cuda/compute/_odr_helpers.py358def create_output_dereference_void_ptr_wrapper(deref_fn, state_ptr_type, value_type):STRING
LOWpython/cuda_cccl/cuda/compute/struct.py172def _get_struct_type_descriptor(CODE
LOWpython/cuda_cccl/cuda/compute/struct.py181def _field_spec_to_type_descriptors(CODE
LOWpython/cuda_cccl/cuda/compute/_jit.py66def _compile_op_to_llvm_bitcode(wrapped_op, wrapper_sig) -> bytes:CODE
LOWpython/cuda_cccl/cuda/compute/_jit.py409def _register_struct_with_numba(struct_class):CODE
LOWpython/cuda_cccl/cuda/compute/_jit.py453def _convert_type_descriptor_to_numba(td):CODE
LOWpython/cuda_cccl/cuda/compute/_jit.py499def _ensure_function_structs_registered(py_func):CODE
LOWpython/cuda_cccl/cuda/compute/_jit.py516def _numba_type_to_type_descriptor(numba_type):CODE
LOWpython/cuda_cccl/cuda/compute/_jit.py713def _detect_device_array_globals(func: Callable) -> List[Tuple[str, object]]:CODE
LOWpython/cuda_cccl/cuda/compute/_jit.py734def _detect_device_array_closures(func: Callable) -> List[Tuple[str, object]]:CODE
LOWpython/cuda_cccl/cuda/compute/_jit.py764def _detect_all_device_arrays(func: Callable) -> List[Tuple[str, object]]:CODE
LOWpython/cuda_cccl/cuda/compute/_utils/protocols.py129def compute_c_contiguous_strides_in_bytes(CODE
LOW…n/cuda_cccl/cuda/compute/_utils/temp_storage_buffer.py21def _set_default_mempool_threshold(device_id: int):CODE
LOWpython/cuda_cccl/cuda/compute/algorithms/_histogram.py132def _make_histogram_even_impl(CODE
LOWpython/cuda_cccl/cuda/compute/iterators/_base.py119 def _make_output_deref_symbol(self) -> str:CODE
LOWpython/cuda_cccl/tests/_utils/device_array.py54def _resolve_device_and_stream(CODE
LOW…a_cccl/tests/coop/_experimental/test_block_scan_api.py54def test_block_exclusive_sum_single_input_per_thread():CODE
LOW…a_cccl/tests/coop/_experimental/test_block_exchange.py169def test_striped_to_blocked_user_defined_type(CODE
LOW…thon/cuda_cccl/tests/coop/_experimental/test_common.py72 def test_string_with_np_prefix(self, dtype, expected):CODE
LOW…thon/cuda_cccl/tests/coop/_experimental/test_common.py100 def test_invalid_string_with_period(self, dtype):CODE
LOW…thon/cuda_cccl/tests/coop/_experimental/test_common.py251 def test_invalid_tuple_length(self, dim_tuple):CODE
LOW…thon/cuda_cccl/tests/coop/_experimental/test_common.py306 def test_string_representation(self, enum_member, expected_str):CODE
LOW…thon/cuda_cccl/tests/coop/_experimental/test_common.py339 def test_enum_lookup_by_value(self, value, expected_enum):CODE
LOW…_cccl/tests/coop/_experimental/test_warp_merge_sort.py55def test_warp_merge_sort_multiple_warps():CODE
LOW…hon/cuda_cccl/tests/coop/_experimental/test_scan_op.py99 def test_python_operator_module_functions(CODE
LOW…/tests/coop/_experimental/test_block_radix_sort_api.py54def test_block_radix_sort_descending():CODE
LOW…cccl/tests/coop/_experimental/test_block_merge_sort.py74def test_block_merge_sort_descending(T, threads_per_block, items_per_thread):CODE
LOW…cccl/tests/coop/_experimental/test_block_merge_sort.py122def test_block_merge_sort_user_defined_type():CODE
LOW…/cuda_cccl/tests/coop/_experimental/test_block_scan.py70def typeof_block_prefix_callback_op(val, c):CODE
LOW…/cuda_cccl/tests/coop/_experimental/test_block_scan.py75def type__block_prefix_callback_op(context):CODE
LOW…/cuda_cccl/tests/coop/_experimental/test_block_scan.py94def impl_block_prefix_callback_op(context, builder, sig, args):CODE
LOW…/cuda_cccl/tests/coop/_experimental/test_block_scan.py286def test_block_scan_sum_invalid_items_per_thread(CODE
LOW…/cuda_cccl/tests/coop/_experimental/test_block_scan.py303def test_block_scan_sum_invalid_algorithm(mode):CODE
LOW…/cuda_cccl/tests/coop/_experimental/test_block_scan.py322def test_block_scan_user_defined_type(CODE
LOW…/cuda_cccl/tests/coop/_experimental/test_block_scan.py481def test_block_scan_with_callable(CODE
LOW…/cuda_cccl/tests/coop/_experimental/test_block_scan.py575def test_block_scan_invariants(mode):CODE
LOW…/cuda_cccl/tests/coop/_experimental/test_block_scan.py654def test_block_scan_with_prefix_op_multi_items(CODE
LOW…/cuda_cccl/tests/coop/_experimental/test_block_scan.py746def test_block_scan_known_ops(CODE
LOW…/cuda_cccl/tests/coop/_experimental/test_block_scan.py882def test_inclusive_sum_alignment():CODE
LOW…cuda_cccl/tests/coop/_experimental/test_warp_reduce.py18def test_warp_reduction_of_integral_type(T):CODE
LOW…uda_cccl/tests/coop/_experimental/test_block_reduce.py32def test_block_reduction_of_user_defined_type_without_temp_storage(CODE
LOW…uda_cccl/tests/coop/_experimental/test_block_reduce.py94def test_block_reduction_of_user_defined_type(threads_per_block, algorithm):CODE
LOW…uda_cccl/tests/coop/_experimental/test_block_reduce.py158def test_block_reduction_of_integral_type(T, threads_per_block, algorithm):CODE
399 more matches not shown…
Self-Referential Comments79 hits · 238 pts
SeverityFileLineSnippetContext
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.py951 # Create the stateful wrapper (constructs arrays from pointers)COMMENT
MEDIUMpython/cuda_cccl/cuda/compute/iterators/_base.py183 # Create the CCCL IteratorCOMMENT
MEDIUMpython/cuda_cccl/tests/test_examples.py145 # Create a test function name from the module nameCOMMENT
MEDIUMpython/cuda_cccl/tests/test_examples.py148 # Create the test functionCOMMENT
MEDIUMpython/cuda_cccl/tests/compute/conftest.py17# Define a pytest fixture that returns random arrays with different dtypesCOMMENT
MEDIUMpython/cuda_cccl/tests/compute/conftest.py63# 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
MEDIUM…uda_cccl/tests/compute/examples/raw_op/cpp_stateful.py78# Create a stateful RawOp with the state bytesSTRING
MEDIUM…ts/compute/examples/transform/unary_transform_basic.py21# Define the unary operation.COMMENT
MEDIUM…/compute/examples/transform/binary_transform_object.py26# Create the binary transform object.COMMENT
19 more matches not shown…
Decorative Section Separators68 hits · 231 pts
SeverityFileLineSnippetContext
MEDIUMpython/cuda_cccl/cuda/compute/_jit.py143# -----------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_cccl/cuda/compute/_jit.py145# -----------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_cccl/cuda/compute/_jit.py421# -----------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_cccl/cuda/compute/_jit.py423# -----------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_cccl/cuda/compute/_jit.py572# -----------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_cccl/cuda/compute/_jit.py574# -----------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_cccl/cuda/compute/_jit.py680# -----------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_cccl/cuda/compute/_jit.py682# -----------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_cccl/cuda/compute/iterators/_base.py27 # -----------COMMENT
MEDIUM…cccl/tests/compute/test_void_ptr_wrapper_validation.py37# ---------------------------------------------------------------------------COMMENT
MEDIUM…cccl/tests/compute/test_void_ptr_wrapper_validation.py39# ---------------------------------------------------------------------------COMMENT
MEDIUM…cccl/tests/compute/test_void_ptr_wrapper_validation.py66# ---------------------------------------------------------------------------COMMENT
MEDIUM…cccl/tests/compute/test_void_ptr_wrapper_validation.py68# ---------------------------------------------------------------------------COMMENT
MEDIUM…cccl/tests/compute/test_void_ptr_wrapper_validation.py90# ---------------------------------------------------------------------------COMMENT
MEDIUM…cccl/tests/compute/test_void_ptr_wrapper_validation.py92# ---------------------------------------------------------------------------COMMENT
MEDIUM…cuda_cccl/tests/compute/test_multi_cc_serialization.py56# ----------------------------------------------------------------------------COMMENT
MEDIUM…cuda_cccl/tests/compute/test_multi_cc_serialization.py58# ----------------------------------------------------------------------------COMMENT
MEDIUM…cuda_cccl/tests/compute/test_multi_cc_serialization.py83# ----------------------------------------------------------------------------COMMENT
MEDIUM…cuda_cccl/tests/compute/test_multi_cc_serialization.py85# ----------------------------------------------------------------------------COMMENT
MEDIUM…cuda_cccl/tests/compute/test_multi_cc_serialization.py117# ----------------------------------------------------------------------------COMMENT
MEDIUM…cuda_cccl/tests/compute/test_multi_cc_serialization.py119# ----------------------------------------------------------------------------COMMENT
MEDIUM…cuda_cccl/tests/compute/test_multi_cc_serialization.py310# ----------------------------------------------------------------------------COMMENT
MEDIUM…cuda_cccl/tests/compute/test_multi_cc_serialization.py312# ----------------------------------------------------------------------------COMMENT
MEDIUM…cuda_cccl/tests/compute/test_multi_cc_serialization.py393# ----------------------------------------------------------------------------COMMENT
MEDIUM…cuda_cccl/tests/compute/test_multi_cc_serialization.py395# ----------------------------------------------------------------------------COMMENT
MEDIUM…cuda_cccl/tests/compute/test_multi_cc_serialization.py157# ----------------------------------------------------------------------------COMMENT
MEDIUM…cuda_cccl/tests/compute/test_multi_cc_serialization.py160# ----------------------------------------------------------------------------COMMENT
MEDIUMpython/cuda_cccl/benchmarks/compute/run_benchmarks.py44# ============================================================================COMMENT
MEDIUMpython/cuda_cccl/benchmarks/compute/run_benchmarks.py46# ============================================================================COMMENT
MEDIUMpython/cuda_cccl/benchmarks/compute/run_benchmarks.py135# ============================================================================COMMENT
MEDIUMpython/cuda_cccl/benchmarks/compute/run_benchmarks.py137# ============================================================================COMMENT
MEDIUMpython/cuda_cccl/benchmarks/compute/run_benchmarks.py254# ============================================================================COMMENT
MEDIUMpython/cuda_cccl/benchmarks/compute/run_benchmarks.py256# ============================================================================COMMENT
MEDIUMpython/cuda_cccl/benchmarks/compute/run_benchmarks.py373# ============================================================================COMMENT
MEDIUMpython/cuda_cccl/benchmarks/compute/run_benchmarks.py375# ============================================================================COMMENT
MEDIUMci/bench/compare_paths.sh121# ============================================================================COMMENT
MEDIUMci/bench/compare_paths.sh123# ============================================================================COMMENT
MEDIUMci/bench/compare_paths.sh254# ============================================================================COMMENT
MEDIUMci/bench/compare_paths.sh256# ============================================================================COMMENT
MEDIUMci/bench/compare_paths.sh436# ============================================================================COMMENT
MEDIUMci/bench/compare_paths.sh438# ============================================================================COMMENT
MEDIUMci/bench/compare_paths.sh553# ============================================================================COMMENT
MEDIUMci/bench/compare_paths.sh555# ============================================================================COMMENT
MEDIUMci/bench/compare_paths.sh651# ============================================================================COMMENT
MEDIUMci/bench/compare_paths.sh653# ============================================================================COMMENT
MEDIUMci/bench/compare_paths.sh736# ============================================================================COMMENT
MEDIUMci/bench/compare_paths.sh738# ============================================================================COMMENT
MEDIUMci/bench/compare_paths.sh808# ============================================================================COMMENT
MEDIUMci/bench/compare_paths.sh810# ============================================================================COMMENT
MEDIUMci/bench/compare_paths.sh937# ============================================================================COMMENT
MEDIUMci/bench/compare_paths.sh939# ============================================================================COMMENT
MEDIUMci/bench/compare_paths.sh1030# ============================================================================COMMENT
MEDIUMci/bench/compare_paths.sh1032# ============================================================================COMMENT
MEDIUMexamples/image_pipeline/detail.h23// ── Image generation ─────────────────────────────────────────────────COMMENT
MEDIUMexamples/image_pipeline/detail.h30// ── Printing / output helpers ────────────────────────────────────────COMMENT
MEDIUMexamples/image_pipeline/image_pipeline.h23// ── Constants ────────────────────────────────────────────────────────COMMENT
MEDIUMexamples/image_pipeline/image_pipeline.h47// ── Shared data structures ───────────────────────────────────────────COMMENT
MEDIUMc/parallel.v2/src/hostjit/CMakeLists.txt3# --------------------------------------------------------------------------COMMENT
MEDIUMc/parallel.v2/src/hostjit/CMakeLists.txt5# --------------------------------------------------------------------------COMMENT
MEDIUMc/parallel.v2/src/hostjit/CMakeLists.txt69# --------------------------------------------------------------------------COMMENT
8 more matches not shown…
Unused Imports217 hits · 192 pts
SeverityFileLineSnippetContext
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/coop/_experimental/_typing.py9CODE
LOWpython/cuda_cccl/cuda/coop/_experimental/_typing.py10CODE
LOWpython/cuda_cccl/cuda/coop/_experimental/_typing.py12CODE
LOWpython/cuda_cccl/cuda/coop/_experimental/__init__.py5CODE
LOWpython/cuda_cccl/cuda/coop/_experimental/__init__.py5CODE
LOWpython/cuda_cccl/cuda/coop/_experimental/__init__.py6CODE
LOW…hon/cuda_cccl/cuda/coop/_experimental/warp/__init__.py5CODE
LOW…hon/cuda_cccl/cuda/coop/_experimental/warp/__init__.py6CODE
LOW…hon/cuda_cccl/cuda/coop/_experimental/warp/__init__.py6CODE
LOW…hon/cuda_cccl/cuda/coop/_experimental/warp/__init__.py7CODE
LOW…ccl/cuda/coop/_experimental/block/_block_radix_sort.py28CODE
LOW…on/cuda_cccl/cuda/coop/_experimental/block/__init__.py5CODE
LOW…on/cuda_cccl/cuda/coop/_experimental/block/__init__.py5CODE
LOW…on/cuda_cccl/cuda/coop/_experimental/block/__init__.py9CODE
LOW…on/cuda_cccl/cuda/coop/_experimental/block/__init__.py9CODE
LOW…on/cuda_cccl/cuda/coop/_experimental/block/__init__.py10CODE
LOW…on/cuda_cccl/cuda/coop/_experimental/block/__init__.py11CODE
LOW…on/cuda_cccl/cuda/coop/_experimental/block/__init__.py11CODE
LOW…on/cuda_cccl/cuda/coop/_experimental/block/__init__.py15CODE
LOW…on/cuda_cccl/cuda/coop/_experimental/block/__init__.py15CODE
LOW…on/cuda_cccl/cuda/coop/_experimental/block/__init__.py16CODE
LOW…on/cuda_cccl/cuda/coop/_experimental/block/__init__.py16CODE
LOW…on/cuda_cccl/cuda/coop/_experimental/block/__init__.py16CODE
LOW…on/cuda_cccl/cuda/coop/_experimental/block/__init__.py16CODE
LOW…on/cuda_cccl/cuda/coop/_experimental/block/__init__.py16CODE
LOW…da_cccl/cuda/coop/_experimental/block/_block_reduce.py29CODE
LOW…ccl/cuda/coop/_experimental/block/_block_merge_sort.py27CODE
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__.py57CODE
LOWpython/cuda_cccl/cuda/compute/__init__.py58CODE
LOWpython/cuda_cccl/cuda/compute/__init__.py58CODE
LOWpython/cuda_cccl/cuda/compute/__init__.py58CODE
LOWpython/cuda_cccl/cuda/compute/__init__.py58CODE
LOWpython/cuda_cccl/cuda/compute/__init__.py58CODE
LOWpython/cuda_cccl/cuda/compute/__init__.py58CODE
LOWpython/cuda_cccl/cuda/compute/__init__.py58CODE
LOWpython/cuda_cccl/cuda/compute/__init__.py58CODE
LOWpython/cuda_cccl/cuda/compute/__init__.py58CODE
LOWpython/cuda_cccl/cuda/compute/__init__.py58CODE
LOWpython/cuda_cccl/cuda/compute/__init__.py58CODE
LOWpython/cuda_cccl/cuda/compute/__init__.py58CODE
LOWpython/cuda_cccl/cuda/compute/__init__.py58CODE
LOWpython/cuda_cccl/cuda/compute/__init__.py58CODE
LOWpython/cuda_cccl/cuda/compute/__init__.py58CODE
LOWpython/cuda_cccl/cuda/compute/__init__.py58CODE
LOWpython/cuda_cccl/cuda/compute/__init__.py58CODE
LOWpython/cuda_cccl/cuda/compute/__init__.py58CODE
LOWpython/cuda_cccl/cuda/compute/__init__.py58CODE
LOWpython/cuda_cccl/cuda/compute/__init__.py58CODE
157 more matches not shown…
Excessive Try-Catch Wrapping46 hits · 57 pts
SeverityFileLineSnippetContext
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/coop/_experimental/_common.py222 except Exception as e:CODE
LOWpython/cuda_cccl/cuda/coop/_experimental/_common.py236 except Exception as e:CODE
LOWpython/cuda_cccl/cuda/coop/_experimental/_common.py264 except Exception as e:CODE
LOWpython/cuda_cccl/cuda/compute/types.py255 except Exception:CODE
MEDIUMpython/cuda_cccl/cuda/compute/types.py252def signature_from_annotations(py_func):CODE
LOWpython/cuda_cccl/cuda/compute/_cccl_interop.py402 except Exception as e:CODE
LOWpython/cuda_cccl/cuda/compute/_bindings.py71 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.py133 except Exception as e:CODE
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.py109 except Exception:CODE
LOWpython/cuda_cccl/benchmarks/compute/run_benchmarks.py245 except Exception as exc: # noqa: BLE001CODE
MEDIUM…a_cccl/benchmarks/compute/host/host_benchmark_cases.py95def _numba_cuda_skip_reason() -> str | None:CODE
LOW…a_cccl/benchmarks/compute/host/host_benchmark_cases.py98 except Exception as exc:CODE
LOWdocs/conf.py33 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.py1283 except Exception:CODE
LOWdocs/_ext/auto_api_generator.py1295 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
LOWbenchmarks/scripts/cccl/bench/storage.py321 except Exception:CODE
LOWbenchmarks/scripts/cccl/bench/storage.py341 except Exception as e:CODE
LOWbenchmarks/scripts/cccl/bench/storage.py349 except Exception as e:CODE
LOWbenchmarks/scripts/cccl/bench/storage.py373 except Exception as e:CODE
LOWbenchmarks/scripts/cccl/bench/search.py114 except Exception as e:CODE
LOW…/actions/workflow-results/prepare-execution-summary.py383 except Exception:CODE
MEDIUM.github/actions/workflow-build/build-workflow.py1440 print(f"Error: Matrix file '{args.matrix_file}' does not exist.")CODE
MEDIUM…ub/actions/workflow-build/prepare-workflow-dispatch.py91 print(f"Error: Matrix file '{args.workflow_json}' not found.")CODE
LOWlibcudacxx/test/utils/libcudacxx/compiler.py168 except Exception:CODE
LOWlibcudacxx/test/utils/libcudacxx/compiler.py382 except Exception:CODE
LOWlibcudacxx/test/utils/libcudacxx/test/tracing.py26 except Exception as ex:CODE
Deep Nesting63 hits · 52 pts
SeverityFileLineSnippetContext
LOWpython/cuda_cccl/merge_cuda_wheels.py46CODE
LOWpython/cuda_cccl/cuda/coop/_experimental/_types.py630CODE
LOWpython/cuda_cccl/cuda/coop/_experimental/_types.py795CODE
LOWpython/cuda_cccl/cuda/coop/_experimental/_types.py808CODE
LOWpython/cuda_cccl/cuda/coop/_experimental/_types.py809CODE
LOWpython/cuda_cccl/cuda/coop/_experimental/_common.py121CODE
LOWpython/cuda_cccl/cuda/coop/_experimental/_scan_op.py111CODE
LOW…cuda_cccl/cuda/coop/_experimental/block/_block_scan.py104CODE
LOWpython/cuda_cccl/cuda/compute/_caching.py189CODE
LOWpython/cuda_cccl/cuda/compute/struct.py181CODE
LOWpython/cuda_cccl/cuda/compute/_jit.py158CODE
LOWpython/cuda_cccl/cuda/compute/_jit.py801CODE
LOWpython/cuda_cccl/cuda/compute/_jit.py203CODE
LOWpython/cuda_cccl/cuda/compute/_utils/protocols.py88CODE
LOWpython/cuda_cccl/tests/test_examples.py23CODE
LOWpython/cuda_cccl/tests/test_examples.py71CODE
LOW…/cuda_cccl/tests/coop/_experimental/test_block_scan.py180CODE
LOW…/cuda_cccl/tests/coop/_experimental/test_block_scan.py746CODE
LOWpython/cuda_cccl/tests/compute/test_reduce.py33CODE
LOWpython/cuda_cccl/tests/compute/test_histogram.py42CODE
LOWpython/cuda_cccl/benchmarks/compute/run_benchmarks.py259CODE
LOWci/ninja_summary.py165CODE
LOWci/ninja_summary.py331CODE
LOWci/inspect_changes.py406CODE
LOWci/util/pre-commit/strip_unprintable.py58CODE
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.py390CODE
LOWbenchmarks/scripts/cccl/bench/bench.py440CODE
LOWbenchmarks/scripts/cccl/bench/bench.py592CODE
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.py615CODE
LOW.github/actions/workflow-build/build-workflow.py750CODE
LOW.github/actions/workflow-build/build-workflow.py1010CODE
LOW.github/actions/workflow-build/build-workflow.py1074CODE
LOW…ub/actions/workflow-build/prepare-workflow-dispatch.py25CODE
LOWcudax/scripts/stf/dot_cleanup.py51CODE
LOWcudax/scripts/stf/dot_cleanup.py126CODE
LOWlibcudacxx/test/utils/libcudacxx/compiler.py98CODE
LOWlibcudacxx/test/utils/libcudacxx/util.py257CODE
LOWlibcudacxx/test/utils/libcudacxx/test/config.py362CODE
LOWlibcudacxx/test/utils/libcudacxx/test/config.py709CODE
LOWlibcudacxx/test/utils/libcudacxx/test/config.py810CODE
LOWlibcudacxx/test/utils/libcudacxx/test/config.py1061CODE
LOWlibcudacxx/test/utils/libcudacxx/test/config.py1098CODE
3 more matches not shown…
Redundant / Tautological Comments32 hits · 48 pts
SeverityFileLineSnippetContext
LOWpython/cuda_cccl/cuda/coop/_experimental/_common.py243 # Check if string starts with "np." and is followed by aCOMMENT
LOWpython/cuda_cccl/cuda/coop/_experimental/_common.py256 # Check if it's a valid numpy type.COMMENT
LOWpython/cuda_cccl/cuda/compute/types.py166 # 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.py87 # 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.py176 # 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_common.sh24# 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.py1276 # 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.py1343 # Check if the extended cuda images are needed:COMMENT
LOW.github/actions/workflow-build/build-workflow.py1438 # 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.py1186 # Check if the compiler supports the color diagnostics flag. Issue aCOMMENT
LOWlibcudacxx/test/utils/libcudacxx/test/config.py1461 # Check if the host is on an Apple platform using clang.COMMENT
LOWlibcudacxx/test/utils/libcudacxx/test/format.py121 # Check if a result for the test was returned. If so return thatCOMMENT
Dead Code21 hits · 41 pts
SeverityFileLineSnippetContext
MEDIUM…cccl/tests/coop/_experimental/test_block_radix_sort.py147CODE
MEDIUM…cccl/tests/coop/_experimental/test_block_radix_sort.py148CODE
MEDIUM…cccl/tests/coop/_experimental/test_block_radix_sort.py149CODE
MEDIUM…cccl/tests/coop/_experimental/test_block_radix_sort.py151CODE
MEDIUM…cccl/tests/coop/_experimental/test_block_radix_sort.py156CODE
MEDIUM…cccl/tests/coop/_experimental/test_block_radix_sort.py158CODE
MEDIUM…cccl/tests/coop/_experimental/test_block_radix_sort.py163CODE
MEDIUM…cccl/tests/coop/_experimental/test_block_radix_sort.py166CODE
MEDIUM…cccl/tests/coop/_experimental/test_block_radix_sort.py189CODE
MEDIUM…cccl/tests/coop/_experimental/test_block_radix_sort.py190CODE
MEDIUM…cccl/tests/coop/_experimental/test_block_radix_sort.py191CODE
MEDIUM…cccl/tests/coop/_experimental/test_block_radix_sort.py192CODE
MEDIUM…cccl/tests/coop/_experimental/test_block_radix_sort.py193CODE
MEDIUM…cccl/tests/coop/_experimental/test_block_radix_sort.py194CODE
MEDIUM…cccl/tests/coop/_experimental/test_block_radix_sort.py195CODE
MEDIUM…cccl/tests/coop/_experimental/test_block_radix_sort.py199CODE
MEDIUM…cccl/tests/coop/_experimental/test_block_radix_sort.py200CODE
MEDIUM…cccl/tests/coop/_experimental/test_block_radix_sort.py201CODE
MEDIUM…cccl/tests/coop/_experimental/test_block_radix_sort.py204CODE
MEDIUM…cccl/tests/coop/_experimental/test_block_radix_sort.py205CODE
MEDIUM…cccl/tests/coop/_experimental/test_block_radix_sort.py206CODE
AI Slop Vocabulary13 hits · 28 pts
SeverityFileLineSnippetContext
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.sh327 # 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/std/__complex/nvbf16.h228 // We can utilize vectorized operations for those operatorsCOMMENT
MEDIUMlibcudacxx/include/cuda/std/__complex/nvfp16.h228 // We can utilize vectorized operations for those operatorsCOMMENT
LOWlibcudacxx/codegen/add_ptx_instruction.py124 # just add as first new include. clang-format will sort it inSTRING
LOWlibcudacxx/codegen/add_ptx_instruction.py137 # just add as first new includeCOMMENT
Modern Structural Boilerplate22 hits · 22 pts
SeverityFileLineSnippetContext
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/coop/_experimental/__init__.py8__all__ = ["block", "warp", "StatefulFunction"]CODE
LOW…hon/cuda_cccl/cuda/coop/_experimental/warp/__init__.py9__all__ = ["make_exclusive_sum", "make_reduce", "make_sum", "make_merge_sort_keys"]CODE
LOW…on/cuda_cccl/cuda/coop/_experimental/block/__init__.py24__all__ = [CODE
LOWpython/cuda_cccl/cuda/compute/determinism.py5__all__ = ["Determinism"]CODE
LOWpython/cuda_cccl/cuda/compute/types.py275__all__ = [CODE
LOWpython/cuda_cccl/cuda/compute/op.py248__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.py1051__all__ = [CODE
LOWpython/cuda_cccl/cuda/compute/_utils/__init__.py5__all__ = ["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.py280__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
Docstring Block Structure3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHpython/cuda_cccl/cuda/coop/_experimental/_common.py122 Normalize the dim parameter to a `dim3` (x, y, z) instance. The logic for this routine is as follows: - ISTRING
HIGHpython/cuda_cccl/cuda/coop/_experimental/_common.py182 Normalize the dtype parameter to an appropriate Numba type. The logic for this routine is as follows: - ISTRING
HIGHpython/cuda_cccl/cuda/compute/_jit.py802 Transform a function to add state arrays captured as globals or closures as explicit parameters. For exampSTRING
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
Verbosity Indicators7 hits · 10 pts
SeverityFileLineSnippetContext
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.py850 # So, first we need to check if NVCC supports the dialect...COMMENT
LOWlibcudacxx/test/utils/libcudacxx/test/config.py855 # ... then we need to check if host compiler supports theCOMMENT
LOWlibcudacxx/include/cuda/__nvtx/nvtx3.h25/* This section handles the decision of whether to provide unversioned symbols.COMMENT
Structural Annotation Overuse4 hits · 6 pts
SeverityFileLineSnippetContext
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
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
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
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM…/cuda_cccl/tests/coop/_experimental/test_block_scan.py766 # We skip raking_memoize in this test for brevity, but you can add it ifCOMMENT
AI Structural Patterns2 hits · 2 pts
SeverityFileLineSnippetContext
LOWcudax/scripts/stf/dot_cleanup.py160CODE
LOWlibcudacxx/test/utils/libcudacxx/compiler.py22CODE
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