A Python framework for GPU-accelerated simulation, robotics, and machine learning.
This report presents the forensic synthetic code analysis of NVIDIA/warp, a Python project with 7,046 GitHub stars. SynthScan v2.0 examined 429,213 lines of code across 1043 source files, recording 6499 pattern matches distributed across 22 syntactic categories. The overall adjusted score of 18.2 places this repository in the Moderate 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).
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.
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.
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.
The scanner identified 6499 distinct pattern matches across 22 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | CONTRIBUTING.md | 440 | def test_amazing_code_test_one(test, device): | CODE |
| LOW | CONTRIBUTING.md | 492 | def test_amazing_code_test_one(test, device): | CODE |
| LOW | CONTRIBUTING.md | 500 | def test_amazing_code_test_one(test, device): | CODE |
| LOW | CONTRIBUTING.md | 570 | def test_amazing_code_no_device(self): | CODE |
| LOW | build_llvm.py | 164 | def build_llvm_clang_from_source_for_arch(args, arch: str, llvm_source: str) -> None: | CODE |
| LOW | build_llvm.py | 419 | def build_llvm_clang_from_source(args) -> None: | CODE |
| LOW | build_llvm.py | 438 | def build_warp_clang_for_arch(args, lib_name: str, arch: str) -> None: | CODE |
| LOW | design/hardware-coherent-memory-access.md | 541 | def _is_array_accessible_from_device(value, device): | CODE |
| LOW | design/hardware-coherent-memory-access.md | 545 | def _classify_array_access_from_device(value, device): | CODE |
| LOW | design/hardware-coherent-memory-access.md | 621 | def _validate_launch_array_access(kernel, arg_name, value, device): | CODE |
| LOW | tools/ci/cuda_toolkit.py | 730 | def _validate_package_metadata(path: Path, bundle: Bundle) -> None: | CODE |
| LOW | tools/ci/test_cuda_toolkit.py | 150 | def test_generate_lock_uses_manifest_keys(self) -> None: | CODE |
| LOW | tools/ci/test_cuda_toolkit.py | 192 | def test_resolve_outputs_assembled_cache(self) -> None: | CODE |
| LOW⚡ | tools/ci/test_cuda_toolkit.py | 225 | def test_reject_unknown_release(self) -> None: | CODE |
| LOW⚡ | tools/ci/test_cuda_toolkit.py | 233 | def test_reject_unsupported_platform(self) -> None: | CODE |
| LOW⚡ | tools/ci/test_cuda_toolkit.py | 241 | def test_reject_component_order_mismatch(self) -> None: | CODE |
| LOW | tools/ci/test_cuda_toolkit.py | 252 | def test_reject_extra_lock_bundle(self) -> None: | CODE |
| LOW | tools/ci/test_cuda_toolkit.py | 276 | def test_reject_size_mismatch(self) -> None: | CODE |
| LOW | tools/ci/test_cuda_toolkit.py | 287 | def test_reject_digest_mismatch(self) -> None: | CODE |
| LOW | tools/ci/test_cuda_toolkit.py | 298 | def test_retry_transient_download(self) -> None: | CODE |
| LOW | tools/ci/test_cuda_toolkit.py | 316 | def test_assemble_components_in_order(self) -> None: | CODE |
| LOW | tools/ci/test_cuda_toolkit.py | 363 | def test_replace_partial_destination_after_assembly(self) -> None: | CODE |
| LOW | tools/ci/test_cuda_toolkit.py | 386 | def test_preserve_destination_after_failed_assembly(self) -> None: | CODE |
| LOW | tools/ci/test_cuda_toolkit.py | 409 | def test_reject_mismatched_package_without_replacement(self) -> None: | CODE |
| LOW | tools/ci/test_cuda_toolkit.py | 436 | def test_activate_linux_toolkit(self) -> None: | CODE |
| LOW | tools/ci/test_cuda_toolkit.py | 464 | def test_activate_windows_toolkit(self) -> None: | CODE |
| LOW | tools/ci/test_cuda_toolkit.py | 482 | def test_reject_missing_include(self) -> None: | CODE |
| LOW | tools/ci/test_cuda_toolkit.py | 498 | def test_reject_nonfunctional_nvcc(self) -> None: | CODE |
| LOW | tools/ci/publishing/update_git_hash.py | 48 | def update_git_hash_in_config(config_file_path: str, git_hash: str, dry_run: bool = False) -> bool: | CODE |
| LOW | tools/ci/publishing/set_nightly_version.py | 61 | def write_new_version_to_config(config_file_path: str, new_version: str, dry_run: bool = False) -> bool: | CODE |
| LOW⚡ | tools/ci/publishing/set_nightly_version.py | 95 | def write_new_version_to_version_file(version_file_path: str, new_version: str, dry_run: bool = False) -> bool: | CODE |
| LOW | tools/pre-commit-hooks/check_version_consistency.py | 39 | def _regenerate_version_header(base_path: Path, version: str) -> None: | STRING |
| LOW | tools/pre-commit-hooks/check_version_consistency.py | 89 | def check_version_consistency(base_path: Path, verbose: bool = False) -> bool: | CODE |
| LOW | tools/pre-commit-hooks/sync_skills.py | 130 | def is_side_specific_metadata(side_name: str, rel: str) -> bool: | CODE |
| LOW | asv/benchmarks/spatial_query.py | 29 | def sample_mesh_query_no_sign( | CODE |
| LOW | asv/benchmarks/spatial_query.py | 133 | def time_mesh_query_closest_point(self, leaf_size, asset, bvh_constructor): | CODE |
| LOW | asv/benchmarks/spatial_query.py | 138 | def time_mesh_query_closest_point_signed(self, leaf_size, asset, bvh_constructor): | CODE |
| LOW | asv/benchmarks/spatial_query.py | 167 | def vertex_triangle_collision_detection_kernel_broad_only_base( | CODE |
| LOW | asv/benchmarks/spatial_query.py | 211 | def ray_vs_aabb_query_kernel_base( | CODE |
| LOW | asv/benchmarks/spatial_query.py | 289 | def replicate_mesh_with_random_perturbation( | CODE |
| LOW | asv/benchmarks/spatial_query.py | 475 | def time_bvh_aabb_vs_aabb_query(self, query_radius, leaf_size, device, bvh_constructor): | CODE |
| LOW | asv/benchmarks/spatial_query.py | 480 | def time_mesh_aabb_vs_aabb_query(self, query_radius, leaf_size, device, bvh_constructor): | CODE |
| LOW | asv/benchmarks/spatial_query.py | 582 | def time_bvh_aabb_vs_aabb_query(self, cache, query_radius, leaf_size, bvh_constructor): | CODE |
| LOW | asv/benchmarks/spatial_query.py | 586 | def time_mesh_aabb_vs_aabb_query(self, cache, query_radius, leaf_size, bvh_constructor): | CODE |
| LOW | asv/benchmarks/spatial_query.py | 740 | def time_bvh_ray_vs_aabb_query(self, resolution, leaf_size, device, bvh_constructor): | CODE |
| LOW | asv/benchmarks/spatial_query.py | 745 | def time_mesh_ray_vs_aabb_query(self, resolution, leaf_size, device, bvh_constructor): | CODE |
| LOW | asv/benchmarks/deterministic.py | 42 | def scatter_add_kernel_deterministic( | CODE |
| LOW | asv/benchmarks/deterministic.py | 63 | def counter_kernel_deterministic( | CODE |
| LOW | asv/benchmarks/native_library_footprint.py | 15 | def _get_elf_tls_allocation_size(path): | CODE |
| LOW | asv/benchmarks/native_library_footprint.py | 76 | def track_warp_clang_library_size(self): | CODE |
| LOW | asv/benchmarks/native_library_footprint.py | 82 | def track_warp_tls_allocation_size(self): | CODE |
| LOW | asv/benchmarks/texture.py | 58 | def finite_difference_gradient(tex: wp.Texture3D, uvw: wp.vec3f) -> wp.vec3f: | CODE |
| LOW | asv/benchmarks/fem/integrate.py | 103 | def _supports_padded_bsr_assembly(): | CODE |
| LOW | asv/benchmarks/fem/integrate.py | 113 | def _require_padded_bsr_assembly(): | CODE |
| LOW | asv/benchmarks/fem/integrate.py | 126 | def _make_corotated_hessian_integrator(space: fem.FunctionSpace, assembly: str): | CODE |
| LOW | asv/benchmarks/fem/integrate.py | 181 | def integrate_compressed_hessian(): | CODE |
| LOW | asv/benchmarks/fem/integrate.py | 243 | def capture_set_from_triplets(dest, rows, columns, values=None, **kwargs): | CODE |
| LOW | asv/benchmarks/fem/integrate.py | 306 | def _refill_sparse_source_pool(self): | CODE |
| LOW | asv/benchmarks/fem/integrate.py | 311 | def make_sparse_assembly_func(self, space: fem.FunctionSpace, fn: str, assembly: str): | CODE |
| LOW | asv/benchmarks/api/python_builtins.py | 20 | def time_call_builtin_transform_identity_fn(self): | CODE |
| 3751 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .gitlab-ci.yml | 4 | # ============================================================================== | COMMENT |
| MEDIUM | .gitlab-ci.yml | 6 | # ============================================================================== | COMMENT |
| MEDIUM | .gitlab-ci.yml | 88 | # ============================================================================== | COMMENT |
| MEDIUM | .gitlab-ci.yml | 93 | # ============================================================================== | COMMENT |
| MEDIUM | .gitlab-ci.yml | 234 | # ============================================================================== | COMMENT |
| MEDIUM | .gitlab-ci.yml | 240 | # ============================================================================== | COMMENT |
| MEDIUM | .gitlab-ci.yml | 427 | # ============================================================================== | COMMENT |
| MEDIUM | .gitlab-ci.yml | 434 | # ============================================================================== | COMMENT |
| MEDIUM | .gitlab-ci.yml | 888 | # ============================================================================== | COMMENT |
| MEDIUM | .gitlab-ci.yml | 893 | # ============================================================================== | COMMENT |
| MEDIUM | .gitlab-ci.yml | 977 | # ============================================================================== | COMMENT |
| MEDIUM | .gitlab-ci.yml | 983 | # ============================================================================== | COMMENT |
| MEDIUM | .gitlab-ci.yml | 1103 | # ============================================================================== | COMMENT |
| MEDIUM | .gitlab-ci.yml | 1109 | # ============================================================================== | COMMENT |
| MEDIUM | .gitlab-ci.yml | 1295 | # ============================================================================== | COMMENT |
| MEDIUM | .gitlab-ci.yml | 1305 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | .gitlab/ci/common.yml | 4 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | .gitlab/ci/common.yml | 11 | # --------------- | COMMENT |
| MEDIUM⚡ | .gitlab/ci/common.yml | 20 | # ------------------- | COMMENT |
| MEDIUM | .gitlab/ci/common.yml | 42 | # ----------------- | COMMENT |
| MEDIUM⚡ | .gitlab/ci/common.yml | 53 | # ------------ | COMMENT |
| MEDIUM⚡ | .gitlab/ci/common.yml | 59 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | .gitlab/ci/common.yml | 66 | # ============================================================================== | COMMENT |
| MEDIUM⚡ | .gitlab/ci/common.yml | 68 | # ============================================================================== | COMMENT |
| MEDIUM | .gitlab/ci/common.yml | 81 | # ============================================================================== | COMMENT |
| MEDIUM | .gitlab/ci/common.yml | 84 | # ============================================================================== | COMMENT |
| MEDIUM | .gitlab/ci/asv.yml | 4 | # ============================================================================== | COMMENT |
| MEDIUM | .gitlab/ci/asv.yml | 23 | # ============================================================================== | COMMENT |
| MEDIUM | .gitlab/ci/clang-build-and-test.yml | 4 | # ============================================================================== | COMMENT |
| MEDIUM | .gitlab/ci/clang-build-and-test.yml | 20 | # ============================================================================== | COMMENT |
| MEDIUM | .gitlab/ci/clang-build-and-test.yml | 33 | # ============================================================================== | COMMENT |
| MEDIUM | .gitlab/ci/clang-build-and-test.yml | 35 | # ============================================================================== | COMMENT |
| MEDIUM | .gitlab/ci/clang-build-and-test.yml | 84 | # ============================================================================== | COMMENT |
| MEDIUM | .gitlab/ci/clang-build-and-test.yml | 89 | # ============================================================================== | COMMENT |
| MEDIUM | .gitlab/ci/debug-build-and-test.yml | 4 | # ============================================================================== | COMMENT |
| MEDIUM | .gitlab/ci/debug-build-and-test.yml | 13 | # ============================================================================== | COMMENT |
| MEDIUM | .gitlab/ci/debug-build-and-test.yml | 28 | # ============================================================================== | COMMENT |
| MEDIUM | .gitlab/ci/debug-build-and-test.yml | 30 | # ============================================================================== | COMMENT |
| MEDIUM | .gitlab/ci/debug-build-and-test.yml | 65 | # ============================================================================== | COMMENT |
| MEDIUM | .gitlab/ci/debug-build-and-test.yml | 70 | # ============================================================================== | COMMENT |
| MEDIUM | .gitlab/ci/debug-build-and-test.yml | 124 | # ============================================================================== | COMMENT |
| MEDIUM | .gitlab/ci/debug-build-and-test.yml | 127 | # ============================================================================== | COMMENT |
| MEDIUM | tools/ci/deploy_doc.py | 42 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/deploy_doc.py | 64 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/deploy_doc.py | 123 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/deploy_doc.py | 296 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | docs/generate_reference.py | 52 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/generate_reference.py | 96 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | docs/generate_reference.py | 159 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | warp/_src/deterministic.py | 900 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | warp/_src/deterministic.py | 902 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | warp/_src/deterministic.py | 1618 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | warp/_src/deterministic.py | 1620 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | warp/_src/builtins.py | 11230 | # --------------------------------- | COMMENT |
| MEDIUM | warp/_src/builtins.py | 79 | # --------------------------------- | COMMENT |
| MEDIUM | warp/_src/builtins.py | 611 | # --------------------------------- | COMMENT |
| MEDIUM | warp/_src/builtins.py | 1614 | # --------------------------------- | COMMENT |
| MEDIUM | warp/_src/builtins.py | 1874 | # --------------------------------- | COMMENT |
| MEDIUM | warp/_src/builtins.py | 2166 | # --------------------------------- | COMMENT |
| MEDIUM | warp/_src/builtins.py | 2319 | # ------------------ | COMMENT |
| 371 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | warp/_src/build.py | 97 | err = warp._src.context.runtime.llvm.wp_compile_cuda( | CODE |
| CRITICAL | warp/_src/build.py | 118 | err = warp._src.context.runtime.core.wp_cuda_compile_program( | CODE |
| CRITICAL | warp/_src/build.py | 151 | return warp._src.context.runtime.core.wp_cuda_load_module(device.context, input_path.encode("utf-8")) | CODE |
| CRITICAL | warp/_src/build.py | 183 | err = warp._src.context.runtime.llvm.wp_compile_cpp( | CODE |
| CRITICAL | warp/_src/build.py | 572 | result = warp._src.context.runtime.core.wp_cuda_compile_dot( | CODE |
| CRITICAL | warp/_src/build.py | 656 | result = warp._src.context.runtime.core.wp_cuda_compile_solver( | CODE |
| CRITICAL | warp/_src/build.py | 744 | result = warp._src.context.runtime.core.wp_cuda_compile_fft( | CODE |
| CRITICAL | warp/_src/builtins.py | 16056 | or not warp._src.context.runtime.core.wp_is_mathdx_enabled() | CODE |
| CRITICAL | warp/_src/builtins.py | 16431 | and warp._src.context.runtime.core.wp_is_mathdx_enabled() | CODE |
| CRITICAL | warp/_src/builtins.py | 16692 | or not warp._src.context.runtime.core.wp_is_mathdx_enabled() | CODE |
| CRITICAL | warp/_src/builtins.py | 16974 | or not warp._src.context.runtime.core.wp_is_mathdx_enabled() | CODE |
| CRITICAL | warp/_src/builtins.py | 17189 | or not warp._src.context.runtime.core.wp_is_mathdx_enabled() | CODE |
| CRITICAL | warp/_src/builtins.py | 17436 | or not warp._src.context.runtime.core.wp_is_mathdx_enabled() | CODE |
| CRITICAL | warp/_src/paddle.py | 32 | warp_device = warp._src.context.runtime.device_map.get(paddle_device) | CODE |
| CRITICAL⚡ | warp/_src/types.py | 622 | return warp._src.context.runtime.core.wp_float_to_half_bits(value) | CODE |
| CRITICAL⚡ | warp/_src/types.py | 626 | return warp._src.context.runtime.core.wp_half_bits_to_float(value) | CODE |
| CRITICAL⚡ | warp/_src/types.py | 630 | return warp._src.context.runtime.core.wp_float_to_bfloat16_bits(value) | CODE |
| CRITICAL⚡ | warp/_src/types.py | 634 | return warp._src.context.runtime.core.wp_bfloat16_bits_to_float(value) | CODE |
| CRITICAL | warp/_src/types.py | 4050 | warp._src.context.runtime.core.wp_cuda_stream_wait_stream( | CODE |
| CRITICAL | warp/_src/types.py | 4484 | warp._src.context.runtime.core.wp_array_fill_device( | CODE |
| CRITICAL | warp/_src/types.py | 4488 | warp._src.context.runtime.core.wp_array_fill_host(carr_ptr, ARRAY_TYPE_REGULAR, cvalue_ptr, cvalue_size) | CODE |
| CRITICAL | warp/_src/types.py | 4938 | warp._src.context.runtime.core.wp_cuda_ipc_get_mem_handle(self.ptr, ipc_handle_buffer) | CODE |
| CRITICAL | warp/_src/types.py | 5050 | warp._src.context.runtime.core.wp_cuda_ipc_close_mem_handle(ptr) | CODE |
| CRITICAL | warp/_src/types.py | 5089 | ptr = warp._src.context.runtime.core.wp_cuda_ipc_open_mem_handle(device.context, handle) | CODE |
| CRITICAL | warp/_src/types.py | 5233 | warp._src.context.runtime.core.wp_array_fill_device( | CODE |
| CRITICAL | warp/_src/types.py | 5237 | warp._src.context.runtime.core.wp_array_fill_host(ctype_ptr, self.type_id, cvalue_ptr, cvalue_size) | CODE |
| CRITICAL | warp/_src/types.py | 6950 | warp._src.context.runtime.core.wp_volume_get_buffer_info( | CODE |
| CRITICAL | warp/_src/context.py | 5238 | warp._src.context.runtime.core.wp_cuda_ipc_get_event_handle( | CODE |
| CRITICAL | warp/_src/context.py | 10287 | device=device, cuda_event=warp._src.context.runtime.core.wp_cuda_ipc_open_event_handle(device.context, handle) | CODE |
| CRITICAL⚡ | warp/_src/utils.py | 2101 | count = warp._src.context.runtime.core.wp_cuda_timing_get_result_count() | CODE |
| CRITICAL⚡ | warp/_src/utils.py | 2105 | warp._src.context.runtime.core.wp_cuda_timing_end(result_buffer, count) | CODE |
| CRITICAL⚡ | warp/_src/utils.py | 2110 | device = warp._src.context.runtime.context_map.get(r.context) | CODE |
| CRITICAL | warp/_src/utils.py | 1627 | warp._src.context.runtime.tape.record_scope_begin(self.name) | CODE |
| CRITICAL | warp/_src/utils.py | 1658 | warp._src.context.runtime.tape.record_scope_end() | CODE |
| CRITICAL | warp/_src/utils.py | 2084 | warp._src.context.runtime.core.wp_cuda_timing_begin(cuda_filter) | CODE |
| CRITICAL | warp/_src/texture.py | 295 | result = warp._src.context.runtime.core.wp_texture_descriptor_from_cuda_array( | CODE |
| CRITICAL | warp/_src/torch.py | 29 | warp_device = warp._src.context.runtime.device_map.get(torch_device) | CODE |
| CRITICAL | warp/_src/jax/custom_call.py | 135 | if wp._src.context.runtime.core.wp_cuda_launch_kernel( | CODE |
| CRITICAL | warp/_src/jax/ffi.py | 584 | if wp._src.context.runtime.core.wp_cuda_launch_kernel( | CODE |
| CRITICAL | warp/_src/jax/ffi.py | 947 | if not wp._src.context.runtime.core.wp_cuda_graph_launch(graph_exec, cuda_stream): | CODE |
| CRITICAL | warp/_src/jax/ffi.py | 980 | if not wp._src.context.runtime.core.wp_cuda_graph_launch(graph_exec, cuda_stream): | CODE |
| CRITICAL | warp/_src/jax/ffi.py | 1019 | if not wp._src.context.runtime.core.wp_cuda_graph_update_memcpy_batch( | CODE |
| CRITICAL | warp/_src/jax/ffi.py | 1033 | if not wp._src.context.runtime.core.wp_cuda_graph_launch(graph_exec, cuda_stream): | CODE |
| CRITICAL | warp/tests/walkthrough_debug.py | 59 | assert wp._src.context.runtime.core.wp_is_debug_enabled(), ( | CODE |
| CRITICAL⚡ | warp/tests/test_graph.py | 681 | node = wp._src.context.runtime.core.wp_cuda_graph_insert_alloc_node(device.context, 1) | CODE |
| CRITICAL⚡ | warp/tests/test_graph.py | 689 | node = wp._src.context.runtime.core.wp_cuda_graph_insert_free_node(device.context, alloc_node) | CODE |
| CRITICAL⚡ | warp/tests/test_graph.py | 697 | node = wp._src.context.runtime.core.wp_cuda_graph_insert_empty_node(device.context) | CODE |
| CRITICAL⚡ | warp/tests/test_graph.py | 747 | result = wp._src.context.runtime.core.wp_cuda_graph_alloc_query(a, b) | CODE |
| CRITICAL⚡ | warp/tests/test_graph.py | 756 | result = wp._src.context.runtime.core.wp_cuda_graph_alloc_query(a, b) | CODE |
| CRITICAL⚡ | warp/tests/test_graph.py | 765 | result = wp._src.context.runtime.core.wp_cuda_graph_alloc_query(a, b) | CODE |
| CRITICAL | warp/tests/test_graph.py | 723 | result = wp._src.context.runtime.core.wp_cuda_graph_node_depends_on(a, b) | CODE |
| CRITICAL⚡ | warp/tests/cuda/test_async.py | 415 | saved_error_output_enabled = wp._src.context.runtime.core.wp_is_error_output_enabled() | CODE |
| CRITICAL⚡ | warp/tests/cuda/test_async.py | 416 | wp._src.context.runtime.core.wp_set_error_output_enabled(False) | CODE |
| CRITICAL⚡ | warp/tests/cuda/test_async.py | 421 | wp._src.context.runtime.core.wp_set_error_output_enabled(saved_error_output_enabled) | CODE |
| CRITICAL | warp/tests/interop/test_jax.py | 1484 | for c in wp._src.jax.ffi._FFI_CALLABLE_REGISTRY.values(): | CODE |
| CRITICAL | warp/tests/tile/test_tile_fft.py | 12 | wp.init() # For wp._src.context.runtime.core.wp_is_mathdx_enabled() | CODE |
| CRITICAL | warp/tests/tile/test_tile_fft.py | 116 | if wp_device.is_cuda and not wp._src.context.runtime.core.wp_is_mathdx_enabled(): | CODE |
| CRITICAL | warp/tests/tile/test_tile_fft.py | 158 | if wp_device.is_cuda and not wp._src.context.runtime.core.wp_is_mathdx_enabled(): | CODE |
| CRITICAL⚡ | warp/tests/tile/test_tile_cholesky.py | 851 | not wp._src.context.runtime.core.wp_is_mathdx_enabled() | CODE |
| CRITICAL⚡ | warp/tests/tile/test_tile_cholesky.py | 853 | wp._src.context.runtime.core.wp_is_mathdx_enabled() | CODE |
| 10 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | build_docs.py | 9 | CODE | |
| LOW | build_llvm.py | 17 | CODE | |
| LOW | build_lib.py | 15 | CODE | |
| LOW | tools/ci/cuda_toolkit.py | 47 | CODE | |
| LOW | tools/ci/test_cuda_toolkit.py | 4 | CODE | |
| LOW | tools/ci/publishing/kitmaker_release.py | 17 | CODE | |
| LOW | tools/ci/publishing/set_nightly_version.py | 11 | CODE | |
| LOW | tools/ci/publishing/set_nightly_version.py | 11 | CODE | |
| LOW | tools/pre-commit-hooks/check_generated_files.py | 20 | CODE | |
| LOW | tools/pre-commit-hooks/check_generated_files.py | 30 | CODE | |
| LOW | tools/pre-commit-hooks/check_version_consistency.py | 18 | CODE | |
| LOW | tools/pre-commit-hooks/sync_skills.py | 18 | CODE | |
| LOW | tools/repoman/repoman.py | 6 | CODE | |
| LOW | tools/repoman/repoman.py | 7 | CODE | |
| LOW | …aude/skills/warp-release-audit/scripts/list_commits.py | 11 | CODE | |
| LOW | …e/skills/warp-release-audit/scripts/diff_public_api.py | 11 | CODE | |
| LOW | …skills/warp-release-notes/scripts/list_contributors.py | 21 | CODE | |
| LOW | docs/generate_reference.py | 18 | CODE | |
| LOW | …odex/skills/warp-release-audit/scripts/list_commits.py | 11 | CODE | |
| LOW | …x/skills/warp-release-audit/scripts/diff_public_api.py | 11 | CODE | |
| LOW | …skills/warp-release-notes/scripts/list_contributors.py | 21 | CODE | |
| LOW | warp/__init__.py | 104 | CODE | |
| LOW | warp/__init__.py | 105 | CODE | |
| LOW | warp/__init__.py | 106 | CODE | |
| LOW | warp/__init__.py | 107 | CODE | |
| LOW | warp/__init__.py | 108 | CODE | |
| LOW | warp/__init__.py | 113 | CODE | |
| LOW | warp/__init__.py | 114 | CODE | |
| LOW | warp/__init__.py | 115 | CODE | |
| LOW | warp/__init__.py | 116 | CODE | |
| LOW | warp/__init__.py | 117 | CODE | |
| LOW | warp/__init__.py | 118 | CODE | |
| LOW | warp/__init__.py | 119 | CODE | |
| LOW | warp/__init__.py | 120 | CODE | |
| LOW | warp/__init__.py | 121 | CODE | |
| LOW | warp/__init__.py | 122 | CODE | |
| LOW | warp/__init__.py | 124 | CODE | |
| LOW | warp/__init__.py | 125 | CODE | |
| LOW | warp/__init__.py | 131 | CODE | |
| LOW | warp/__init__.py | 132 | CODE | |
| LOW | warp/__init__.py | 133 | CODE | |
| LOW | warp/__init__.py | 134 | CODE | |
| LOW | warp/__init__.py | 135 | CODE | |
| LOW | warp/__init__.py | 136 | CODE | |
| LOW | warp/__init__.py | 137 | CODE | |
| LOW | warp/__init__.py | 138 | CODE | |
| LOW | warp/__init__.py | 139 | CODE | |
| LOW | warp/__init__.py | 140 | CODE | |
| LOW | warp/__init__.py | 141 | CODE | |
| LOW | warp/__init__.py | 142 | CODE | |
| LOW | warp/__init__.py | 144 | CODE | |
| LOW | warp/__init__.py | 145 | CODE | |
| LOW | warp/__init__.py | 146 | CODE | |
| LOW | warp/__init__.py | 147 | CODE | |
| LOW | warp/__init__.py | 148 | CODE | |
| LOW | warp/__init__.py | 149 | CODE | |
| LOW | warp/__init__.py | 150 | CODE | |
| LOW | warp/__init__.py | 151 | CODE | |
| LOW | warp/__init__.py | 152 | CODE | |
| LOW | warp/__init__.py | 153 | CODE | |
| 888 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | build_docs.py | 57 | CODE | |
| LOW | setup.py | 87 | CODE | |
| LOW | build_llvm.py | 438 | CODE | |
| LOW | build_lib.py | 178 | CODE | |
| LOW | build_lib.py | 254 | CODE | |
| LOW | tools/ci/cuda_toolkit.py | 523 | CODE | |
| LOW | tools/ci/cuda_toolkit.py | 574 | CODE | |
| LOW | tools/ci/cuda_toolkit.py | 877 | CODE | |
| LOW | tools/ci/deploy_doc.py | 298 | CODE | |
| LOW | tools/ci/publishing/kitmaker_release.py | 102 | CODE | |
| LOW | tools/llvm/package_sdk.py | 42 | CODE | |
| LOW | tools/llvm/check_sdk.py | 115 | CODE | |
| LOW | tools/packman/packmanconf.py | 78 | CODE | |
| LOW | …e/skills/warp-release-audit/scripts/diff_public_api.py | 291 | CODE | |
| LOW | …skills/warp-release-notes/scripts/list_contributors.py | 225 | CODE | |
| LOW | …skills/warp-release-notes/scripts/list_contributors.py | 387 | CODE | |
| LOW | docs/conf.py | 536 | CODE | |
| LOW | docs/conf.py | 585 | CODE | |
| LOW | docs/generate_reference.py | 304 | CODE | |
| LOW | docs/generate_reference.py | 443 | CODE | |
| LOW | …x/skills/warp-release-audit/scripts/diff_public_api.py | 291 | CODE | |
| LOW | …skills/warp-release-notes/scripts/list_contributors.py | 225 | CODE | |
| LOW | …skills/warp-release-notes/scripts/list_contributors.py | 387 | CODE | |
| LOW | warp/_src/build_dll.py | 144 | CODE | |
| LOW | warp/_src/build_dll.py | 368 | CODE | |
| LOW | warp/_src/build_dll.py | 582 | CODE | |
| LOW | warp/_src/build.py | 319 | CODE | |
| LOW | warp/_src/build.py | 388 | CODE | |
| LOW | warp/_src/build.py | 622 | CODE | |
| LOW | warp/_src/external_build.py | 80 | CODE | |
| LOW | warp/_src/deterministic.py | 948 | CODE | |
| LOW | warp/_src/deterministic.py | 977 | CODE | |
| LOW | warp/_src/deterministic.py | 1089 | CODE | |
| LOW | warp/_src/deterministic.py | 1980 | CODE | |
| LOW | warp/_src/fabric.py | 176 | CODE | |
| LOW | warp/_src/builtins.py | 1053 | CODE | |
| LOW | warp/_src/builtins.py | 1168 | CODE | |
| LOW | warp/_src/builtins.py | 1618 | CODE | |
| LOW | warp/_src/builtins.py | 1878 | CODE | |
| LOW | warp/_src/builtins.py | 4133 | CODE | |
| LOW | warp/_src/builtins.py | 4294 | CODE | |
| LOW | warp/_src/builtins.py | 4605 | CODE | |
| LOW | warp/_src/builtins.py | 4764 | CODE | |
| LOW | warp/_src/builtins.py | 4800 | CODE | |
| LOW | warp/_src/builtins.py | 4953 | CODE | |
| LOW | warp/_src/builtins.py | 5701 | CODE | |
| LOW | warp/_src/builtins.py | 7023 | CODE | |
| LOW | warp/_src/builtins.py | 12950 | CODE | |
| LOW | warp/_src/builtins.py | 14131 | CODE | |
| LOW | warp/_src/builtins.py | 16660 | CODE | |
| LOW | warp/_src/builtins.py | 17144 | CODE | |
| LOW | warp/_src/builtins.py | 12951 | CODE | |
| LOW | warp/_src/paddle.py | 20 | CODE | |
| LOW | warp/_src/paddle.py | 207 | CODE | |
| LOW | warp/_src/dlpack.py | 119 | CODE | |
| LOW | warp/_src/dlpack.py | 150 | CODE | |
| LOW | warp/_src/dlpack.py | 311 | CODE | |
| LOW | warp/_src/dlpack.py | 351 | CODE | |
| LOW | warp/_src/dlpack.py | 460 | CODE | |
| LOW | warp/_src/tape.py | 692 | CODE | |
| 364 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | build_lib.py | 1 | # /// script | COMMENT |
| LOW | .gitlab/ci/common.yml | 1 | # SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | .gitlab/ci/common.yml | 21 | # Collapsible Section Markers: | COMMENT |
| LOW | .gitlab/ci/common.yml | 41 | # CONTAINER IMAGES: | COMMENT |
| LOW | .gitlab/ci/asv.yml | 1 | # SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | .gitlab/ci/clang-build-and-test.yml | 1 | # SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | .gitlab/ci/debug-build-and-test.yml | 1 | # SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | tools/llvm/test_package/test_package.cpp | 1 | // SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | tools/packman/python.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/packman/packmanconf.py | 1 | # Copyright 2021-2024 NVIDIA CORPORATION | COMMENT |
| LOW | licenses/usd-LICENSE.txt | 21 | // compliance with the Apache License and the following modification to it: | COMMENT |
| LOW | docs/conf.py | 801 | # | COMMENT |
| LOW | .github/workflows/sphinx.yml | 41 | fetch-depth: 0 | COMMENT |
| LOW | .github/workflows/build-llvm-sdk.yml | 441 | # created_at descending, and a release's created_at is the date of its | COMMENT |
| LOW | warp/__init__.py | 21 | # modules to the public Warp modules their kernels/functions/structs belong to. | COMMENT |
| LOW | warp/_src/deterministic.py | 1181 | "atomic_max": REDUCE_OP_MAX, | COMMENT |
| LOW | warp/_src/context.py | 201 | # NOTE: | COMMENT |
| LOW | warp/_src/context.py | 1961 | # Compute the module hash and create a unique name. | COMMENT |
| LOW | warp/_src/context.py | 2901 | COMMENT | |
| LOW | warp/_src/context.py | 3501 | # Pass 1: Forward functions that don't use wp.grad() | COMMENT |
| LOW | warp/_src/context.py | 4061 | # Check for unresolved static expressions in the function. | COMMENT |
| LOW | warp/_src/context.py | 4501 | # (forced rebuild when verifying autograd array access) | COMMENT |
| LOW | warp/_src/codegen.py | 1921 | # This will signal to the module builder that this module needs to be rebuilt even if the module hash is unchang | COMMENT |
| LOW | warp/_src/codegen.py | 2661 | bound_arg_nodes = {} | COMMENT |
| LOW | warp/_src/codegen.py | 3401 | for stmt in node.body: | COMMENT |
| LOW | warp/_src/codegen.py | 6341 | def replace_static_expressions(adj): | COMMENT |
| LOW | warp/_src/codegen.py | 6421 | # identify the function, as the function may be redefined between the current time | COMMENT |
| LOW | warp/_src/codegen.py | 6681 | #define int(x) cast_int(x) | COMMENT |
| LOW | warp/_src/codegen.py | 6701 | #if defined(_MSC_VER) | COMMENT |
| LOW | warp/_src/codegen.py | 6721 | COMMENT | |
| LOW | warp/_src/codegen.py | 6741 | #define WP_MAXNREG(n) __maxnreg__(n) | COMMENT |
| LOW | warp/_src/codegen.py | 7521 | # of the concrete ``tile_register_t<...>`` type, C++ template argument | COMMENT |
| LOW | warp/_src/render/render_opengl.py | 2901 | # glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR) | COMMENT |
| LOW | warp/_src/apic/capture.py | 41 | # Region tracking: id(base_array) -> (region_id, base_ptr, capacity, base_array). | COMMENT |
| LOW | warp/_src/jax/xla_ffi.py | 121 | # XLA_FFI_DataType_PRED = 1, | COMMENT |
| LOW | warp/_src/jax/xla_ffi.py | 281 | # XLA_FFI_AttrType_DICTIONARY = 2, | COMMENT |
| LOW | warp/_src/jax/xla_ffi.py | 321 | ("major_version", ctypes.c_int), | COMMENT |
| LOW | warp/_src/jax/xla_ffi.py | 361 | # XLA_FFI_Error_Code_OK = 0, | COMMENT |
| LOW | warp/_src/jax/xla_ffi.py | 461 | # _XLA_FFI_API_STRUCT_FIELD(XLA_FFI_Error_GetMessage); | COMMENT |
| LOW | warp/_src/jax/xla_ffi.py | 501 | # TODO(chaserileyroberts): Make this return the correct value and not a c_void_p. | COMMENT |
| LOW | warp/native/bvh.cpp | 1 | // SPDX-FileCopyrightText: Copyright (c) 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | warp/native/crt.cpp | 1 | // SPDX-FileCopyrightText: Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | warp/native/noise.h | 1061 | COMMENT | |
| LOW | warp/native/range.h | 1 | // SPDX-FileCopyrightText: Copyright (c) 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | warp/native/version.h | 1 | // SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | warp/native/svd.h | 1 | // SPDX-FileCopyrightText: Copyright (c) 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | warp/native/builtin.h | 1 | // SPDX-FileCopyrightText: Copyright (c) 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | warp/native/builtin.h | 21 | #define CUDA_CALLABLE_DEVICE __device__ | COMMENT |
| LOW | warp/native/builtin.h | 41 | COMMENT | |
| LOW | warp/native/builtin.h | 301 | inline CUDA_CALLABLE float16 approx_div(float16 a, float16 b) { return float16(float(a) / float(b)); } | COMMENT |
| LOW | warp/native/builtin.h | 701 | // through float losslessly because the result is always one of the inputs. | COMMENT |
| LOW | warp/native/builtin.h | 2101 | /* Define __PTR for atomicAdd prototypes below, undef after done */ | COMMENT |
| LOW | warp/native/builtin.h | 2801 | } // namespace wp | COMMENT |
| LOW | warp/native/builtin.h | 2821 | #include "tile_reduce.h" | COMMENT |
| LOW | warp/native/tile.h | 1 | // SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | warp/native/tile.h | 21 | // float4 already available | COMMENT |
| LOW | warp/native/tile.h | 41 | #if defined(__CUDACC_RTC__) || (defined(__clang__) && defined(__CUDA__)) | COMMENT |
| LOW | warp/native/tile.h | 1141 | // (AArch64) or a static variable (x86-64). | COMMENT |
| LOW | warp/native/tile.h | 1961 | if (valid) | COMMENT |
| LOW | warp/native/tile.h | 1981 | // 2. Coalesced byte-copy (large element types only, sizeof(T) > 16) | COMMENT |
| 220 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | asv/benchmarks/fem/integrate.py | 0 | utility base class for building fem matrices to test bsr matrix-vector multiplication. | STRING |
| HIGH | asv/benchmarks/sparse/matrix_vector.py | 0 | utility base class for building fem matrices to test bsr matrix-vector multiplication. | STRING |
| HIGH | asv/benchmarks/sparse/matrix_matrix.py | 0 | utility base class for building fem matrices to test bsr matrix-vector multiplication. | STRING |
| HIGH | …aude/skills/warp-release-audit/scripts/list_commits.py | 0 | return sorted, deduplicated gh issue numbers referenced in subject+body. | STRING |
| HIGH | …skills/warp-release-notes/scripts/list_contributors.py | 0 | return sorted, deduplicated gh issue numbers referenced in subject+body. | STRING |
| HIGH | …odex/skills/warp-release-audit/scripts/list_commits.py | 0 | return sorted, deduplicated gh issue numbers referenced in subject+body. | STRING |
| HIGH | …skills/warp-release-notes/scripts/list_contributors.py | 0 | return sorted, deduplicated gh issue numbers referenced in subject+body. | STRING |
| HIGH | warp/_src/fem/quadrature/quadrature.py | 0 | structure containing arguments to be passed to side-related device functions. | STRING |
| HIGH | warp/_src/fem/space/partition.py | 0 | structure containing arguments to be passed to side-related device functions. | STRING |
| HIGH | warp/_src/fem/geometry/partition.py | 0 | structure containing arguments to be passed to side-related device functions. | STRING |
| HIGH | warp/_src/fem/geometry/quadmesh.py | 0 | generate a cellarg struct for the given position vector type. | STRING |
| HIGH | warp/_src/fem/geometry/hexmesh.py | 0 | generate a cellarg struct for the given position vector type. | STRING |
| HIGH | warp/_src/fem/geometry/trimesh.py | 0 | generate a cellarg struct for the given position vector type. | STRING |
| HIGH | warp/_src/fem/geometry/quadmesh.py | 0 | generate a sidearg struct for the given position vector type. | STRING |
| HIGH | warp/_src/fem/geometry/hexmesh.py | 0 | generate a sidearg struct for the given position vector type. | STRING |
| HIGH | warp/_src/fem/geometry/trimesh.py | 0 | generate a sidearg struct for the given position vector type. | STRING |
| HIGH | warp/_src/fem/geometry/partition.py | 0 | fill the arguments to be passed to cell-related device functions. | STRING |
| HIGH | warp/_src/fem/geometry/hexmesh.py | 0 | fill the arguments to be passed to cell-related device functions. | STRING |
| HIGH | warp/_src/fem/geometry/trimesh.py | 0 | fill the arguments to be passed to cell-related device functions. | STRING |
| HIGH | warp/_src/fem/geometry/tetmesh.py | 0 | fill the arguments to be passed to cell-related device functions. | STRING |
| HIGH | warp/_src/fem/geometry/partition.py | 0 | fill the arguments to be passed to side-related device functions. | STRING |
| HIGH | warp/_src/fem/geometry/hexmesh.py | 0 | fill the arguments to be passed to side-related device functions. | STRING |
| HIGH | warp/_src/fem/geometry/trimesh.py | 0 | fill the arguments to be passed to side-related device functions. | STRING |
| HIGH | warp/_src/fem/geometry/tetmesh.py | 0 | fill the arguments to be passed to side-related device functions. | STRING |
| HIGH | warp/_src/fem/geometry/hexmesh.py | 0 | fill the arguments to be passed to side-index device functions. | STRING |
| HIGH | warp/_src/fem/geometry/trimesh.py | 0 | fill the arguments to be passed to side-index device functions. | STRING |
| HIGH | warp/_src/fem/geometry/tetmesh.py | 0 | fill the arguments to be passed to side-index device functions. | STRING |
| HIGH | warp/_src/fem/geometry/nanogrid.py | 0 | device function for looking up the closest cell to a position. | STRING |
| HIGH | warp/_src/fem/geometry/grid_2d.py | 0 | device function for looking up the closest cell to a position. | STRING |
| HIGH | warp/_src/fem/geometry/grid_3d.py | 0 | device function for looking up the closest cell to a position. | STRING |
| HIGH | warp/_src/fem/geometry/geometry.py | 0 | device function for looking up the closest cell to a position. | STRING |
| HIGH | warp/_src/fem/geometry/grid_2d.py | 0 | create a filtered cell lookup function. args: filter_func: optional device predicate to filter candidate cells. | STRING |
| HIGH | warp/_src/fem/geometry/grid_3d.py | 0 | create a filtered cell lookup function. args: filter_func: optional device predicate to filter candidate cells. | STRING |
| HIGH | warp/_src/fem/geometry/geometry.py | 0 | create a filtered cell lookup function. args: filter_func: optional device predicate to filter candidate cells. | STRING |
| HIGH | warp/tests/test_vec.py | 0 | get or create a cached kernel. args: kernel_cache: dictionary to cache kernels (module-local). func: kernel function to | STRING |
| HIGH | warp/tests/test_vec_scalar_ops.py | 0 | get or create a cached kernel. args: kernel_cache: dictionary to cache kernels (module-local). func: kernel function to | STRING |
| HIGH | warp/tests/test_quat.py | 0 | get or create a cached kernel. args: kernel_cache: dictionary to cache kernels (module-local). func: kernel function to | STRING |
| HIGH | warp/tests/test_arithmetic.py | 0 | get or create a cached kernel. args: kernel_cache: dictionary to cache kernels (module-local). func: kernel function to | STRING |
| HIGH | warp/tests/matrix/utils.py | 0 | get or create a cached kernel. args: kernel_cache: dictionary to cache kernels (module-local). func: kernel function to | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | build_llvm.py | 511 | except Exception as e: | CODE |
| MEDIUM | build_lib.py | 160 | print(f"Error: libmathdx path does not exist or is not a directory: {libmathdx_path}") | CODE |
| MEDIUM | build_lib.py | 172 | print(f"Error: libmathdx installation is missing '{name}' directory: {path}") | CODE |
| MEDIUM⚡ | build_lib.py | 417 | print("Error: --llvm-path and --build-llvm are mutually exclusive.") | CODE |
| MEDIUM⚡ | build_lib.py | 425 | print("Error: --no-cuda and --cuda-path are mutually exclusive.") | CODE |
| MEDIUM⚡ | build_lib.py | 428 | print("Error: --clang-build-toolchain requires CUDA (incompatible with --no-cuda).") | CODE |
| MEDIUM⚡ | build_lib.py | 431 | print("Error: --use-dynamic-cuda requires CUDA (incompatible with --no-cuda).") | CODE |
| MEDIUM | build_lib.py | 494 | print("Error: --msvc-path and --sdk-path must be used together") | CODE |
| MEDIUM | build_lib.py | 577 | print("Error: libmathdx not found. MathDx support is enabled but libmathdx could not be located.") | CODE |
| LOW | build_lib.py | 613 | except Exception as e: | CODE |
| LOW | build_lib.py | 626 | except Exception as e: | CODE |
| LOW | build_lib.py | 712 | except Exception as e: | CODE |
| LOW | design/hardware-coherent-memory-access.md | 942 | except Exception: | CODE |
| LOW | tools/ci/deploy_doc.py | 454 | except Exception as e: | STRING |
| MEDIUM | tools/ci/deploy_doc.py | 455 | print(f"Error: {e}", file=sys.stderr) | STRING |
| MEDIUM | tools/ci/publishing/update_git_hash.py | 73 | print(f"Error: _git_commit_hash pattern not found in {config_file_path}") | CODE |
| LOW | tools/ci/publishing/update_git_hash.py | 85 | except Exception as e: | CODE |
| MEDIUM | tools/ci/publishing/update_git_hash.py | 86 | print(f"Error updating git hash in config file: {e}") | CODE |
| MEDIUM⚡ | tools/ci/publishing/kitmaker_release.py | 201 | print(f"Error: Missing required configuration: {', '.join(missing)}") | STRING |
| MEDIUM⚡ | tools/ci/publishing/kitmaker_release.py | 206 | print("Error: KITMAKER_API_TOKEN environment variable is not set") | STRING |
| MEDIUM⚡ | tools/ci/publishing/kitmaker_release.py | 213 | print(f"Error: Too many wheel URLs ({len(args.wheel_urls)}). Maximum is 4.") | STRING |
| MEDIUM⚡ | tools/ci/publishing/kitmaker_release.py | 219 | print(f"Error: Invalid wheel URL (must be https:// and end with .whl): {wheel_url}") | STRING |
| LOW | tools/ci/publishing/kitmaker_release.py | 260 | except Exception as e: | STRING |
| LOW⚡ | tools/ci/publishing/set_nightly_version.py | 91 | except Exception as e: | CODE |
| MEDIUM⚡ | tools/ci/publishing/set_nightly_version.py | 92 | print(f"Error updating version in config file: {e}") | CODE |
| LOW | tools/ci/publishing/set_nightly_version.py | 116 | except Exception as e: | CODE |
| MEDIUM | tools/ci/publishing/set_nightly_version.py | 117 | print(f"Error updating version file: {e}") | CODE |
| LOW | tools/ci/publishing/set_nightly_version.py | 190 | except Exception as e: | CODE |
| MEDIUM | tools/ci/publishing/set_nightly_version.py | 191 | print(f"Error updating version: {e}") | CODE |
| LOW | docs/conf.py | 374 | except Exception: | CODE |
| LOW | docs/conf.py | 499 | except Exception: | STRING |
| LOW | docs/conf.py | 593 | except Exception: | CODE |
| LOW | warp/_src/build_dll.py | 273 | except Exception as e: | CODE |
| MEDIUM | warp/_src/build_dll.py | 253 | def get_cuda_toolkit_version(cuda_home) -> tuple[int, int]: | CODE |
| LOW | warp/_src/external_build.py | 233 | except Exception as e: | CODE |
| LOW | warp/_src/deterministic.py | 2433 | except Exception: | CODE |
| LOW | warp/_src/paddle.py | 58 | except Exception as e: | CODE |
| MEDIUM | warp/_src/types.py | 132 | def __eq__(self, x): | CODE |
| MEDIUM | warp/_src/types.py | 3792 | def _init_from_ptr(self, ptr, dtype, shape, strides, capacity, device, pinned, d | CODE |
| MEDIUM | warp/_src/types.py | 3846 | def _init_new(self, dtype, shape, strides, device, pinned): | CODE |
| LOW | warp/_src/types.py | 3458 | except Exception: | CODE |
| LOW | warp/_src/types.py | 3604 | except Exception as e: | CODE |
| LOW | warp/_src/types.py | 3638 | except Exception as e: | CODE |
| LOW | warp/_src/types.py | 3664 | except Exception as e: | CODE |
| LOW | warp/_src/types.py | 3683 | except Exception as e: | CODE |
| LOW | warp/_src/types.py | 3714 | except Exception as e: | CODE |
| LOW | warp/_src/types.py | 3744 | except Exception as e: | CODE |
| LOW | warp/_src/types.py | 3769 | except Exception: | CODE |
| LOW | warp/_src/types.py | 3796 | except Exception: | CODE |
| LOW | warp/_src/types.py | 3850 | except Exception: | CODE |
| LOW | warp/_src/types.py | 4442 | except Exception as e: | CODE |
| LOW | warp/_src/types.py | 5081 | except Exception: | CODE |
| LOW | warp/_src/types.py | 5212 | except Exception as e: | CODE |
| LOW | warp/_src/types.py | 8385 | except Exception as e: | CODE |
| LOW | warp/_src/logger.py | 89 | except Exception: | CODE |
| MEDIUM | warp/_src/context.py | 640 | def get_builtin(self, *args, **kwargs) -> BuiltinCallDesc: | CODE |
| MEDIUM | warp/_src/context.py | 6050 | def __del__(self): | CODE |
| LOW⚡ | warp/_src/context.py | 4605 | except Exception as e: | CODE |
| LOW⚡ | warp/_src/context.py | 4613 | except Exception as reported: | CODE |
| LOW | warp/_src/context.py | 2821 | except Exception as e: | CODE |
| 118 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | .gitlab/ci/common.yml | 7 | # This file defines reusable configuration snippets that are shared across all | COMMENT |
| MEDIUM | .gitlab/ci/common.yml | 39 | # Define a PowerShell function to get timestamps for Windows jobs | COMMENT |
| MEDIUM | .gitlab/ci/asv.yml | 158 | # Create a working asv env first (no project build), so subsequent | COMMENT |
| MEDIUM | tools/ci/publishing/update_git_hash.py | 66 | # Define the regex to match the _git_commit_hash assignment | COMMENT |
| MEDIUM | tools/ci/publishing/set_nightly_version.py | 76 | # Define the regex to match the version assignment, including optional local version identifiers | COMMENT |
| MEDIUM | docs/generate_reference.py | 542 | # Create a dummy module for the rest of the code to run smoothly. | STRING |
| MEDIUM | warp/_src/context.py | 1916 | # Create a new temporary module that will be renamed based on hash. | COMMENT |
| MEDIUM | warp/_src/context.py | 1948 | # Create the kernel object and register it with the module | COMMENT |
| MEDIUM | warp/_src/utils.py | 906 | # Create a Warp function from the input function | COMMENT |
| MEDIUM⚡ | warp/_src/texture.py | 181 | # Create a 1D texture | STRING |
| MEDIUM⚡ | warp/_src/texture.py | 184 | # Create a 2D texture | STRING |
| MEDIUM⚡ | warp/_src/texture.py | 187 | # Create a 3D texture | STRING |
| MEDIUM | warp/_src/render/render_opengl.py | 3286 | # Create a new instance. | COMMENT |
| MEDIUM | warp/_src/render/render_opengl.py | 3340 | # Create a new instance if necessary. | COMMENT |
| MEDIUM | warp/_src/jax/custom_call.py | 189 | # Create the batched primitive. | COMMENT |
| MEDIUM | warp/_src/thirdparty/unittest_parallel.py | 232 | # Create the temporary directory (for coverage files) | STRING |
| MEDIUM | warp/_src/thirdparty/unittest_parallel.py | 271 | # Create the shared index object used in Warp caches (NVIDIA Modification) | STRING |
| MEDIUM | warp/_src/thirdparty/unittest_parallel.py | 355 | # Create a new single-process pool for each test suite | STRING |
| MEDIUM | warp/_src/thirdparty/unittest_parallel.py | 525 | # Create the coverage object | STRING |
| MEDIUM | warp/tests/test_utils.py | 96 | values = scalar_values_base[::2] # Create a non-contiguous Warp array view. | CODE |
| MEDIUM | warp/tests/test_utils.py | 132 | values = vector_values_base[1::2] # Create a non-contiguous Warp array view. | CODE |
| MEDIUM | warp/tests/aux_test_reference.py | 3 | # This file is used to test reloading module references. | COMMENT |
| MEDIUM | warp/tests/test_sparse.py | 915 | # Create a dense "sparse" matrix | COMMENT |
| MEDIUM | warp/tests/test_unique_module.py | 149 | # Define an identical kernel without fast_math to prove the option | COMMENT |
| MEDIUM⚡ | warp/tests/test_struct.py | 736 | # Create an array, then assign it to the struct. | COMMENT |
| MEDIUM | warp/tests/aux_test_reference_reference.py | 3 | # This file is used to test reloading module references. | COMMENT |
| MEDIUM | warp/tests/unittest_suites.py | 10 | # This module is a lazy suite manifest: importing it should not import and | COMMENT |
| MEDIUM | warp/tests/test_reload.py | 173 | # This file is used to test reloading module references. | COMMENT |
| MEDIUM | warp/tests/test_reload.py | 186 | # This file is used to test reloading module references. | COMMENT |
| MEDIUM | warp/tests/test_indexedarray.py | 168 | # Create the indexedarray on CPU, then move the struct to CUDA. | COMMENT |
| MEDIUM⚡ | warp/tests/cuda/test_streams.py | 395 | # Create a high-priority stream with a priority value that is smaller than -1 (clamping expected) | COMMENT |
| MEDIUM⚡ | warp/tests/cuda/test_streams.py | 398 | # Create a low-priority stream with a priority value that is greater than 0 (clamping expected) | COMMENT |
| MEDIUM⚡ | warp/tests/cuda/test_texture.py | 1313 | # Create a simple 2x2 texture with distinct values: | COMMENT |
| MEDIUM | warp/tests/cuda/test_texture.py | 1376 | # Create a simple 2x2 texture with distinct values: | COMMENT |
| MEDIUM | warp/tests/cuda/test_texture.py | 1463 | # Create a 2x2x2 texture with values 0-7 | COMMENT |
| MEDIUM | warp/tests/cuda/test_texture.py | 1509 | # Create a 2x2x2 texture with values 0-7 | COMMENT |
| MEDIUM | warp/tests/cuda/test_texture.py | 2498 | # Create a texture with a constant value | COMMENT |
| MEDIUM | warp/tests/cuda/test_texture.py | 2534 | # Create a texture with a constant value | COMMENT |
| MEDIUM | warp/tests/interop/test_dlpack.py | 481 | # Create a numpy array from a JAX array to respect XLA alignment needs | COMMENT |
| MEDIUM | warp/tests/interop/test_dlpack.py | 528 | # Create a numpy array from a JAX array to respect XLA alignment needs | COMMENT |
| MEDIUM⚡ | warp/tests/deterministic/test_deterministic_options.py | 138 | # Create a kernel with a per-module deterministic override. | COMMENT |
| MEDIUM | warp/tests/tile/test_tile_sort.py | 55 | rng = np.random.default_rng(42) # Create a random generator instance | CODE |
| MEDIUM | warp/tests/geometry/test_bvh.py | 400 | # Create a single AABB spanning x=[0.5, 1.0], extending across y and z axes | COMMENT |
| MEDIUM | warp/tests/geometry/test_mesh_query_aabb.py | 380 | # Create a simple mesh (two triangles forming a quad) | COMMENT |
| MEDIUM | warp/tests/geometry/test_mesh_query_aabb.py | 486 | # Create a query box that should intersect multiple triangles | COMMENT |
| MEDIUM | warp/tests/geometry/test_mesh_query_aabb.py | 553 | # Create a simple mesh (two triangles forming a quad) | COMMENT |
| MEDIUM | warp/examples/core/example_graph_capture.py | 120 | # Create the animation | COMMENT |
| MEDIUM | warp/examples/core/example_work_queue.py | 86 | # Create a work queue with capacity 1024 | COMMENT |
| MEDIUM | warp/examples/core/example_torch.py | 32 | # Define the Rosenbrock function | COMMENT |
| MEDIUM | warp/examples/core/example_torch.py | 122 | # Create a grid of points | COMMENT |
| MEDIUM | warp/examples/core/example_torch.py | 150 | # Create a scatter plot (initially empty) | COMMENT |
| MEDIUM | warp/examples/core/example_torch.py | 212 | # Create the animation | COMMENT |
| MEDIUM | warp/examples/core/example_spin_lock.py | 55 | # Create a lock array initialized to 0 (unlocked) | COMMENT |
| MEDIUM | warp/examples/fem/example_navier_stokes.py | 128 | # Define an implicit field for our boundary condition value and integrate | COMMENT |
| MEDIUM | warp/examples/tile/example_tile_block_cholesky.py | 321 | # Create a symmetric positive definite matrix | COMMENT |
| MEDIUM | warp/examples/tile/example_tile_block_cholesky.py | 427 | # Create a stream for graph capture | COMMENT |
| MEDIUM | warp/examples/tile/example_tile_nbody.py | 110 | # Create a figure and a 3D axis for the plot | COMMENT |
| MEDIUM | warp/examples/tile/example_tile_nbody.py | 179 | # Create the animation | COMMENT |
| MEDIUM | …les/g11_stage_pipeline/src/stage_pipeline/reduction.py | 10 | # This module is always launched at BLOCK_DIM, so declare it as the module | COMMENT |
| MEDIUM | …les/g11_stage_pipeline/src/stage_pipeline/transport.py | 10 | # This module is always launched at BLOCK_DIM, so declare it as the module | COMMENT |
| 3 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tools/ci/publishing/set_nightly_version.py | 14 | Return an incremented version based on the input semantic version. Args: version: Input version string | STRING |
| HIGH | warp/_src/build_dll.py | 369 | Get LLVM include directory paths based on configuration. Args: args: The argument namespace containing llvm | STRING |
| HIGH | warp/_src/types.py | 4377 | Set all array entries to `value` args: value: The value to set every array entry to. Must be conver | STRING |
| HIGH | warp/_src/types.py | 5056 | Create an array from an IPC handle. The ``dtype``, ``shape``, and optional ``strides`` arguments should match t | STRING |
| HIGH | warp/_src/types.py | 6003 | Rebuild the BVH hierarchy **in place** from the current ``lowers``/``uppers`` arrays. This method does not allo | STRING |
| HIGH | warp/_src/types.py | 6921 | Create a new :class:`Volume` aliasing an in-memory grid buffer. In contrast to :meth:`load_from_nvdb` which sho | STRING |
| HIGH | warp/_src/types.py | 7579 | Rebuild this volume's topology in place from ``points``. The volume must have been created with ``rebuildable=T | STRING |
| HIGH | warp/_src/context.py | 5955 | Validate :data:`warp.config.cuda_arch_suffix` and return the suffix string. This is a device-independent validation | STRING |
| HIGH | warp/_src/context.py | 6182 | Return the address of a named parameter region in a loaded graph. The returned address is a host pointer for a | STRING |
| HIGH | warp/_src/context.py | 9070 | Get the CUDA memory pool release threshold on the device. Parameters: device: The :class:`~warp._src.contex | STRING |
| HIGH | warp/_src/context.py | 9099 | Get the amount of memory from the device's memory pool that is currently in use by the application. Parameters: | STRING |
| HIGH | warp/_src/context.py | 9128 | Get the application's memory usage high-water mark from the device's CUDA memory pool. Parameters: device: | STRING |
| HIGH | warp/_src/context.py | 10058 | Return whether ``device`` can directly access ``resource``. In this release, ``resource`` must be a concrete Warp a | STRING |
| HIGH | warp/_src/context.py | 10262 | Create an event from an IPC handle. Args: handle: The interprocess event handle for an existing CUDA event. | STRING |
| HIGH | warp/_src/context.py | 11128 | Validate launch dimensions and compute the total thread count. This is the common normalization path for kernel lau | STRING |
| HIGH | warp/_src/context.py | 11759 | Return properties of a compiled CUDA kernel. The result contains ``"register_count"`` in registers per thread and | STRING |
| HIGH | warp/_src/context.py | 11802 | Suggest a CUDA block size that maximizes occupancy for a kernel. Queries the CUDA driver's occupancy API (``cuO | STRING |
| HIGH | warp/_src/context.py | 12139 | Return the fully qualified module name of the caller. Uses a multi-step fallback chain so that callers running unde | STRING |
| HIGH | warp/_src/context.py | 12287 | Resolve a module from a string, Module, or types.ModuleType. Args: module: The module to resolve. Retu | STRING |
| HIGH | warp/_src/context.py | 12356 | Compile a module (ahead of time) for a given device. The returned artifact-path contract is experimental and may ch | STRING |
| HIGH | warp/_src/utils.py | 378 | Perform run-length encoding on an array. This function compresses an array by replacing consecutive identical value | STRING |
| HIGH | warp/_src/utils.py | 523 | Compute the sum of array elements. This function computes the sum of array elements, optionally along a specified a | STRING |
| HIGH | warp/_src/utils.py | 659 | Compute the inner product of two arrays. This function computes the dot product between two arrays, optionally alon | STRING |
| HIGH | warp/_src/math.py | 391 | Construct a quaternion from Euler angles and an axis sequence. Args: e: Euler angles in radians. i: | STRING |
| HIGH | warp/_src/marching_cubes.py | 821 | Extract a triangular mesh from a 3D scalar field. This function generates an isosurface by processing the entir | STRING |
| HIGH | warp/_src/fem/space/__init__.py | 116 | Makes a space topology from a geometry and an element-based shape function. Args: geo: The geometry to | STRING |
| HIGH | warp/_src/fem/space/shape/__init__.py | 71 | Equip a reference element with a shape function basis. Args: element: the type of reference element on whic | STRING |
| HIGH | warp/_src/optim/linear.py | 1050 | Compute an approximate solution to a symmetric, positive-definite linear system using the Conjugate Gradient algorit | STRING |
| HIGH | warp/_src/optim/linear.py | 1303 | Compute an approximate solution to a symmetric, positive-definite linear system using the Conjugate Residual algorit | STRING |
| HIGH | warp/examples/distributed/example_jacobi_mpi.py | 39 | Return the device that should be used for the current rank. This function is used to ensure that multiple MPI ranks | STRING |
| HIGH | warp/examples/distributed/example_jacobi_nccl.py | 40 | Return the Warp device this rank should use. Splits the communicator into a node-local group and maps each local ra | STRING |
| HIGH | warp/examples/distributed/example_jacobi_nvshmem.py | 51 | Return the Warp device this rank should use. Splits the communicator into a node-local group and maps each local ra | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docs/generate_reference.py | 323 | # to facilitate indexing with bisect. | STRING |
| LOW | warp/_src/types.py | 4078 | # for 'empty' arrays we just return the type information, these are used in kernel function signatures | COMMENT |
| MEDIUM⚡ | warp/_src/context.py | 14777 | # Use warp_home (defined at module level) for robust path resolution | COMMENT |
| MEDIUM | warp/_src/context.py | 15733 | """Print a comprehensive snapshot of the Warp build and runtime environment. | STRING |
| LOW | warp/_src/codegen.py | 829 | # Instead, we just create a stub annotation, which is not a fully usable array object. | COMMENT |
| MEDIUM | warp/_src/optim/linear.py | 957 | # Not strictly necessary, but makes it more robust to user-provided LinearOperators | COMMENT |
| MEDIUM | warp/_src/optim/linear.py | 1198 | # Not strictly necessary, but makes it more robust to user-provided LinearOperators | COMMENT |
| MEDIUM | warp/_src/optim/linear.py | 1498 | # Not strictly necessary, but makes it more robust to user-provided LinearOperators | COMMENT |
| MEDIUM | warp/_src/optim/linear.py | 1821 | # Not strictly necessary, but makes it more robust to user-provided LinearOperators | COMMENT |
| MEDIUM | warp/native/bvh.h | 497 | // Capsule: inflate bounds by radius and use the robust slab test so axis-aligned | COMMENT |
| MEDIUM | warp/native/clang/clang.cpp | 920 | // robust against virtual address space fragmentation. | COMMENT |
| MEDIUM⚡ | warp/tests/test_ctypes.py | 116 | # construct kernel + test harness for given matrix / vector types | COMMENT |
| MEDIUM | warp/tests/test_graph.py | 518 | # Disabled to avoid CI noise while we find a more robust measurement strategy. | COMMENT |
| MEDIUM | warp/tests/fem/test_fem_examples.py | 64 | # (mirroring the core example harness) and remove it after a passing run, | COMMENT |
| MEDIUM | warp/tests/fem/test_fem_examples.py | 131 | # Clean up the output stage on success (mirrors the core example harness). | COMMENT |
| MEDIUM | warp/tests/geometry/test_mesh_query_aabb.py | 902 | # on the triangle within radius), not merely AABB overlaps. Use dilate/erode bands to stay robust to | COMMENT |
| MEDIUM | warp/examples/fem/example_nonconforming_contact.py | 17 | # but more robust methods could be considered (e.g. Augmented Lagrangian) | COMMENT |
| LOW⚡ | warp/examples/fem/example_kelvin_helmholtz.py | 393 | # Binary-search-free conservative bound: just use the average | COMMENT |
| MEDIUM | …es/g11_stage_pipeline/src/stage_pipeline/statistics.py | 4 | """Statistics stage: robust summaries over a window.""" | STRING |
| MEDIUM | skills/warp-eval/scripts/validate_report_schema.py | 293 | # cannot stop an agent hand-rolling a harness that skips synchronization or | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | warp/_src/context.py | 14775 | # Step 1: Parse __init__.py to identify Python API imports and conflicts | COMMENT |
| LOW⚡ | warp/_src/context.py | 14899 | # Step 2: Write header | COMMENT |
| LOW⚡ | warp/_src/context.py | 15017 | # Step 3: Emit __init__.py non-import lines (docstring, __version__, __getattr__, etc.) | COMMENT |
| LOW⚡ | warp/_src/context.py | 15285 | # Step 4: Generate merged stubs for function conflicts | COMMENT |
| LOW⚡ | warp/_src/context.py | 15350 | # Step 5: Generate stubs for non-conflicting builtins | COMMENT |
| LOW | warp/_src/context.py | 2957 | # NOTE: This method hashes all possible overloads that a function call could resolve to. | COMMENT |
| LOW⚡ | warp/native/svd.h | 511 | // Step 1: Compute ATA | COMMENT |
| LOW⚡ | warp/native/svd.h | 516 | // Step 2: Eigenanalysis | COMMENT |
| LOW⚡ | warp/native/svd.h | 521 | // Step 3: Singular values | COMMENT |
| LOW | warp/native/svd.h | 540 | // Step 4: Eigenvectors (find V) | COMMENT |
| LOW⚡ | warp/native/svd.h | 554 | // Step 5: Compute U | COMMENT |
| LOW⚡ | warp/native/svd.h | 562 | // Step 6: Set S | COMMENT |
| LOW | warp/tests/test_sgd.py | 24 | # Step 1: momentum buffer should be initialized to gradient | COMMENT |
| LOW | warp/tests/test_sgd.py | 36 | # Step 2: momentum buffer should accumulate | COMMENT |
| LOW⚡ | warp/examples/cpp/01_source_include/README.md | 82 | python compile_kernel.py # Step 1: Compile kernels to .cu | CODE |
| LOW⚡ | warp/examples/cpp/01_source_include/README.md | 83 | cmake -B build -DCMAKE_BUILD_TYPE=Release # Step 2: Configure | CODE |
| LOW⚡ | warp/examples/cpp/01_source_include/README.md | 84 | cmake --build build --config Release # Step 3: Build | CODE |
| LOW⚡ | warp/examples/cpp/01_source_include/README.md | 85 | ./build/01_source_include # Step 4: Run (Unix) or build\Release\01_source_include.exe (Windows) | CODE |
| LOW⚡ | warp/examples/cpp/00_cubin_launch/README.md | 81 | python compile_kernel.py # Step 1: Compile kernel to CUBIN | CODE |
| LOW⚡ | warp/examples/cpp/00_cubin_launch/README.md | 82 | cmake -B build -DCMAKE_BUILD_TYPE=Release # Step 2: Configure | CODE |
| LOW⚡ | warp/examples/cpp/00_cubin_launch/README.md | 83 | cmake --build build --config Release # Step 3: Build | CODE |
| LOW⚡ | warp/examples/cpp/00_cubin_launch/README.md | 84 | ./build/00_cubin_launch # Step 4: Run (Unix) or build\Release\00_cubin_launch.exe (Windows) | CODE |
| LOW⚡ | warp/examples/cpp/03_apic_visualization_cpu/README.md | 64 | # Step 1: Capture the graph (requires Python + Warp) | COMMENT |
| LOW⚡ | warp/examples/cpp/03_apic_visualization_cpu/README.md | 67 | # Step 2: Configure and build | COMMENT |
| LOW⚡ | warp/examples/cpp/03_apic_visualization_cpu/README.md | 71 | # Step 3: Run | COMMENT |
| LOW⚡ | warp/examples/cpp/02_apic_visualization/README.md | 82 | python capture_wave.py # Step 1: Capture the graph | CODE |
| LOW⚡ | warp/examples/cpp/02_apic_visualization/README.md | 83 | cmake -B build -DCMAKE_BUILD_TYPE=Release # Step 2: Configure | CODE |
| LOW⚡ | warp/examples/cpp/02_apic_visualization/README.md | 84 | cmake --build build --config Release # Step 3: Build | CODE |
| LOW⚡ | warp/examples/cpp/02_apic_visualization/README.md | 85 | ./build/02_apic_visualization # Step 4: Run | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | warp/_src/build.py | 64 | CODE | |
| LOW | warp/_src/build.py | 154 | CODE | |
| LOW | warp/_src/builtins.py | 4239 | CODE | |
| LOW | warp/_src/builtins.py | 4444 | CODE | |
| LOW | warp/_src/builtins.py | 4541 | CODE | |
| LOW | warp/_src/tape.py | 692 | CODE | |
| LOW | warp/_src/tape.py | 1214 | CODE | |
| LOW | warp/_src/tape.py | 352 | CODE | |
| LOW | warp/_src/types.py | 3315 | CODE | |
| LOW | warp/_src/types.py | 7213 | CODE | |
| LOW | warp/_src/types.py | 7425 | CODE | |
| LOW | warp/_src/context.py | 1731 | CODE | |
| LOW | warp/_src/context.py | 2192 | CODE | |
| LOW | warp/_src/context.py | 11213 | CODE | |
| LOW | warp/_src/context.py | 228 | CODE | |
| LOW | warp/_src/context.py | 10677 | CODE | |
| LOW | warp/_src/context.py | 15420 | CODE | |
| LOW | warp/_src/autograd.py | 33 | CODE | |
| LOW | warp/_src/autograd.py | 239 | CODE | |
| LOW | warp/_src/autograd.py | 708 | CODE | |
| LOW | warp/_src/autograd.py | 854 | CODE | |
| LOW | warp/_src/utils.py | 1569 | CODE | |
| LOW | warp/_src/texture.py | 201 | CODE | |
| LOW | warp/_src/texture.py | 1152 | CODE | |
| LOW | warp/_src/texture.py | 1232 | CODE | |
| LOW | warp/_src/texture.py | 1314 | CODE | |
| LOW | warp/_src/sparse.py | 4200 | CODE | |
| LOW | warp/_src/codegen.py | 1798 | CODE | |
| LOW | warp/_src/codegen.py | 2457 | CODE | |
| LOW | warp/_src/fem/cache.py | 582 | CODE | |
| LOW | warp/_src/fem/integrate.py | 1895 | CODE | |
| LOW | warp/_src/fem/integrate.py | 3161 | CODE | |
| LOW | warp/_src/fem/geometry/adaptive_nanogrid.py | 74 | CODE | |
| LOW | warp/_src/fem/geometry/nanogrid.py | 1368 | CODE | |
| LOW | warp/_src/fem/geometry/nanogrid.py | 555 | CODE | |
| LOW | warp/_src/render/render_usd.py | 648 | CODE | |
| LOW | warp/_src/render/render_opengl.py | 992 | CODE | |
| LOW | warp/_src/render/render_opengl.py | 1525 | CODE | |
| LOW | warp/_src/render/render_opengl.py | 3222 | CODE | |
| LOW | warp/_src/optim/linear.py | 1035 | CODE | |
| LOW | warp/_src/optim/linear.py | 1288 | CODE | |
| LOW | warp/_src/optim/linear.py | 1577 | CODE | |
| LOW | warp/_src/optim/linear.py | 1918 | CODE | |
| LOW | warp/_src/optim/linear.py | 847 | CODE | |
| LOW | warp/_src/optim/linear.py | 1390 | CODE | |
| LOW | warp/_src/optim/linear.py | 1668 | CODE | |
| LOW | warp/_src/jax/custom_call.py | 398 | CODE | |
| LOW | warp/_src/jax/ffi.py | 1307 | CODE | |
| LOW | warp/_src/jax/ffi.py | 1719 | CODE | |
| LOW | warp/tests/unittest_serial.py | 27 | CODE | |
| LOW | warp/tests/cuda/test_async.py | 308 | CODE | |
| LOW | warp/examples/core/example_work_queue.py | 18 | CODE | |
| LOW | warp/examples/fem/example_apic_fluid.py | 207 | CODE | |
| LOW | warp/examples/fem/example_kelvin_helmholtz.py | 421 | CODE | |
| LOW | warp/examples/fem/utils.py | 263 | CODE | |
| LOW | warp/examples/fem/example_stokes.py | 57 | CODE | |
| LOW | warp/examples/fem/example_diffusion.py | 61 | CODE | |
| LOW | warp/examples/fem/example_darcy_ls_optimization.py | 188 | CODE | |
| LOW | warp/jax_experimental/__init__.py | 42 | CODE | |
| LOW | warp/jax_experimental/ffi.py | 36 | CODE | |
| 1 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | build_lib.py | 233 | # Check if the libmathdx target directory exists and is not a symbolic link | COMMENT |
| LOW | tools/packman/bootstrap/install_package.py | 137 | # Read the file in binary mode and update the hash object with data | COMMENT |
| LOW | docs/generate_reference.py | 360 | # Check if there's any public symbol that we missed while parsing the AST. | STRING |
| LOW | docs/generate_reference.py | 582 | # Check if this submodule name exists as a symbol in the parent module | STRING |
| LOW | warp/_src/build_dll.py | 99 | # Print output even on success to show warnings | COMMENT |
| LOW | warp/_src/build_dll.py | 158 | # Check if Visual Studio environment already configured (conda, Docker, etc.) | COMMENT |
| LOW | warp/_src/build_dll.py | 340 | # Check if the directory exists | COMMENT |
| LOW | warp/_src/dlpack.py | 479 | # Check if the source lives on a CUDA device | COMMENT |
| LOW | warp/_src/context.py | 1990 | # Check if we've already created a module with this name | COMMENT |
| LOW | warp/_src/context.py | 2496 | # Check if the Warp module was created using a different loader object; if so, | COMMENT |
| LOW | warp/_src/context.py | 10453 | # Check if value is a Texture object that needs conversion | COMMENT |
| LOW | warp/_src/context.py | 12421 | # Check if there are no compilable kernels | COMMENT |
| LOW | warp/_src/context.py | 14956 | # Check if this line is a top-level import statement (no leading whitespace). | COMMENT |
| LOW | warp/_src/context.py | 15448 | # Check if all overloads have identical input_types. | COMMENT |
| LOW | warp/_src/marching_cubes.py | 145 | # Check if we generate a vertex | COMMENT |
| LOW | warp/_src/codegen.py | 3775 | # Check if there is any user-defined overload for this operator | COMMENT |
| LOW | warp/_src/codegen.py | 4083 | # Check if we can resolve the argument as a static expression. | COMMENT |
| LOW | warp/_src/codegen.py | 4339 | # Check if this is a warp.grad() call | COMMENT |
| LOW | warp/_src/codegen.py | 4351 | # Check if we're calling a GradWrapper (result of warp.grad(func)) | COMMENT |
| LOW | warp/_src/codegen.py | 5101 | # Check if the rhs corresponds to an unsupported construct. | COMMENT |
| LOW | warp/_src/fem/integrate.py | 236 | # Check if we're assigning a field | COMMENT |
| LOW | warp/_src/fem/integrate.py | 1177 | # Check if kernel exist in cache | COMMENT |
| LOW | warp/_src/fem/integrate.py | 2660 | # Check if kernel exist in cache | COMMENT |
| LOW | warp/_src/fem/linalg.py | 346 | # Check if new block is starting | COMMENT |
| LOW | warp/_src/fem/geometry/hexmesh.py | 873 | # Check if other_v has been seen | COMMENT |
| LOW | warp/_src/fem/geometry/tetmesh.py | 605 | # Check if other_v has been seen | COMMENT |
| LOW | warp/_src/render/render_opengl.py | 3274 | # Check if we already have that shape registered and can perform | COMMENT |
| LOW | warp/_src/jax/ffi.py | 1637 | # Check if annotation is a warp array type (annotation is an instance of wp.array) | COMMENT |
| LOW | warp/native/intersect.h | 1082 | # Check if either or both segments degenerate into points | COMMENT |
| LOW | warp/tests/aot/test_module_aot.py | 640 | # Set mtime to a known past time | COMMENT |
| LOW | warp/examples/core/example_work_queue.py | 36 | # Check if queue is full | COMMENT |
| LOW | warp/examples/core/example_work_queue.py | 56 | # Check if queue is empty | COMMENT |
| LOW | warp/examples/benchmarks/benchmark_tile_sort.py | 140 | # Print results | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | warp/_src/build_dll.py | 37 | output: Decoded output of selected MSVC script ``&& echo MARKER && set``. | STRING |
| HIGH | warp/_src/build_dll.py | 929 | opt_undefined = "-Wl,-undefined,dynamic_lookup" | CODE |
| HIGH | warp/_src/build_dll.py | 958 | # Format: " (undefined) external _SymName (dynamically looked up)" | COMMENT |
| HIGH | warp/_src/build_dll.py | 977 | raise RuntimeError("Unexpected undefined symbols in " + dll_path + ":\n" + "\n".join(undefined)) | CODE |
| HIGH | warp/_src/builtins.py | 2527 | The tile's contents are undefined; the caller is responsible for overwriting | CODE |
| HIGH | warp/_src/optim/linear.py | 245 | - ``"id"``: Identity (null) preconditioner | STRING |
| HIGH | warp/tests/test_apic.py | 1607 | # its three relocation kinds (data, grad/null, indices[d]) survive | COMMENT |
| HIGH | warp/tests/tile/test_tile_empty.py | 15 | # np.empty: contents are undefined, the user must overwrite every element | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | build_docs.py | 54 | logger = logging.getLogger(__name__) | CODE |
| LOW | tools/ci/deploy_doc.py | 275 | def update_stable(gh_pages_dir: Path, stable_version: str) -> None: | STRING |
| LOW | docs/generate_reference.py | 45 | logger = logging.getLogger(__name__) | CODE |
| LOW | warp/build_experimental.py | 13 | __all__ = ["add_builtin", "add_native_type"] | CODE |
| LOW | warp/_src/external_build.py | 21 | __all__ = ["add_builtin", "add_native_type"] | CODE |
| LOW | warp/_src/constants.py | 8 | __all__ = [ # noqa: RUF022 | CODE |
| LOW | warp/_src/logger.py | 128 | def set_logger(logger: Logger | None) -> None: | CODE |
| LOW⚡ | warp/_src/context.py | 9216 | def _set_cached_peer_access_enabled(target_device: Device, peer_device: Device, enable: bool) -> None: | CODE |
| LOW⚡ | warp/_src/context.py | 9221 | def set_peer_access_enabled(target_device: DeviceLike, peer_device: DeviceLike, enable: bool) -> None: | CODE |
| LOW⚡ | warp/_src/context.py | 9306 | def _set_cached_mempool_access_enabled(target_device: Device, peer_device: Device, enable: bool) -> None: | CODE |
| LOW⚡ | warp/_src/context.py | 9311 | def set_mempool_access_enabled(target_device: DeviceLike, peer_device: DeviceLike, enable: bool) -> None: | CODE |
| LOW | warp/_src/context.py | 4815 | def _set_strip_hash(self, value: bool) -> None: | CODE |
| LOW | warp/_src/context.py | 5726 | def set_stream(self, stream: Stream, sync: bool = True) -> None: | CODE |
| LOW | warp/_src/context.py | 6107 | def set_param(self, name: str, arr) -> None: | CODE |
| LOW | warp/_src/context.py | 8509 | def set_default_device(self, ident: DeviceLike) -> None: | CODE |
| LOW | warp/_src/context.py | 8773 | def set_device(ident: DeviceLike) -> None: | CODE |
| LOW | warp/_src/context.py | 8933 | def set_mempool_enabled(device: DeviceLike, enable: bool) -> None: | CODE |
| LOW | warp/_src/context.py | 8969 | def set_cuda_allocator(allocator: Allocator | None) -> None: | CODE |
| LOW | warp/_src/context.py | 8989 | def set_device_allocator(device: DeviceLike, allocator: Allocator | None) -> None: | CODE |
| LOW | warp/_src/context.py | 9026 | def set_mempool_release_threshold(device: DeviceLike, threshold: int | float) -> None: | CODE |
| LOW | warp/_src/context.py | 9366 | def set_stream(stream: Stream, device: DeviceLike = None, sync: bool = False) -> None: | CODE |
| LOW | warp/_src/autograd.py | 16 | __all__ = [ | CODE |
| LOW | warp/_src/generated_files.py | 22 | __all__ = [ | CODE |
| LOW | warp/_src/sparse.py | 33 | __all__ = [ | CODE |
| LOW | warp/_src/math.py | 13 | __all__ = [ | CODE |
| LOW | warp/_src/codegen.py | 516 | def set_fabricarray_value(inst: StructInstance, value: fabricarray | None) -> None: | CODE |
| LOW | warp/_src/codegen.py | 532 | def set_indexedfabricarray_value(inst: StructInstance, value: indexedfabricarray | None) -> None: | CODE |
| LOW | warp/_src/fem/integrate.py | 56 | __all__ = ["integrate", "interpolate"] | CODE |
| LOW | warp/_src/optim/linear.py | 14 | __all__ = [ | CODE |
| LOW | warp/examples/fem/utils.py | 20 | __all__ = [ | CODE |
| LOW | …iles/g11_stage_pipeline/src/stage_pipeline/__init__.py | 13 | __all__ = ["geometry", "reduction", "spectral", "statistics", "transport"] | CODE |
| LOW | …es/g08_tile_projection/src/tile_projection/__init__.py | 9 | __all__ = ["rebuild_device_code", "run_session"] | CODE |
| LOW | …ls/files/g02_stencil_bank/src/stencil_bank/__init__.py | 9 | __all__ = ["StencilBank", "stencil_loss"] | CODE |
| LOW | …vals/files/g12_dense_stage/src/dense_stage/__init__.py | 8 | __all__ = ["kernels"] | CODE |
| LOW | …1_particle_preprocessing/src/particle_prep/__init__.py | 9 | __all__ = ["ParticlePipeline", "Plugin"] | CODE |
| LOW | …/files/g04_image_pyramid/src/image_pyramid/__init__.py | 9 | __all__ = ["ImagePyramid", "adaptive_filter"] | CODE |
| LOW | …s/files/g10_shared_solver/src/field_solver/__init__.py | 12 | __all__ = ["calibrate", "inspect_field", "kernels"] | CODE |
| LOW | …vals/files/g01_pde_stepper/src/pde_stepper/__init__.py | 8 | __all__ = ["PDEStepper"] | CODE |
| LOW | …/files/g06_gpu_analytics/src/gpu_analytics/__init__.py | 9 | __all__ = ["AnalyticsBank", "AnalyticsResult", "diagnose"] | CODE |
| LOW | …/files/c04_batch_signals/src/batch_signals/__init__.py | 9 | __all__ = ["condition_batch", "rebuild_kernels"] | CODE |
| LOW | …es/g09_mixed_precision/src/mixed_precision/__init__.py | 8 | __all__ = ["calibrate", "serve"] | CODE |
| LOW | skills/warp-eval/scripts/measure.py | 59 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | warp/_src/context.py | 14775 | # Step 1: Parse __init__.py to identify Python API imports and conflicts | COMMENT |
| LOW⚡ | warp/_src/context.py | 14899 | # Step 2: Write header | COMMENT |
| LOW⚡ | warp/_src/context.py | 15017 | # Step 3: Emit __init__.py non-import lines (docstring, __version__, __getattr__, etc.) | COMMENT |
| LOW⚡ | warp/_src/context.py | 15285 | # Step 4: Generate merged stubs for function conflicts | COMMENT |
| LOW⚡ | warp/_src/context.py | 15350 | # Step 5: Generate stubs for non-conflicting builtins | COMMENT |
| LOW⚡ | warp/native/svd.h | 511 | // Step 1: Compute ATA | COMMENT |
| LOW⚡ | warp/native/svd.h | 516 | // Step 2: Eigenanalysis | COMMENT |
| LOW⚡ | warp/native/svd.h | 521 | // Step 3: Singular values | COMMENT |
| LOW | warp/native/svd.h | 540 | // Step 4: Eigenvectors (find V) | COMMENT |
| LOW⚡ | warp/native/svd.h | 554 | // Step 5: Compute U | COMMENT |
| LOW⚡ | warp/native/svd.h | 562 | // Step 6: Set S | COMMENT |
| LOW | warp/native/nanovdb/NanoVDB.h | 5858 | // the following code block uses std and therefore needs to be ignored by CUDA and HIP | COMMENT |
| LOW | warp/tests/test_sgd.py | 24 | # Step 1: momentum buffer should be initialized to gradient | COMMENT |
| LOW | warp/tests/test_sgd.py | 36 | # Step 2: momentum buffer should accumulate | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | warp/_src/context.py | 2285 | # hard coded types. We do this so you can use hard coded warp types outside kernels: | COMMENT |
| LOW⚡ | warp/tests/test_array.py | 963 | # scalar members (make sure to test float16) | COMMENT |
| LOW⚡ | warp/tests/test_array.py | 971 | # vector members (make sure to test vectors of float16) | COMMENT |
| LOW⚡ | warp/tests/test_array.py | 976 | # matrix members (make sure to test matrices of float16) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | warp/examples/core/example_nvdb.py | 8 | # a NanoVDB signed-distance field. In this example the NanoVDB field | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | warp/tests/test_func_inline.py | 55 | def helper(x: float) -> float: | CODE |
| LOW | warp/tests/test_compile_consts.py | 94 | def test_function(data: wp.array[wp.float32]): | CODE |
| LOW | warp/tests/test_compile_consts.py | 107 | def test_function(data: wp.array[wp.float32]): | CODE |
| LOW | warp/tests/test_compile_consts.py | 128 | def test_function(data: wp.array[wp.float32]): | CODE |
| LOW | warp/tests/test_compile_consts.py | 157 | def test_function(data: wp.array[wp.float32]): | CODE |
| LOW | …p-compile-time-optimizer/evals/files/triton_service.py | 59 | def handle_request(batch: torch.Tensor) -> torch.Tensor: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | warp/tests/tile/test_tile_cholesky.py | 73 | # TODO: implement and test backward pass | COMMENT |
| LOW | warp/tests/tile/test_tile_cholesky.py | 171 | # TODO: implement and test backward pass | COMMENT |
| LOW | warp/tests/tile/test_tile_solve.py | 132 | # TODO: implement and test backward pass | COMMENT |
| LOW | warp/tests/tile/test_tile_solve.py | 297 | # TODO: implement and test backward pass | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | warp/examples/cpp/CMakeLists.txt | 6 | # This file orchestrates testing of all C++ examples using CTest. | COMMENT |