NumPy & SciPy for GPU
This report summarizes scanner evidence for cupy/cupy, a Python project with 12,362 GitHub stars. SynthScan examined 262,551 lines of code across 945 source files, recording 4826 pattern matches distributed across 21 syntactic categories. The legacy adjusted pattern signal is 21.6 (Elevated pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 2239 finding(s).
Are imports declared and package/API names verified? 2299 finding(s).
Are wrappers, guards, and repeated structures necessary? 2103 finding(s).
Which changes need focused human review? 4826 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 4826 distinct pattern matches across 21 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .pfnci/generate.py | 641 | def expand_inherited_matrixes(matrixes: list[Matrix]) -> None: | CODE |
| LOW | install/cupy_builder/cupy_setup_build.py | 80 | def canonicalize_hip_libraries(hip_version, libraries): | CODE |
| LOW | install/cupy_builder/_command.py | 21 | def filter_files_by_extension( | CODE |
| LOW | install/cupy_builder/install_build.py | 255 | def get_compiler_base_options(compiler_path: list[str]) -> list[str]: | CODE |
| LOW | install/cupy_builder/install_build.py | 265 | def _get_compiler_base_options(compiler_path): | CODE |
| LOW | install/cupy_builder/install_build.py | 355 | def check_compute_capabilities(compiler, settings): | STRING |
| LOW | ci/tools/fetch_ctk_redistrib.py | 99 | def get_component_relative_path(metadata: dict[str, Any], *, host_platform: str, component: str) -> str: | CODE |
| LOW | tests/conftest.py | 119 | def pytest_collection_modifyitems(session, config, items): | CODE |
| LOW | tests/example_tests/test_finance.py | 49 | def test_monte_carlo_multigpu(self): | CODE |
| LOW | tests/cupy_tests/test_cublas.py | 27 | def _make_well_conditioned_matrices(self, shape): | CODE |
| LOW | tests/cupy_tests/test_cublas.py | 589 | def _check_dgmm_incx_minus_one_hip_skip_condition(self): | CODE |
| LOW | tests/cupy_tests/test_type_routines.py | 12 | def _generate_type_routines_input(xp, dtype, obj_type): | CODE |
| LOW | tests/cupy_tests/test_type_routines.py | 53 | def test_common_type_single_argument(self, xp, dtype): | CODE |
| LOW | tests/cupy_tests/test_type_routines.py | 62 | def test_common_type_two_arguments(self, xp, dtype1, dtype2): | CODE |
| LOW | tests/cupy_tests/test_init.py | 60 | def test_testing_import_does_not_require_pytest(): | STRING |
| LOW | tests/cupy_tests/test_init.py | 121 | def test_get_default_memory_pool(self): | STRING |
| LOW | tests/cupy_tests/test_init.py | 125 | def test_get_default_pinned_memory_pool(self): | STRING |
| LOW | tests/cupy_tests/test_init.py | 138 | def test_show_config_with_handles(self): | STRING |
| LOW | tests/cupy_tests/test_init.py | 155 | def test_bitwise_not_is_invert(self): | STRING |
| LOW | tests/cupy_tests/manipulation_tests/test_rearrange.py | 51 | def test_roll_invalid_shift_castable(self): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_rearrange.py | 64 | def test_roll_invalid_axis_type(self): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_rearrange.py | 86 | def test_roll_invalid_cupy_shift(self): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_rearrange.py | 111 | def test_fliplr_insufficient_ndim(self, dtype): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_rearrange.py | 133 | def test_flipud_insufficient_ndim(self, dtype): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_rearrange.py | 162 | def test_flip_with_negative_axis(self, xp, dtype): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_rearrange.py | 168 | def test_flip_with_axis_tuple(self, xp, dtype): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_rearrange.py | 203 | def test_flip_insufficient_ndim(self, dtype): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_rearrange.py | 217 | def test_flip_invalid_negative_axis(self, dtype): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_basic.py | 27 | def test_copyto_different_contiguity(self, xp, dtype): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_basic.py | 72 | def test_copyto_squeeze_different_contiguity(self, xp, dtype): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_basic.py | 80 | def test_copyto_squeeze_broadcast(self, xp, dtype): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_basic.py | 96 | def test_copyto_overlapping_where(self, xp): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_basic.py | 103 | def test_copyto_where_squeeze_broadcast(self, xp, dtype): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_basic.py | 120 | def _check_copyto_where_multigpu_raises(self, dtype, ngpus): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_basic.py | 155 | def test_copyto_where_multigpu_raises(self, dtype): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_basic.py | 185 | def test_copyto_multigpu_noncontinguous(self, dtype): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_split.py | 21 | def test_array_split_empty_array(self, xp): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_split.py | 26 | def test_array_split_empty_sections(self, xp): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_split.py | 41 | def test_array_split_unordered_sections(self, xp): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_split.py | 46 | def test_array_split_non_divisible(self, xp): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_split.py | 91 | def test_split_unordered_sections(self, xp): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_kind.py | 23 | def test_asarray_chkfinite_non_finite_vals(self, dtype, order): | CODE |
| LOW⚡ | tests/cupy_tests/manipulation_tests/test_kind.py | 107 | def test_require_incorrect_requirments(self, dtype): | CODE |
| LOW⚡ | tests/cupy_tests/manipulation_tests/test_kind.py | 113 | def test_require_incorrect_dtype(self, dtype): | CODE |
| LOW⚡ | tests/cupy_tests/manipulation_tests/test_kind.py | 119 | def test_require_empty_requirements(self, dtype): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_transpose.py | 171 | def test_external_transpose_all(self, xp): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_transpose.py | 200 | def test_matrix_transpose_equals_swapaxes(self, xp, shape): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_shape.py | 83 | def test_nocopy_reshape_with_order(self, xp, dtype, order): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_shape.py | 101 | def test_copy_arg_str_reshape_raises(self): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_shape.py | 109 | def test_copy_arg_false_reshape_raises(self): | CODE |
| LOW⚡ | tests/cupy_tests/manipulation_tests/test_shape.py | 124 | def test_reshape_with_unknown_dimension(self, xp, order): | CODE |
| LOW⚡ | tests/cupy_tests/manipulation_tests/test_shape.py | 128 | def test_reshape_with_multiple_unknown_dimensions(self): | CODE |
| LOW⚡ | tests/cupy_tests/manipulation_tests/test_shape.py | 136 | def test_reshape_with_changed_arraysize(self): | CODE |
| LOW⚡ | tests/cupy_tests/manipulation_tests/test_shape.py | 143 | def test_reshape_invalid_order(self): | CODE |
| LOW⚡ | tests/cupy_tests/manipulation_tests/test_shape.py | 149 | def test_reshape_zerosize_invalid(self): | CODE |
| LOW⚡ | tests/cupy_tests/manipulation_tests/test_shape.py | 156 | def test_reshape_zerosize_invalid_unknown(self): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_shape.py | 243 | def test_ravel_non_contiguous(self, xp, order): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_tiling.py | 194 | def test_numpy_scalar_accepted(self): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_tiling.py | 199 | def test_numpy_ndarray_rejected(self): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_tiling.py | 215 | def test_float_dtype_matches_numpy(self): | CODE |
| 1647 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 2 | CODE | |
| LOW | .pfnci/generate.py | 2 | CODE | |
| LOW | .pfnci/trim_cupy_kernel_cache.py | 13 | CODE | |
| LOW | .pfnci/flexci_notify.py | 4 | CODE | |
| LOW | install/cupy_builder/_compiler.py | 1 | CODE | |
| LOW | install/cupy_builder/cupy_setup_build.py | 2 | CODE | |
| LOW | install/cupy_builder/_command.py | 1 | CODE | |
| LOW | install/cupy_builder/install_build.py | 2 | CODE | |
| LOW | install/cupy_builder/_features.py | 1 | CODE | |
| LOW | install/cupy_builder/__init__.py | 1 | CODE | |
| LOW | install/cupy_builder/__init__.py | 4 | CODE | |
| LOW | install/cupy_builder/__init__.py | 5 | CODE | |
| LOW | install/cupy_builder/__init__.py | 6 | CODE | |
| LOW | install/cupy_builder/__init__.py | 8 | CODE | |
| LOW | install/cupy_builder/__init__.py | 10 | CODE | |
| LOW | install/cupy_builder/__init__.py | 11 | CODE | |
| LOW | install/cupy_builder/__init__.py | 12 | CODE | |
| LOW | install/cupy_builder/_context.py | 1 | CODE | |
| LOW | install/cupy_builder/_environment.py | 1 | CODE | |
| LOW | install/cupy_builder/_preflight.py | 1 | CODE | |
| LOW | install/cupy_builder/install_utils.py | 1 | CODE | |
| LOW | cupy_backends/cuda/libs/__init__.py | 1 | CODE | |
| LOW | ci/tools/fetch_ctk_redistrib.py | 4 | CODE | |
| LOW | ci/tools/prepare_sdist_build.py | 15 | CODE | |
| LOW | ci/tools/wheel_configs.py | 9 | CODE | |
| LOW | ci/tools/prepare_wheel_build.py | 31 | CODE | |
| LOW | tests/conftest.py | 1 | CODE | |
| LOW | tests/conftest.py | 24 | CODE | |
| LOW | tests/example_tests/test_finance.py | 1 | CODE | |
| LOW | tests/example_tests/example_test.py | 1 | CODE | |
| LOW | tests/example_tests/test_custom_struct.py | 1 | CODE | |
| LOW | tests/example_tests/test_gmm.py | 1 | CODE | |
| LOW | tests/example_tests/test_gemm.py | 1 | CODE | |
| LOW | tests/example_tests/test_kmeans.py | 1 | CODE | |
| LOW | tests/cupy_tests/_gcp_kernel_cache_backend.py | 16 | CODE | |
| LOW | tests/cupy_tests/test_typing.py | 1 | CODE | |
| LOW | tests/cupy_tests/test_cublas.py | 1 | CODE | |
| LOW | tests/cupy_tests/test_type_routines.py | 1 | CODE | |
| LOW | tests/cupy_tests/test_init.py | 1 | CODE | |
| LOW | tests/cupy_tests/test_ndim.py | 1 | CODE | |
| LOW | tests/cupy_tests/test_numpy_interop.py | 1 | CODE | |
| LOW | tests/cupy_tests/manipulation_tests/test_rearrange.py | 1 | CODE | |
| LOW | tests/cupy_tests/manipulation_tests/test_basic.py | 1 | CODE | |
| LOW | tests/cupy_tests/manipulation_tests/test_split.py | 1 | CODE | |
| LOW | tests/cupy_tests/manipulation_tests/test_kind.py | 1 | CODE | |
| LOW | tests/cupy_tests/manipulation_tests/test_transpose.py | 1 | CODE | |
| LOW | tests/cupy_tests/manipulation_tests/test_shape.py | 1 | CODE | |
| LOW | tests/cupy_tests/manipulation_tests/test_tiling.py | 1 | CODE | |
| LOW | tests/cupy_tests/manipulation_tests/test_join.py | 1 | CODE | |
| LOW | tests/cupy_tests/manipulation_tests/test_add_remove.py | 1 | CODE | |
| LOW | tests/cupy_tests/manipulation_tests/test_dims.py | 1 | CODE | |
| LOW | tests/cupy_tests/fft_tests/test_callback.py | 1 | CODE | |
| LOW | tests/cupy_tests/fft_tests/test_fft.py | 1 | CODE | |
| LOW | tests/cupy_tests/fft_tests/test_cache.py | 1 | CODE | |
| LOW | tests/cupy_tests/polynomial_tests/test_polynomial.py | 1 | CODE | |
| LOW | tests/cupy_tests/polynomial_tests/test_polyutils.py | 1 | CODE | |
| LOW | tests/cupy_tests/linalg_tests/test_eigenvalue.py | 1 | CODE | |
| LOW | tests/cupy_tests/linalg_tests/test_solve.py | 1 | CODE | |
| LOW | tests/cupy_tests/linalg_tests/test_norms.py | 1 | CODE | |
| LOW | tests/cupy_tests/linalg_tests/test_product.py | 1 | CODE | |
| 2098 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | .pfnci/generate.py | 111 | ' ( apt-get -qqy update || true ) && \\', | CODE |
| HIGH | .pfnci/generate.py | 278 | 'RUN mkdir /home/cupy-user && chmod 777 /home/cupy-user', | CODE |
| HIGH | tests/cupy_tests/cuda_tests/test_texture.py | 120 | if (x < width && y < height) | CODE |
| HIGH | tests/cupy_tests/cuda_tests/test_texture.py | 136 | if (x < width && y < height && z < depth) | CODE |
| HIGH | tests/cupy_tests/cuda_tests/test_texture.py | 156 | if (x < width && y < height && z < depth) { | CODE |
| HIGH | tests/cupy_tests/cuda_tests/test_texture.py | 345 | if (w < width && h < height) | STRING |
| HIGH | tests/cupy_tests/cuda_tests/test_texture.py | 360 | if (w < width && h < height && d < depth) | STRING |
| HIGH⚡ | tests/cupy_tests/cuda_tests/test_memory.py | 510 | self.pool.free_all_blocks(stream=stream_module.Stream.null) | CODE |
| HIGH | tests/cupy_tests/cuda_tests/test_stream.py | 63 | def check_del(self, null, ptds): | CODE |
| HIGH | tests/cupy_tests/cuda_tests/test_stream.py | 64 | stream = cuda.Stream(null=null, ptds=ptds).use() | CODE |
| HIGH | tests/cupy_tests/cuda_tests/test_stream.py | 88 | self.check_del(null=null, ptds=ptds) | CODE |
| HIGH | tests/cupy_tests/core_tests/test_mdspan.py | 59 | if (threadIdx.x == 0 && blockIdx.x == 0) { | CODE |
| HIGH | cupy/_logic/truth.py | 13 | 'z = (i == 0 || X[i] != X[i-1]) && (i == len - 1 || X[i] != X[i+1])', | CODE |
| HIGH | cupy/_binary/packing.py | 16 | int bit = k < a_size && a[k] != 0; | STRING |
| HIGH | cupy/_binary/packing.py | 30 | int bit = k < a_size && a[k] != 0; | STRING |
| HIGH | cupy/_statistics/meanvar.py | 24 | undefined, but it will probably be fully or partially sorted. | STRING |
| HIGH | cupy/_statistics/meanvar.py | 53 | undefined, but it will probably be fully or partially sorted. | STRING |
| HIGH | cupy/_core/_fusion_op.py | 309 | if (tid < block_stride && i < out_ind.size()) { | CODE |
| HIGH | cupy/_sorting/search.py | 268 | if (!assume_increasing && n_bins >= 2) { | CODE |
| HIGH⚡ | cupy/_sorting/search.py | 279 | while (pos > 0 && _isnan<T>(bins[pos-1])) { | CODE |
| HIGH⚡ | cupy/_sorting/search.py | 283 | while (pos < n_bins && _isnan<T>(bins[pos])) { | CODE |
| HIGH⚡ | cupy/_sorting/search.py | 293 | greater = inc && x >= bins[n_bins-1]; | CODE |
| HIGH | cupy/_padding/pad.py | 669 | # (padded area is undefined) | COMMENT |
| HIGH | cupy/_math/misc.py | 236 | if (in0 < 0 || in0 > 0) { | CODE |
| HIGH | cupy/random/_kernels.py | 850 | while (r2 >= 1.0 || r2 == 0.0); | CODE |
| HIGH⚡ | cupyx/signal/_radartools/_radartools.py | 265 | if (i>0 && j>0){ | CODE |
| HIGH⚡ | cupyx/signal/_radartools/_radartools.py | 268 | } else if (i == 0 && j > 0){ | CODE |
| HIGH⚡ | cupyx/signal/_radartools/_radartools.py | 270 | } else if (i > 0 && j == 0){ | CODE |
| HIGH⚡ | cupyx/signal/_radartools/_radartools.py | 272 | } else if (i == 0 && j == 0){ | CODE |
| HIGH | cupyx/signal/_filtering/_filtering.py | 337 | if ( btx < n_chans && ty < n_taps ) { | CODE |
| HIGH | cupyx/signal/_filtering/_filtering.py | 359 | if ( btx < n_chans && ty < n_taps ) { | CODE |
| HIGH | cupyx/signal/_filtering/_filtering.py | 369 | if ( btx < n_chans && ty <= bid ) { | CODE |
| HIGH | cupyx/signal/_filtering/_filtering.py | 458 | if ( btx < n_chans && ty < n_taps ) { | CODE |
| HIGH | cupyx/signal/_filtering/_filtering.py | 480 | if ( btx < n_chans && ty < n_taps ) { | CODE |
| HIGH | cupyx/signal/_filtering/_filtering.py | 490 | if ( btx < n_chans && ty <= bid ) { | CODE |
| HIGH | cupyx/signal/_filtering/_filtering.py | 578 | if ( btx < n_chans && ty < n_taps ) { | CODE |
| HIGH | cupyx/signal/_filtering/_filtering.py | 600 | if ( btx < n_chans && ty < n_taps ) { | CODE |
| HIGH | cupyx/signal/_filtering/_filtering.py | 610 | if ( btx < n_chans && ty <= bid ) { | CODE |
| HIGH | cupyx/scipy/ndimage/_measurements.py | 161 | if (pos < 0 || pos >= dim_size) { | STRING |
| HIGH | cupyx/scipy/ndimage/_filters.py | 1221 | while (j >= 0 && value < array[j]) {{ | CODE |
| HIGH | cupyx/scipy/special/_expn.py | 230 | } else if (n < 0 || x < 0) { | CODE |
| HIGH | cupyx/scipy/special/_stats_distributions.py | 122 | if (p < 0.0 || p > 1.0 || fk < 0 || n < fk) { | STRING |
| HIGH | cupyx/scipy/special/_stats_distributions.py | 164 | if (p < 0.0 || p > 1.0 || n < fk) { | STRING |
| HIGH | cupyx/scipy/special/_stats_distributions.py | 213 | if (y < 0.0 || y > 1.0 || fk < 0.0 || n <= fk) { | STRING |
| HIGH | cupyx/scipy/special/_stats_distributions.py | 615 | if (w > y || y < 0.001) { | STRING |
| HIGH | cupyx/scipy/special/_stats_distributions.py | 843 | if (((p < 0.0) || (p > 1.0)) || k < 0 || n == 0) | STRING |
| HIGH | cupyx/scipy/special/_zetac.py | 286 | else if (x < 0.0 && x > -0.01) | CODE |
| HIGH | cupyx/scipy/special/_gammainc.py | 653 | if (x < 0 || a < 0) { | CODE |
| HIGH | cupyx/scipy/special/_gammainc.py | 708 | if (x < 0 || a < 0) { | CODE |
| HIGH | cupyx/scipy/special/_ellip.py | 138 | if (m < 0.0 || m > 1.0 || isnan(m)) { | CODE |
| HIGH | cupyx/scipy/special/_beta.py | 212 | if (b == (int)b && 1 - a - b > 0) { | CODE |
| HIGH | cupyx/scipy/special/_beta.py | 259 | if (fabs(y) > MAXGAM || fabs(a) > MAXGAM || fabs(b) > MAXGAM) { | CODE |
| HIGH | cupyx/scipy/special/_beta.py | 306 | if (b == (int)b && 1 - a - b > 0) { | CODE |
| HIGH | cupyx/scipy/special/_beta.py | 357 | if (fabs(y) > MAXGAM || fabs(a) > MAXGAM || fabs(b) > MAXGAM) { | CODE |
| HIGH⚡ | cupyx/scipy/special/_beta.py | 482 | if (aa < 0.0 || bb < 0.0 || xx < 0 || xx > 1) { | CODE |
| HIGH⚡ | cupyx/scipy/special/_beta.py | 485 | if ((aa == 0 && bb == 0) || (isinf(aa) && isinf(bb))) { | CODE |
| HIGH⚡ | cupyx/scipy/special/_beta.py | 488 | if (aa == 0 || isinf(bb)) { | CODE |
| HIGH⚡ | cupyx/scipy/special/_beta.py | 491 | if (bb == 0 || isinf(aa)) { | CODE |
| HIGH | cupyx/scipy/special/_beta.py | 503 | if ((bb * xx) <= 1.0 && xx <= 0.95) { | CODE |
| HIGH | cupyx/scipy/special/_beta.py | 524 | if (flag == 1 && (b * x) <= 1.0 && x <= 0.95) { | CODE |
| 81 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/cupy_tests/lib_tests/test_polynomial.py | 494 | except TypeError: | CODE |
| HIGH | tests/cupy_tests/lib_tests/test_polynomial.py | 513 | except TypeError: | CODE |
| HIGH | tests/cupy_tests/cuda_tests/test_profile.py | 27 | except Exception: | CODE |
| HIGH | tests/cupy_tests/core_tests/test_ndarray_reduction.py | 28 | except ValueError: | CODE |
| HIGH | tests/cupy_tests/core_tests/test_ndarray_reduction.py | 35 | except ValueError: | CODE |
| HIGH | tests/cupyx_tests/test_cusparse.py | 13 | except ImportError: | CODE |
| HIGH | tests/cupyx_tests/test_optimize.py | 22 | except ImportError: | CODE |
| HIGH | …tests/signal_tests/radartools_tests/test_radartools.py | 7 | except ImportError: | CODE |
| HIGH | …x_tests/signal_tests/filtering_tests/test_filtering.py | 8 | except ImportError: | CODE |
| HIGH | …/cupyx_tests/scipy_tests/linalg_tests/test_matfuncs.py | 14 | except ImportError: | CODE |
| HIGH | …ests/scipy_tests/linalg_tests/test_special_matrices.py | 13 | except ImportError: | CODE |
| HIGH | …ts/cupyx_tests/scipy_tests/sparse_tests/test_linalg.py | 13 | except ImportError: | CODE |
| HIGH | …s/cupyx_tests/scipy_tests/sparse_tests/test_sparray.py | 12 | except ImportError: | CODE |
| HIGH | …sts/cupyx_tests/scipy_tests/sparse_tests/test_index.py | 10 | except ImportError: | CODE |
| HIGH | …_tests/scipy_tests/ndimage_tests/test_interpolation.py | 15 | except ImportError: | CODE |
| HIGH | …_tests/scipy_tests/ndimage_tests/test_interpolation.py | 20 | except ImportError: | CODE |
| HIGH | …x_tests/scipy_tests/ndimage_tests/test_measurements.py | 20 | except ImportError: | CODE |
| HIGH | …pyx_tests/scipy_tests/ndimage_tests/test_morphology.py | 12 | except ImportError: | CODE |
| HIGH | …s/scipy_tests/ndimage_tests/test_distance_transform.py | 16 | except ImportError: | CODE |
| HIGH | …/cupyx_tests/scipy_tests/ndimage_tests/test_filters.py | 16 | except ImportError: | CODE |
| HIGH | …/cupyx_tests/scipy_tests/ndimage_tests/test_fourier.py | 18 | except ImportError: | CODE |
| HIGH | …pyx_tests/scipy_tests/signal_tests/test_signaltools.py | 17 | except ImportError: | CODE |
| HIGH | …/cupyx_tests/scipy_tests/signal_tests/test_bsplines.py | 16 | except ImportError: | CODE |
| HIGH | …/cupyx_tests/scipy_tests/signal_tests/test_bsplines.py | 21 | except ImportError: | CODE |
| HIGH | …/cupyx_tests/scipy_tests/signal_tests/test_wavelets.py | 10 | except ImportError: | CODE |
| HIGH | …s/cupyx_tests/scipy_tests/signal_tests/test_splines.py | 14 | except ImportError: | CODE |
| HIGH | …ts/cupyx_tests/scipy_tests/signal_tests/test_ltisys.py | 15 | except ImportError: | CODE |
| HIGH | …x_tests/scipy_tests/signal_tests/test_filter_design.py | 18 | except ImportError: | CODE |
| HIGH | …x_tests/scipy_tests/signal_tests/test_filter_design.py | 23 | except ImportError: | CODE |
| HIGH | …sts/scipy_tests/signal_tests/test_iir_filter_design.py | 16 | except ImportError: | CODE |
| HIGH | …cupyx_tests/scipy_tests/signal_tests/test_waveforms.py | 14 | except ImportError: | CODE |
| HIGH | …yx_tests/scipy_tests/signal_tests/test_peak_finding.py | 16 | except ImportError: | CODE |
| HIGH | …cupyx_tests/scipy_tests/signal_tests/test_polyutils.py | 13 | except ImportError: | CODE |
| HIGH | …s/cupyx_tests/scipy_tests/spatial_tests/test_kdtree.py | 14 | except ImportError: | CODE |
| HIGH | …s/cupyx_tests/scipy_tests/spatial_tests/test_kdtree.py | 19 | except ImportError: | CODE |
| HIGH | …cupyx_tests/scipy_tests/spatial_tests/test_delaunay.py | 14 | except ImportError: | CODE |
| HIGH | tests/cupyx_tests/scipy_tests/stats_tests/test_stats.py | 14 | except ImportError: | CODE |
| HIGH | …yx_tests/scipy_tests/stats_tests/test_distributions.py | 17 | except ImportError: | CODE |
| HIGH | …yx_tests/scipy_tests/interpolate_tests/test_bspline.py | 14 | except ImportError: | CODE |
| HIGH | …x_tests/scipy_tests/interpolate_tests/test_bspline2.py | 13 | except ImportError: | CODE |
| HIGH | …x_tests/scipy_tests/interpolate_tests/test_interpnd.py | 12 | except ImportError: | CODE |
| HIGH | …x_tests/scipy_tests/interpolate_tests/test_interpnd.py | 17 | except ImportError: | CODE |
| HIGH | …yx_tests/scipy_tests/interpolate_tests/test_polyint.py | 20 | except ImportError: | CODE |
| HIGH | …tests/scipy_tests/interpolate_tests/test_ndgriddata.py | 11 | except ImportError: | CODE |
| HIGH | …x_tests/scipy_tests/interpolate_tests/test_fitpack2.py | 11 | except ImportError: | CODE |
| HIGH | …_tests/scipy_tests/interpolate_tests/test_ndbspline.py | 12 | except ImportError: | CODE |
| HIGH | …upyx_tests/scipy_tests/interpolate_tests/test_ppoly.py | 20 | except ImportError: | CODE |
| HIGH | …upyx_tests/scipy_tests/interpolate_tests/test_ppoly.py | 38 | except ValueError: | CODE |
| HIGH | …upyx_tests/scipy_tests/interpolate_tests/test_ppoly.py | 49 | except ValueError: | CODE |
| HIGH | …_tests/scipy_tests/interpolate_tests/test_rbfinterp.py | 18 | except ImportError: | CODE |
| HIGH | …upyx_tests/scipy_tests/special_tests/test_logsumexp.py | 11 | except ImportError: | CODE |
| HIGH | …sts/cupyx_tests/scipy_tests/special_tests/test_sici.py | 7 | except ImportError: | CODE |
| HIGH | …s/cupyx_tests/scipy_tests/special_tests/test_ellipk.py | 7 | except ImportError: | CODE |
| HIGH | …s/cupyx_tests/scipy_tests/special_tests/test_exprel.py | 12 | except ImportError: | CODE |
| HIGH | …ts/cupyx_tests/scipy_tests/special_tests/test_zetac.py | 12 | except ImportError: | CODE |
| HIGH | …sts/scipy_tests/special_tests/test_spherical_bessel.py | 10 | except ImportError: | CODE |
| HIGH | tests/cupyx_tests/profiler_tests/test_profile.py | 29 | except Exception: | CODE |
| HIGH | tests/cupyx_tests/profiler_tests/test_time_range.py | 40 | except Exception: | CODE |
| HIGH | tests/cupyx_tests/profiler_tests/test_time_range.py | 77 | except Exception: | CODE |
| HIGH | cupy/_environment.py | 161 | except DynamicLibNotFoundError: | CODE |
| 17 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .pfnci/generate.py | 534 | CODE | |
| LOW | .pfnci/generate.py | 569 | CODE | |
| LOW | .pfnci/generate.py | 669 | CODE | |
| LOW | .pfnci/generate.py | 337 | CODE | |
| LOW | install/cupy_builder/_compiler.py | 18 | CODE | |
| LOW | install/cupy_builder/cupy_setup_build.py | 94 | CODE | |
| LOW | install/cupy_builder/cupy_setup_build.py | 298 | CODE | |
| LOW | install/cupy_builder/install_build.py | 487 | CODE | |
| LOW | ci/tools/prepare_wheel_build.py | 105 | CODE | |
| LOW | tests/conftest.py | 119 | CODE | |
| LOW | tests/cupy_tests/manipulation_tests/test_basic.py | 120 | CODE | |
| LOW | tests/cupy_tests/fft_tests/test_callback.py | 359 | CODE | |
| LOW | tests/cupy_tests/fft_tests/test_callback.py | 788 | CODE | |
| LOW | tests/cupy_tests/fft_tests/test_fft.py | 25 | CODE | |
| LOW | tests/cupy_tests/fft_tests/test_fft.py | 39 | CODE | |
| LOW | tests/cupy_tests/fft_tests/test_fft.py | 41 | CODE | |
| LOW | tests/cupy_tests/linalg_tests/test_einsum.py | 33 | CODE | |
| LOW | tests/cupy_tests/misc_tests/test_memory_ranges.py | 68 | CODE | |
| LOW | tests/cupy_tests/cuda_tests/test_nccl.py | 96 | CODE | |
| LOW | tests/cupy_tests/cuda_tests/test_memory.py | 51 | CODE | |
| LOW | tests/cupy_tests/core_tests/test_multithreading.py | 19 | CODE | |
| LOW | tests/cupy_tests/core_tests/test_multithreading.py | 114 | CODE | |
| LOW | tests/cupy_tests/core_tests/test_multithreading.py | 142 | CODE | |
| LOW | tests/cupy_tests/core_tests/test_mdspan.py | 25 | CODE | |
| LOW | tests/cupy_tests/core_tests/test_include.py | 35 | CODE | |
| LOW | tests/cupy_tests/core_tests/test_dlpack.py | 26 | CODE | |
| LOW | tests/cupy_tests/core_tests/test_dlpack.py | 281 | CODE | |
| LOW | …sts/cupy_tests/core_tests/fusion_tests/fusion_utils.py | 14 | CODE | |
| LOW | …sts/cupy_tests/core_tests/fusion_tests/fusion_utils.py | 46 | CODE | |
| LOW | tests/typing_tests/test_typing.py | 48 | CODE | |
| LOW | tests/cupyx_tests/distributed_tests/test_array_nccl.py | 658 | CODE | |
| LOW | tests/cupyx_tests/jit_tests/test_raw.py | 795 | CODE | |
| LOW | …sts/cupyx_tests/scipy_tests/sparse_tests/test_index.py | 428 | CODE | |
| LOW | tests/cupyx_tests/scipy_tests/sparse_tests/test_csr.py | 1945 | CODE | |
| LOW | tests/cupyx_tests/scipy_tests/sparse_tests/test_csr.py | 1966 | CODE | |
| LOW | …x_tests/scipy_tests/ndimage_tests/test_measurements.py | 335 | CODE | |
| LOW | …/cupyx_tests/scipy_tests/ndimage_tests/test_filters.py | 108 | CODE | |
| LOW | …/cupyx_tests/scipy_tests/ndimage_tests/test_filters.py | 252 | CODE | |
| LOW | …x_tests/scipy_tests/signal_tests/test_filter_design.py | 230 | CODE | |
| LOW | …sts/scipy_tests/signal_tests/test_iir_filter_design.py | 200 | CODE | |
| LOW | …yx_tests/scipy_tests/interpolate_tests/test_bspline.py | 452 | CODE | |
| LOW | …upyx_tests/scipy_tests/interpolate_tests/test_ppoly.py | 603 | CODE | |
| LOW | cupy/_environment.py | 142 | CODE | |
| LOW | cupy/cublas.py | 29 | CODE | |
| LOW | cupy/cublas.py | 135 | CODE | |
| LOW | cupy/cublas.py | 168 | CODE | |
| LOW | cupy/cublas.py | 201 | CODE | |
| LOW | cupy/cublas.py | 315 | CODE | |
| LOW | cupy/cublas.py | 348 | CODE | |
| LOW | cupy/cublas.py | 432 | CODE | |
| LOW | cupy/cublas.py | 691 | CODE | |
| LOW | cupy/cublas.py | 784 | CODE | |
| LOW | cupy/cublas.py | 872 | CODE | |
| LOW | cupy/cublas.py | 932 | CODE | |
| LOW | cupy/_statistics/histogram.py | 128 | CODE | |
| LOW | cupy/_statistics/histogram.py | 187 | CODE | |
| LOW | cupy/_statistics/histogram.py | 299 | CODE | |
| LOW | cupy/_statistics/histogram.py | 527 | CODE | |
| LOW | cupy/_statistics/order.py | 218 | CODE | |
| LOW | cupy/linalg/_decomposition.py | 12 | CODE | |
| 142 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/cupy_tests/cuda_tests/test_pinned_memory.py | 28 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/cupy_tests/cuda_tests/test_pinned_memory.py | 68 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/cupy_tests/cuda_tests/test_memory.py | 287 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …cupyx_tests/scipy_tests/sparse_tests/test_construct.py | 484 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …cupyx_tests/scipy_tests/sparse_tests/test_construct.py | 486 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …/scipy_tests/sparse_tests/test_sparse_int64_indices.py | 2727 | # =================================================================== | COMMENT |
| MEDIUM⚡ | …/scipy_tests/sparse_tests/test_sparse_int64_indices.py | 2732 | # =================================================================== | COMMENT |
| MEDIUM⚡ | …/scipy_tests/sparse_tests/test_sparse_int64_indices.py | 2908 | # =================================================================== | COMMENT |
| MEDIUM⚡ | …/scipy_tests/sparse_tests/test_sparse_int64_indices.py | 2910 | # =================================================================== | COMMENT |
| MEDIUM | …_tests/scipy_tests/signal_tests/test_savitzky_golay.py | 39 | # -------------------------------------------------------------------- | COMMENT |
| MEDIUM | …_tests/scipy_tests/signal_tests/test_savitzky_golay.py | 41 | # -------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …_tests/scipy_tests/signal_tests/test_savitzky_golay.py | 165 | # -------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …_tests/scipy_tests/signal_tests/test_savitzky_golay.py | 167 | # -------------------------------------------------------------------- | COMMENT |
| MEDIUM | …_tests/scipy_tests/signal_tests/test_savitzky_golay.py | 204 | # -------------------------------------------------------------------- | COMMENT |
| MEDIUM | …_tests/scipy_tests/signal_tests/test_savitzky_golay.py | 206 | # -------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cupy/__init__.py | 78 | # ============================================================================= | STRING |
| MEDIUM⚡ | cupy/__init__.py | 83 | # ============================================================================= | STRING |
| MEDIUM⚡ | cupy/__init__.py | 85 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 87 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 101 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 103 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 106 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 108 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 166 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 168 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 176 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 178 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 180 | # ============================================================================= | STRING |
| MEDIUM⚡ | cupy/__init__.py | 185 | # ============================================================================= | STRING |
| MEDIUM⚡ | cupy/__init__.py | 187 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 189 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 229 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 231 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 238 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 240 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 402 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 404 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 407 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 409 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 412 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 414 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 550 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 552 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 562 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 564 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 694 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 696 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 706 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 708 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 712 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 714 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 768 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 770 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 780 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 782 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM | cupy/__init__.py | 59 | # ============================================================================= | STRING |
| MEDIUM | cupy/__init__.py | 61 | # ============================================================================= | STRING |
| MEDIUM | cupy/__init__.py | 120 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM | cupy/__init__.py | 122 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM | cupy/__init__.py | 134 | # ----------------------------------------------------------------------------- | STRING |
| 39 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | cupyx/signal/_radartools/_radartools.py | 0 | upfirdn implementation. functions defined here were ported directly from cusignal under terms of the mit license, under | STRING |
| HIGH | cupyx/signal/_convolution/_convolve.py | 0 | upfirdn implementation. functions defined here were ported directly from cusignal under terms of the mit license, under | STRING |
| HIGH | cupyx/scipy/signal/_resample.py | 0 | upfirdn implementation. functions defined here were ported directly from cusignal under terms of the mit license, under | STRING |
| HIGH | cupyx/scipy/signal/_wavelets.py | 0 | upfirdn implementation. functions defined here were ported directly from cusignal under terms of the mit license, under | STRING |
| HIGH | cupyx/scipy/signal/_waveforms.py | 0 | upfirdn implementation. functions defined here were ported directly from cusignal under terms of the mit license, under | STRING |
| HIGH | cupyx/scipy/signal/_spectral_impl.py | 0 | upfirdn implementation. functions defined here were ported directly from cusignal under terms of the mit license, under | STRING |
| HIGH | cupyx/scipy/signal/_bsplines.py | 0 | upfirdn implementation. functions defined here were ported directly from cusignal under terms of the mit license, under | STRING |
| HIGH | cupyx/scipy/signal/_spectral.py | 0 | upfirdn implementation. functions defined here were ported directly from cusignal under terms of the mit license, under | STRING |
| HIGH | cupyx/scipy/signal/_peak_finding.py | 0 | upfirdn implementation. functions defined here were ported directly from cusignal under terms of the mit license, under | STRING |
| HIGH | cupyx/scipy/signal/_upfirdn.py | 0 | upfirdn implementation. functions defined here were ported directly from cusignal under terms of the mit license, under | STRING |
| HIGH | cupyx/scipy/special/_gammasgn.py | 0 | the source code here is an adaptation with minimal changes from the following files in scipy's bundled cephes library: h | STRING |
| HIGH | cupyx/scipy/special/_zetac.py | 0 | the source code here is an adaptation with minimal changes from the following files in scipy's bundled cephes library: h | STRING |
| HIGH | cupyx/scipy/special/_poch.py | 0 | the source code here is an adaptation with minimal changes from the following files in scipy's bundled cephes library: h | STRING |
| HIGH | cupyx/scipy/sparse/_base.py | 0 | returns the k-th diagonal of the matrix. args: k (int, optional): which diagonal to get, corresponding to elements a[i, | STRING |
| HIGH | cupyx/scipy/sparse/_coo.py | 0 | returns the k-th diagonal of the matrix. args: k (int, optional): which diagonal to get, corresponding to elements a[i, | STRING |
| HIGH | cupyx/scipy/sparse/_dia.py | 0 | returns the k-th diagonal of the matrix. args: k (int, optional): which diagonal to get, corresponding to elements a[i, | STRING |
| HIGH | cupyx/scipy/sparse/_csr.py | 0 | returns a copy of the array on host memory. args: stream (cupy.cuda.stream): cuda stream object. if it is given, the cop | STRING |
| HIGH | cupyx/scipy/sparse/_coo.py | 0 | returns a copy of the array on host memory. args: stream (cupy.cuda.stream): cuda stream object. if it is given, the cop | STRING |
| HIGH | cupyx/scipy/sparse/_dia.py | 0 | returns a copy of the array on host memory. args: stream (cupy.cuda.stream): cuda stream object. if it is given, the cop | STRING |
| HIGH | cupyx/scipy/sparse/_csr.py | 0 | converts the matrix to coordinate format. args: copy (bool): if ``false``, it shares data arrays as much as possible. re | STRING |
| HIGH | cupyx/scipy/sparse/_coo.py | 0 | converts the matrix to coordinate format. args: copy (bool): if ``false``, it shares data arrays as much as possible. re | STRING |
| HIGH | cupyx/scipy/sparse/_csc.py | 0 | converts the matrix to coordinate format. args: copy (bool): if ``false``, it shares data arrays as much as possible. re | STRING |
| HIGH | cupyx/scipy/sparse/_csr.py | 0 | converts the matrix to compressed sparse row format. args: copy (bool): if ``false``, it shares data arrays as much as p | STRING |
| HIGH | cupyx/scipy/sparse/_coo.py | 0 | converts the matrix to compressed sparse row format. args: copy (bool): if ``false``, it shares data arrays as much as p | STRING |
| HIGH | cupyx/scipy/sparse/_dia.py | 0 | converts the matrix to compressed sparse row format. args: copy (bool): if ``false``, it shares data arrays as much as p | STRING |
| HIGH | cupyx/scipy/sparse/_csc.py | 0 | converts the matrix to compressed sparse row format. args: copy (bool): if ``false``, it shares data arrays as much as p | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pyproject.toml | 101 | # `np.matrix`. | COMMENT |
| LOW | .pfnci/linux/tests/actions/fetch-wheel.sh | 1 | #!/bin/bash | COMMENT |
| LOW | install/cupy_builder/_compiler.py | 41 | # | COMMENT |
| LOW | install/cupy_builder/_compiler.py | 61 | # See the documentation of each CUDA version for the list of supported | COMMENT |
| LOW | cupy_backends/cupy_cutensor.h | 1 | #ifndef INCLUDE_GUARD_CUPY_CUTENSOR_H | COMMENT |
| LOW | cupy_backends/cupy_rand.h | 1 | #ifndef INCLUDE_GUARD_CUPY_CURAND_H | COMMENT |
| LOW | cupy_backends/cupy_complex.h | 1 | #ifndef INCLUDE_GUARD_CUPY_COMPLEX_H | COMMENT |
| LOW | cupy_backends/cupy_blas.h | 1 | #ifndef INCLUDE_GUARD_CUPY_CUBLAS_H | COMMENT |
| LOW | cupy_backends/cupy_cusparselt.h | 1 | #ifndef INCLUDE_GUARD_CUPY_CUSPARSELT_H | COMMENT |
| LOW | cupy_backends/cupy_backend_runtime.h | 1 | #ifndef INCLUDE_GUARD_CUPY_CUDA_RUNTIME_H | COMMENT |
| LOW | cupy_backends/cupy_sparse.h | 1 | #ifndef INCLUDE_GUARD_CUPY_CUSPARSE_H | COMMENT |
| LOW | cupy_backends/cupy_nccl.h | 1 | #ifndef INCLUDE_GUARD_CUPY_NCCL_H | COMMENT |
| LOW | cupy_backends/cupy_profiler.h | 1 | #ifndef INCLUDE_GUARD_CUPY_PROFILER_H | COMMENT |
| LOW | cupy_backends/cupy_backend.h | 1 | #ifndef INCLUDE_GUARD_CUPY_CUDA_H | COMMENT |
| LOW | cupy_backends/cuda/cupy_cuda.h | 1 | #ifndef INCLUDE_GUARD_CUDA_CUPY_CUDA_H | COMMENT |
| LOW | cupy_backends/cuda/cupy_cusolver.h | 1 | #ifndef INCLUDE_GUARD_CUDA_CUPY_CUSOLVER_H | COMMENT |
| LOW | cupy_backends/cuda/cupy_cuda_profiler_api.h | 1 | #ifndef INCLUDE_GUARD_CUDA_CUPY_PROFILER_H | COMMENT |
| LOW | cupy_backends/cuda/cupy_nccl.h | 1 | #ifndef INCLUDE_GUARD_CUDA_CUPY_NCCL_H | COMMENT |
| LOW | cupy_backends/hip/cupy_hipblas.h | 1 | #ifndef INCLUDE_GUARD_HIP_CUPY_HIPBLAS_H | COMMENT |
| LOW | cupy_backends/hip/cupy_hip_common.h | 1 | #ifndef INCLUDE_GUARD_HIP_CUPY_COMMON_H | COMMENT |
| LOW | ci/tools/ci-guard.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …upy_tests/core_tests/fusion_tests/test_optimization.py | 21 | return ret | COMMENT |
| LOW | …yx_tests/signal_tests/acoustics_tests/test_cepstrum.py | 1 | # Copyright (c) 2019-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | …ts/cupyx_tests/scipy_tests/sparse_tests/test_linalg.py | 681 | # Hermitian, well-posed, and silently wrong on stock: B @ B^H with | COMMENT |
| LOW | …sts/scipy_tests/signal_tests/test_fir_filter_design.py | 301 | def test_bad_args(self): | COMMENT |
| LOW | …sts/scipy_tests/signal_tests/test_iir_filter_design.py | 301 | return b, a | COMMENT |
| LOW | …sts/scipy_tests/signal_tests/test_iir_filter_design.py | 401 | # 1.339913493808585e+33] | COMMENT |
| LOW | …sts/scipy_tests/signal_tests/test_iir_filter_design.py | 501 | # 1.132780692872241e+15, 0, # Matlab: 8.363229375535731e+01, | COMMENT |
| LOW | …s/cupyx_tests/scipy_tests/signal_tests/test_upfirdn.py | 1 | # | COMMENT |
| LOW | …s/cupyx_tests/scipy_tests/signal_tests/test_upfirdn.py | 21 | # | COMMENT |
| LOW | …yx_tests/scipy_tests/interpolate_tests/test_polyint.py | 781 | # array([[ 30, 30], | COMMENT |
| LOW | cupy/__init__.py | 161 | # Not supported by CuPy: | COMMENT |
| LOW | cupy/__init__.py | 401 | COMMENT | |
| LOW | cupy/_logic/__init__.py | 1 | # Functions from the following NumPy document | COMMENT |
| LOW | cupy/_binary/__init__.py | 1 | # Functions from the following NumPy document | COMMENT |
| LOW | cupy/_statistics/__init__.py | 1 | # Functions from the following NumPy document | COMMENT |
| LOW | cupy/_core/include/cupy/cuComplex_bridge.h | 1 | /* | COMMENT |
| LOW | cupy/_core/include/cupy/cuComplex_bridge.h | 21 | COMMENT | |
| LOW | cupy/_core/include/cupy/complex/complex_inl.h | 161 | #include <cupy/complex/csinhf.h> | COMMENT |
| LOW | cupy/cuda/compiler.py | 541 | COMMENT | |
| LOW | cupy/cuda/cupy_cub.h | 1 | #ifndef INCLUDE_GUARD_CUPY_CUDA_CUB_H | COMMENT |
| LOW | cupy/cuda/cupy_thrust.h | 1 | #ifndef INCLUDE_GUARD_CUPY_CUDA_THRUST_H | COMMENT |
| LOW | cupy/_sorting/__init__.py | 1 | # Functions from the following NumPy document | COMMENT |
| LOW | cupy/_padding/__init__.py | 1 | # Functions from the following NumPy document | COMMENT |
| LOW | cupy/_manipulation/__init__.py | 1 | # Functions from the following NumPy document | COMMENT |
| LOW | cupy/_math/__init__.py | 1 | # Functions from the following NumPy document | COMMENT |
| LOW | cupy/_io/__init__.py | 1 | # Functions from the following NumPy document | COMMENT |
| LOW | cupy/_indexing/__init__.py | 1 | # Functions from the following NumPy document | COMMENT |
| LOW | cupy/_creation/__init__.py | 1 | # Functions from the following NumPy document | COMMENT |
| LOW | docs/source/conf.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | docs/source/conf.py | 41 | # Generate comparison table. | COMMENT |
| LOW | docs/source/conf.py | 101 | COMMENT | |
| LOW | docs/source/conf.py | 121 | #default_role = None | COMMENT |
| LOW | docs/source/conf.py | 141 | #keep_warnings = False | COMMENT |
| LOW | docs/source/conf.py | 201 | # "<project> v<release> documentation". | COMMENT |
| LOW | docs/source/conf.py | 221 | # Add any extra paths that contain custom files (such as robots.txt or | COMMENT |
| LOW | docs/source/conf.py | 241 | # If false, no module index is generated. | COMMENT |
| LOW | docs/source/conf.py | 261 | # base URL from which the finished HTML is served. | COMMENT |
| LOW | docs/source/conf.py | 281 | # Output file base name for HTML help builder. | COMMENT |
| LOW | docs/source/conf.py | 301 | # (source start file, target name, title, | COMMENT |
| 60 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | install/cupy_builder/_features.py | 67 | # Define a feature from dict. | COMMENT |
| MEDIUM⚡ | tests/cupy_tests/statistics_tests/test_order.py | 79 | # Create an allocator that guarantees array allocated in | COMMENT |
| MEDIUM | tests/cupy_tests/lib_tests/test_strided_tricks.py | 77 | # Create a 0-D array (scalar) for testing | COMMENT |
| MEDIUM | tests/cupy_tests/cuda_tests/test_cufft.py | 103 | # This class contains a few simple tests for the new XtPlanNd wrapper. A full- | COMMENT |
| MEDIUM⚡ | tests/cupy_tests/cuda_tests/test_stream.py | 372 | # Create a real CUDA stream to get a valid pointer | COMMENT |
| MEDIUM⚡ | tests/cupy_tests/cuda_tests/test_stream.py | 376 | # Create a CuPy stream from the mock stream | COMMENT |
| MEDIUM | …ts/cupyx_tests/scipy_tests/sparse_tests/test_linalg.py | 1955 | # Define the generalized eigenvalue problem Av = cBv | COMMENT |
| MEDIUM | …ts/cupyx_tests/scipy_tests/sparse_tests/test_linalg.py | 2153 | # Define the generalized eigenvalue problem Av = cBv | COMMENT |
| MEDIUM | …s/cupyx_tests/scipy_tests/signal_tests/test_dltisys.py | 24 | # Create an input matrix with inputs down the columns (3 cols) and its | COMMENT |
| MEDIUM | …s/cupyx_tests/scipy_tests/signal_tests/test_dltisys.py | 46 | # Create an input matrix with inputs down the columns (3 cols) and its | COMMENT |
| MEDIUM | …s/cupyx_tests/scipy_tests/signal_tests/test_dltisys.py | 64 | # Create an input matrix with inputs down the columns (3 cols) and its | COMMENT |
| MEDIUM | …x_tests/scipy_tests/signal_tests/test_filter_design.py | 836 | # Create a gammatone filter centered at 1000 Hz. | COMMENT |
| MEDIUM | …sts/scipy_tests/signal_tests/test_iir_filter_design.py | 1087 | # Create a notching or peaking comb filter at 1000 Hz | COMMENT |
| MEDIUM | …sts/scipy_tests/signal_tests/test_iir_filter_design.py | 1102 | # Create a notching or peaking comb filter | COMMENT |
| MEDIUM | …sts/scipy_tests/signal_tests/test_iir_filter_design.py | 1128 | # Create a notching comb filter | COMMENT |
| MEDIUM | …/cupyx_tests/scipy_tests/signal_tests/test_spectral.py | 66 | # Define the array of frequencies for which to compute the periodogram | COMMENT |
| MEDIUM | …/cupyx_tests/scipy_tests/signal_tests/test_spectral.py | 96 | # Define the array of frequencies for which to compute the periodogram | COMMENT |
| MEDIUM | …/cupyx_tests/scipy_tests/signal_tests/test_spectral.py | 131 | # Define the array of frequencies for which to compute the periodogram | COMMENT |
| MEDIUM | …/cupyx_tests/scipy_tests/signal_tests/test_spectral.py | 162 | # Define the array of frequencies for which to compute the periodogram | COMMENT |
| MEDIUM | cupy/linalg/_norms.py | 186 | # This function is implemented as a direct adaption of the numpy | COMMENT |
| MEDIUM | cupy/linalg/_product.py | 188 | # Create the output array | STRING |
| MEDIUM | cupy/_padding/pad.py | 609 | # Create a new zero padded array | COMMENT |
| MEDIUM | docs/source/conf.py | 6 | # This file is execfile()d with the current directory set to its | COMMENT |
| MEDIUM | cupyx/distributed/_nccl_comm.py | 760 | # Create a sparse matrix from the received arrays | COMMENT |
| MEDIUM⚡ | cupyx/distributed/array/_array.py | 224 | # This method is called from cupy.ufunc and cupy.ElementwiseKernel | COMMENT |
| MEDIUM⚡ | cupyx/distributed/array/_array.py | 230 | # This method is called from _SimpleReductionKernel and elementary | COMMENT |
| MEDIUM | cupyx/scipy/interpolate/_rbfinterp.py | 12 | # Define the kernel functions. | COMMENT |
| MEDIUM | cupyx/scipy/sparse/_compressed.py | 1635 | # Create the vector to hold output | COMMENT |
| MEDIUM | cupyx/scipy/sparse/_index.py | 284 | # Create a filter mask based on the lowest value of order | STRING |
| MEDIUM | cupyx/scipy/sparse/_coo.py | 522 | # Define the array of data consisting of the entries to be added. | COMMENT |
| MEDIUM | cupyx/scipy/spatial/delaunay_2d/_tri.py | 101 | # Create the initial triangulation | COMMENT |
| MEDIUM | cupyx/scipy/signal/_ltisys.py | 1605 | # Create a reasonable time interval. | STRING |
| MEDIUM | cupyx/scipy/signal/_ltisys.py | 2264 | # This method is useful only because we need to be able to call | STRING |
| MEDIUM | cupyx/scipy/signal/_signaltools.py | 1149 | # The following code computes the result shown in the formula | STRING |
| MEDIUM | cupyx/scipy/signal/_signaltools_core.py | 201 | # This function is 10x faster in Cython (but only 1.7us in Python). Can be | COMMENT |
| MEDIUM | cupyx/scipy/signal/_fir_filter_design.py | 586 | # Create the window to apply to the filter coefficients. | COMMENT |
| MEDIUM | examples/cg/cg.py | 54 | # Create the large symmetric matrix 'A'. | COMMENT |
| MEDIUM | examples/cufft/callback/jit_r2c_c2r_string.py | 64 | # Define a structure used to pass in the window size | STRING |
| MEDIUM | examples/finance/black_scholes.py | 14 | # The following code shows that CuPy enables us to write algorithms for GPUs | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/cupy_tests/fft_tests/test_fft.py | 917 | CODE | |
| LOW | tests/cupy_tests/fft_tests/test_fft.py | 1323 | CODE | |
| LOW | tests/cupy_tests/linalg_tests/test_norms.py | 254 | CODE | |
| LOW | tests/cupy_tests/sorting_tests/test_sort.py | 189 | CODE | |
| LOW | tests/cupy_tests/sorting_tests/test_sort.py | 197 | CODE | |
| LOW | tests/cupy_tests/sorting_tests/test_sort.py | 205 | CODE | |
| LOW | tests/cupy_tests/statistics_tests/test_correlation.py | 60 | CODE | |
| LOW | tests/cupy_tests/statistics_tests/test_correlation.py | 74 | CODE | |
| LOW | tests/cupy_tests/statistics_tests/test_histogram.py | 464 | CODE | |
| LOW | tests/cupy_tests/functional_tests/test_vectorize.py | 380 | CODE | |
| LOW | tests/cupy_tests/core_tests/test_nep50_examples.py | 55 | CODE | |
| LOW | …ts/cupyx_tests/scipy_tests/sparse_tests/test_linalg.py | 1840 | CODE | |
| LOW | …pyx_tests/scipy_tests/signal_tests/test_signaltools.py | 439 | CODE | |
| LOW | …pyx_tests/scipy_tests/signal_tests/test_signaltools.py | 475 | CODE | |
| LOW | …pyx_tests/scipy_tests/signal_tests/test_signaltools.py | 515 | CODE | |
| LOW | …pyx_tests/scipy_tests/signal_tests/test_signaltools.py | 568 | CODE | |
| LOW | …pyx_tests/scipy_tests/signal_tests/test_signaltools.py | 915 | CODE | |
| LOW | …pyx_tests/scipy_tests/signal_tests/test_signaltools.py | 959 | CODE | |
| LOW | …pyx_tests/scipy_tests/signal_tests/test_signaltools.py | 987 | CODE | |
| LOW | …pyx_tests/scipy_tests/signal_tests/test_signaltools.py | 1012 | CODE | |
| LOW | …sts/scipy_tests/signal_tests/test_iir_filter_design.py | 165 | CODE | |
| LOW | …sts/scipy_tests/signal_tests/test_iir_filter_design.py | 171 | CODE | |
| LOW | …yx_tests/scipy_tests/signal_tests/test_peak_finding.py | 51 | CODE | |
| LOW | …yx_tests/scipy_tests/signal_tests/test_peak_finding.py | 64 | CODE | |
| LOW | …yx_tests/scipy_tests/signal_tests/test_peak_finding.py | 77 | CODE | |
| LOW | …yx_tests/scipy_tests/signal_tests/test_peak_finding.py | 87 | CODE | |
| LOW | …yx_tests/scipy_tests/signal_tests/test_peak_finding.py | 152 | CODE | |
| LOW | …yx_tests/scipy_tests/signal_tests/test_peak_finding.py | 162 | CODE | |
| LOW | …yx_tests/scipy_tests/signal_tests/test_peak_finding.py | 233 | CODE | |
| LOW | …cupyx_tests/scipy_tests/signal_tests/test_iir_utils.py | 44 | CODE | |
| LOW | …cupyx_tests/scipy_tests/signal_tests/test_iir_utils.py | 77 | CODE | |
| LOW | …cupyx_tests/scipy_tests/signal_tests/test_iir_utils.py | 113 | CODE | |
| LOW | …cupyx_tests/scipy_tests/signal_tests/test_iir_utils.py | 154 | CODE | |
| LOW | …cupyx_tests/scipy_tests/signal_tests/test_iir_utils.py | 189 | CODE | |
| LOW | …cupyx_tests/scipy_tests/signal_tests/test_iir_utils.py | 235 | CODE | |
| LOW | …s/cupyx_tests/scipy_tests/signal_tests/test_upfirdn.py | 59 | CODE | |
| LOW | …s/cupyx_tests/scipy_tests/spatial_tests/test_kdtree.py | 341 | CODE | |
| LOW | …cupyx_tests/scipy_tests/spatial_tests/test_distance.py | 105 | CODE | |
| LOW | …cupyx_tests/scipy_tests/spatial_tests/test_distance.py | 112 | CODE | |
| LOW | …cupyx_tests/scipy_tests/spatial_tests/test_distance.py | 138 | CODE | |
| LOW | …cupyx_tests/scipy_tests/spatial_tests/test_distance.py | 163 | CODE | |
| LOW | …cupyx_tests/scipy_tests/spatial_tests/test_distance.py | 170 | CODE | |
| LOW | …cupyx_tests/scipy_tests/spatial_tests/test_distance.py | 177 | CODE | |
| LOW | …cupyx_tests/scipy_tests/spatial_tests/test_distance.py | 184 | CODE | |
| LOW | …cupyx_tests/scipy_tests/spatial_tests/test_distance.py | 205 | CODE | |
| LOW | …cupyx_tests/scipy_tests/spatial_tests/test_distance.py | 212 | CODE | |
| LOW | …cupyx_tests/scipy_tests/spatial_tests/test_distance.py | 219 | CODE | |
| LOW | …cupyx_tests/scipy_tests/spatial_tests/test_distance.py | 235 | CODE | |
| LOW | …_tests/scipy_tests/interpolate_tests/test_ndbspline.py | 220 | CODE | |
| LOW | …_tests/scipy_tests/interpolate_tests/test_ndbspline.py | 301 | CODE | |
| LOW | …_tests/scipy_tests/interpolate_tests/test_ndbspline.py | 319 | CODE | |
| LOW | …_tests/scipy_tests/interpolate_tests/test_ndbspline.py | 334 | CODE | |
| LOW | …_tests/scipy_tests/interpolate_tests/test_ndbspline.py | 350 | CODE | |
| LOW | cupy/linalg/_norms.py | 16 | CODE | |
| LOW | cupy/linalg/_product.py | 17 | CODE | |
| LOW | cupy/_core/_gufuncs.py | 611 | CODE | |
| LOW | cupy/cuda/compiler.py | 346 | CODE | |
| LOW | cupy/cuda/compiler.py | 406 | CODE | |
| LOW | cupy/cuda/compiler.py | 624 | CODE | |
| LOW | cupy/cuda/compiler.py | 655 | CODE | |
| 48 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | cupy/linalg/_eigenvalue.py | 275 | Return the eigenvalues and eigenvectors of a matrix. Returns two objects, a 1-D array containing the eigenvalu | STRING |
| HIGH | cupy/linalg/_eigenvalue.py | 360 | Compute the eigenvalues of a matrix. Main difference from eig: the eigenvectors are not computed. Args: | STRING |
| HIGH | cupy/_manipulation/add_remove.py | 198 | Find the unique elements of an array. Returns the sorted unique elements of an array. There are three optional | STRING |
| HIGH | cupyx/linalg/_solve.py | 35 | Solves the linear system Ax = b using the Cholesky factorization of A. Batched input arrays are also supported. | STRING |
| HIGH | cupyx/scipy/ndimage/_measurements.py | 463 | Calculates the sum of the values of an n-D image array, optionally at specified sub-regions. Args: i | STRING |
| HIGH | cupyx/scipy/linalg/_special_matrices.py | 331 | Discrete Fourier transform matrix. Create the matrix that computes the discrete Fourier transform of a sequence | STRING |
| HIGH | cupyx/scipy/linalg/_special_matrices.py | 400 | Returns a Fiedler companion matrix Given a polynomial coefficient array ``a``, this function forms a pentadiago | STRING |
| HIGH | cupyx/scipy/sparse/_sputils.py | 39 | Safely cast sparse array indices to ``idx_dtype``. Check the shape of *A* to determine if it is safe to cast its in | STRING |
| HIGH | cupyx/scipy/sparse/_construct.py | 218 | Stacks sparse arrays/matrices horizontally (column wise). Args: blocks (sequence of cupyx.scipy.sparse): sp | STRING |
| HIGH | cupyx/scipy/sparse/_construct.py | 252 | Stacks sparse arrays/matrices vertically (row wise). Args: blocks (sequence of cupyx.scipy.sparse): sparse | STRING |
| HIGH | cupyx/scipy/sparse/_construct.py | 287 | Builds a sparse array/matrix from sparse sub-blocks Args: blocks (array_like): Grid of sparse o | STRING |
| HIGH | cupyx/scipy/sparse/_construct.py | 546 | Construct a sparse matrix from diagonals. Args: diagonals (sequence of array_like): Sequence of | STRING |
| HIGH | cupyx/scipy/sparse/linalg/_eigen.py | 45 | Find ``k`` eigenvalues and eigenvectors of the real symmetric square matrix or complex Hermitian matrix ``A``. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | install/cupy_builder/_compiler.py | 256 | except Exception: | CODE |
| LOW | install/cupy_builder/cupy_setup_build.py | 73 | except Exception as e: | CODE |
| LOW | install/cupy_builder/install_build.py | 329 | except Exception as e: | STRING |
| LOW | install/cupy_builder/install_build.py | 382 | except Exception as e: | STRING |
| LOW | install/cupy_builder/install_build.py | 407 | except Exception as e: | STRING |
| LOW | install/cupy_builder/install_build.py | 457 | except Exception as e: | STRING |
| LOW | install/cupy_builder/install_build.py | 516 | except Exception as e: | CODE |
| LOW | install/cupy_builder/install_build.py | 548 | except Exception as e: | CODE |
| LOW | install/cupy_builder/install_build.py | 590 | except Exception as e: | CODE |
| LOW | install/cupy_builder/install_build.py | 634 | except Exception as e: | STRING |
| LOW | install/cupy_builder/install_build.py | 673 | except Exception as e: | STRING |
| LOW | install/cupy_builder/install_build.py | 785 | except Exception as e: | STRING |
| LOW | install/cupy_builder/install_build.py | 814 | except Exception as e: | STRING |
| LOW | install/cupy_builder/install_build.py | 822 | except Exception as e: | STRING |
| LOW | install/cupy_builder/_features.py | 477 | except Exception as e: | STRING |
| MEDIUM | install/cupy_builder/_preflight.py | 11 | print('Error: macOS is no longer supported', file=sys.stderr) | CODE |
| LOW | tests/cupy_tests/_gcp_kernel_cache_backend.py | 109 | except Exception as e: | CODE |
| LOW | tests/cupy_tests/_gcp_kernel_cache_backend.py | 149 | except Exception as e: | CODE |
| LOW | tests/cupy_tests/_gcp_kernel_cache_backend.py | 173 | except Exception as e: | CODE |
| LOW | tests/cupy_tests/_gcp_kernel_cache_backend.py | 217 | except Exception as e: | CODE |
| LOW | tests/cupy_tests/_gcp_kernel_cache_backend.py | 257 | except Exception as e: | CODE |
| LOW | tests/cupy_tests/test_init.py | 53 | except Exception as e: | CODE |
| LOW | tests/cupy_tests/fft_tests/test_fft.py | 56 | except Exception: | CODE |
| LOW | tests/cupy_tests/fft_tests/test_fft.py | 93 | except Exception: | CODE |
| LOW | tests/cupy_tests/cuda_tests/test_profile.py | 27 | except Exception: | CODE |
| LOW | tests/cupy_tests/cuda_tests/test_stream.py | 240 | except Exception as e: | CODE |
| LOW | tests/cupy_tests/cuda_tests/test_stream.py | 256 | except Exception as e: | CODE |
| LOW | …sts/cupy_tests/core_tests/fusion_tests/fusion_utils.py | 76 | except Exception as e: | CODE |
| MEDIUM | …sts/cupy_tests/core_tests/fusion_tests/fusion_utils.py | 72 | def call(func, args, kwargs): | CODE |
| LOW | tests/typing_tests/test_run.py | 21 | except Exception: | CODE |
| LOW | tests/cupyx_tests/profiler_tests/test_profile.py | 29 | except Exception: | CODE |
| LOW | tests/cupyx_tests/profiler_tests/test_time_range.py | 40 | except Exception: | CODE |
| LOW | tests/cupyx_tests/profiler_tests/test_time_range.py | 77 | except Exception: | CODE |
| MEDIUM | cupy/__init__.py | 956 | def issubclass_(arg1, arg2): | CODE |
| LOW | cupy/__init__.py | 992 | except Exception: | STRING |
| LOW | cupy/__init__.py | 1070 | except Exception: | STRING |
| LOW | cupy/_environment.py | 406 | except Exception as e: | CODE |
| LOW | cupy/_environment.py | 422 | except Exception as e: | CODE |
| LOW | cupy/_environment.py | 663 | except Exception as e: | CODE |
| LOW | cupy/_environment.py | 698 | except Exception as e: | CODE |
| LOW | cupy/_logic/comparison.py | 155 | except Exception: | CODE |
| LOW | cupy/linalg/_norms.py | 76 | except Exception: | CODE |
| MEDIUM | cupy/cuda/compiler.py | 136 | def _get_cl_exe_dir() -> str | None: | CODE |
| LOW | cupy/cuda/compiler.py | 142 | except Exception: | CODE |
| LOW | cupy/cuda/compiler.py | 150 | except Exception as e: | CODE |
| LOW | cupy/cuda/compiler.py | 168 | except Exception as e: | CODE |
| LOW | cupy/cuda/compiler.py | 316 | except Exception as e: # C++ could throw all kinds of errors | CODE |
| LOW | cupy/cuda/__init__.py | 115 | except Exception: | STRING |
| LOW | cupy/testing/_loops.py | 863 | except Exception: | CODE |
| LOW | cupy/testing/_loops.py | 1111 | except Exception: | CODE |
| LOW | cupy/testing/_loops.py | 1213 | except Exception: | CODE |
| LOW | cupy/testing/_loops.py | 1263 | except Exception: | CODE |
| LOW | cupyx/cusparse.py | 2128 | except Exception: | CODE |
| LOW | cupyx/cusparse.py | 2136 | except Exception: | CODE |
| LOW | cupyx/_runtime.py | 232 | except Exception: | CODE |
| LOW | cupyx/_runtime.py | 239 | except Exception: | CODE |
| LOW | cupyx/distributed/_store.py | 36 | except Exception as e: | CODE |
| MEDIUM | cupyx/distributed/_store.py | 32 | def run(self): | CODE |
| LOW | cupyx/distributed/_store_actions.py | 43 | except Exception as e: | CODE |
| LOW | cupyx/jit/_compile.py | 74 | except Exception as e: | CODE |
| 7 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/cupy_tests/math_tests/test_sumprod.py | 614 | # smaller array instead, just return if array is too large. | COMMENT |
| LOW | tests/cupy_tests/core_tests/test_raw.py | 1222 | # cache directory it just set up. | STRING |
| LOW | …ests/scipy_tests/linalg_tests/test_special_matrices.py | 23 | # Otherwise just pass the arg back | COMMENT |
| LOW | …ests/scipy_tests/linalg_tests/test_special_matrices.py | 110 | # Otherwise just pass the arg back | COMMENT |
| MEDIUM | …s/scipy_tests/ndimage_tests/test_distance_transform.py | 128 | # Fine sampling of shapes to make sure kernels are robust to all shapes | COMMENT |
| MEDIUM⚡ | …s/scipy_tests/ndimage_tests/test_distance_transform.py | 193 | """ensure default block_params is robust to anisotropic shape.""" | STRING |
| MEDIUM⚡ | …s/scipy_tests/ndimage_tests/test_distance_transform.py | 203 | """ensure default block_params is robust to anisotropic shape.""" | STRING |
| MEDIUM⚡ | …s/scipy_tests/ndimage_tests/test_distance_transform.py | 213 | """ensure default block_params is robust to anisotropic shape.""" | STRING |
| LOW | cupy/_core/_gufuncs.py | 415 | # optimized CUDA libraries so we just call them | COMMENT |
| LOW | cupy/cuda/compiler.py | 683 | # jitify is requested internally, just set the flag | COMMENT |
| MEDIUM | cupy/testing/_random.py | 55 | # In some tests (which utilize condition.repeat or condition.retry), | COMMENT |
| LOW | cupyx/scipy/ndimage/_util.py | 120 | # The indices actually use byte positions and we can't just use | COMMENT |
| LOW | cupyx/scipy/interpolate/_rbfinterp.py | 774 | # If this number is below 1e6 we just use 1e6 | COMMENT |
| LOW | cupyx/scipy/interpolate/_polyint.py | 752 | # For slinear or zero order spline, we just pass nans through. | COMMENT |
| MEDIUM | cupyx/scipy/spatial/delaunay_2d/_schewchuk.py | 34 | /* from the Web page http://www.cs.cmu.edu/~quake/robust.html . */ | COMMENT |
| LOW | cupyx/scipy/signal/_ltisys.py | 1518 | # Zero input: just use matrix exponential | STRING |
| MEDIUM | examples/interoperability/mpi4py_multiple_devices.py | 26 | # is written. For more robust usage, you may need to consult the user manual | COMMENT |
| MEDIUM | .github/workflows/ci-trigger.yml | 15 | # Least privilege: read-only by default; the two jobs below elevate | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/cupy_tests/linalg_tests/test_eigenvalue.py | 61 | # Check if v @ vt is an identity matrix | COMMENT |
| LOW | tests/cupy_tests/linalg_tests/test_eigenvalue.py | 380 | # Check if the input matrix is not broken | COMMENT |
| LOW | tests/cupy_tests/linalg_tests/test_eigenvalue.py | 392 | # Check if the input matrix is not broken | COMMENT |
| LOW | tests/cupy_tests/linalg_tests/test_eigenvalue.py | 481 | # Check if the input matrix is not broken | COMMENT |
| LOW | tests/cupy_tests/linalg_tests/test_eigenvalue.py | 502 | # Check if the input matrix is not broken | COMMENT |
| LOW | tests/cupy_tests/linalg_tests/test_decomposition.py | 203 | # Check if the input matrix is not broken | COMMENT |
| LOW | tests/cupy_tests/linalg_tests/test_decomposition.py | 254 | # Check if the input matrix is not broken | COMMENT |
| LOW | tests/cupy_tests/math_tests/test_sumprod.py | 701 | testing.assert_array_equal(a, b) # Check if input array is overwritten | CODE |
| LOW | tests/cupy_tests/math_tests/test_sumprod.py | 756 | testing.assert_array_equal(a, b) # Check if input array is overwritten | CODE |
| LOW | tests/cupy_tests/math_tests/test_sumprod.py | 845 | testing.assert_array_equal(a, b) # Check if input array is overwritten | CODE |
| LOW | tests/cupy_tests/cuda_tests/test_compiler_cache.py | 85 | # Write file with wrong hash | COMMENT |
| LOW | tests/cupy_tests/creation_tests/test_from_data.py | 775 | # Check if cupy.ndarray does not alter | COMMENT |
| LOW | tests/cupy_tests/core_tests/test_mdspan.py | 297 | # Check if strides are actually negative | COMMENT |
| LOW | tests/typing_tests/test_typing.py | 44 | # Check if "mypy.ini" exists | COMMENT |
| LOW | cupy/_core/_gufuncs.py | 417 | # Check if the function supports out, order and other args | COMMENT |
| LOW | cupy/testing/_loops.py | 160 | # Check if the error was not raised from test code. | COMMENT |
| LOW | cupyx/lapack.py | 400 | # Check if batched should be used | COMMENT |
| LOW | cupyx/scipy/interpolate/_polyint.py | 730 | # Check if we can delegate to numpy.interp (2x-10x faster). | COMMENT |
| LOW | cupyx/scipy/sparse/_construct.py | 368 | # Check if any input block has int64 indices before conversion | COMMENT |
| LOW | cupyx/scipy/spatial/delaunay_2d/_tri.py | 87 | # Check if the three points are not coplanar | COMMENT |
| LOW | cupyx/scipy/signal/_resample.py | 314 | # Check if we can use faster real FFT | COMMENT |
| LOW | cupyx/scipy/signal/_spectral_impl.py | 354 | # Check if we can broadcast the outer axes together | STRING |
| LOW | cupyx/scipy/signal/_spectral_impl.py | 381 | # Check if x and y are the same length, zero-pad if necessary | STRING |
| LOW | cupyx/scipy/signal/_fir_filter_design.py | 561 | # Check if freq is strictly increasing after tweak | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/cupy_tests/testing_tests/test_loops.py | 422 | CODE | |
| MEDIUM | tests/cupy_tests/testing_tests/test_loops.py | 428 | CODE | |
| MEDIUM | tests/cupy_tests/testing_tests/test_loops.py | 433 | CODE | |
| MEDIUM | tests/cupy_tests/testing_tests/test_loops.py | 438 | CODE | |
| MEDIUM | tests/cupy_tests/testing_tests/test_loops.py | 443 | CODE | |
| MEDIUM | tests/cupy_tests/testing_tests/test_loops.py | 448 | CODE | |
| MEDIUM | tests/cupyx_tests/scipy_tests/sparse_tests/test_csr.py | 1281 | CODE | |
| MEDIUM | …ts/cupyx_tests/scipy_tests/signal_tests/test_ltisys.py | 573 | CODE | |
| MEDIUM | …ts/cupyx_tests/scipy_tests/signal_tests/test_ltisys.py | 574 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | cupy/linalg/__init__.py | 56 | __all__ = [ | CODE |
| LOW | cupy/cuda/compiler.py | 45 | def _set_kernel_cache_backend(backend: _KernelCacheBackend) -> None: | CODE |
| LOW | cupy/fft/__init__.py | 21 | __all__ = ["fft", "fft2", "fftfreq", "fftn", "fftshift", "hfft", | CODE |
| LOW⚡ | cupyx/distributed/array/_chunk.py | 198 | def set_identity_on_overwritten_entries(self, identity) -> None: | CODE |
| LOW | cupyx/jit/cg.py | 13 | __all__ = ['this_grid', 'this_thread_block', | CODE |
| LOW | cupyx/scipy/interpolate/_rgi.py | 3 | __all__ = ['RegularGridInterpolator', 'interpn'] | CODE |
| LOW | cupyx/scipy/fft/_realtransforms.py | 46 | __all__ = ['dct', 'dctn', 'dst', 'dstn', 'idct', 'idctn', 'idst', 'idstn'] | CODE |
| LOW | cupyx/scipy/fft/_fftlog.py | 25 | __all__ = ['fht', 'ifht'] | CODE |
| LOW | cupyx/scipy/signal/_czt.py | 39 | __all__ = ['czt', 'zoom_fft', 'CZT', 'ZoomFFT', 'czt_points'] | CODE |
| LOW | cupyx/scipy/signal/_fir_filter_design.py | 16 | __all__ = ["firls", "minimum_phase"] | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | cupyx/scipy/sparse/linalg/_solve.py | 1002 | # In this version we look at the diagonals of R in the | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/cupy_tests/io_tests/test_base_n.py | 19 | # We need to check if it cause a warning, and maybe it causes an | COMMENT |
| LOW⚡ | cupyx/scipy/ndimage/_pba_3d.py | 305 | # Step 1: decode the (z, y, x) coordinate | COMMENT |
| LOW⚡ | cupyx/scipy/ndimage/_pba_3d.py | 308 | # Step 2: compute the Euclidean distance based on this (z, y, x). | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | cupyx/scipy/ndimage/_pba_3d.py | 305 | # Step 1: decode the (z, y, x) coordinate | COMMENT |
| LOW⚡ | cupyx/scipy/ndimage/_pba_3d.py | 308 | # Step 2: compute the Euclidean distance based on this (z, y, x). | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …cupyx_tests/scipy_tests/special_tests/test_gammainc.py | 94 | # TODO: implement FuncData? | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cupyx/scipy/ndimage/_pba_2d.py | 462 | # make sure to crop any padding that was added here! | COMMENT |