@luma.gl/graph 10.0.0-alpha.9 → 10.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +4 -4
- package/THIRD-PARTY-NOTICES.md +19 -0
- package/dist/arrow/arrow-colors.cjs +99 -18
- package/dist/arrow/arrow-colors.d.ts +27 -10
- package/dist/arrow/arrow-colors.d.ts.map +1 -1
- package/dist/arrow/arrow-colors.js +107 -24
- package/dist/arrow/arrow-colors.js.map +1 -1
- package/dist/arrow/arrow-utils/arrow-paths.cjs +4 -3
- package/dist/arrow/arrow-utils/arrow-paths.d.ts.map +1 -1
- package/dist/arrow/arrow-utils/arrow-paths.js +5 -4
- package/dist/arrow/arrow-utils/arrow-paths.js.map +1 -1
- package/dist/arrow/cpu/arrow-coordinate-projection.cjs +30 -0
- package/dist/arrow/cpu/arrow-coordinate-projection.d.ts +5 -0
- package/dist/arrow/cpu/arrow-coordinate-projection.d.ts.map +1 -0
- package/dist/arrow/cpu/arrow-coordinate-projection.js +9 -0
- package/dist/arrow/cpu/arrow-coordinate-projection.js.map +1 -0
- package/dist/arrow/cpu/arrow-cpu-pipelines.cjs +31 -0
- package/dist/arrow/cpu/arrow-cpu-pipelines.d.ts +2 -0
- package/dist/arrow/cpu/arrow-cpu-pipelines.d.ts.map +1 -0
- package/dist/arrow/cpu/arrow-cpu-pipelines.js +5 -0
- package/dist/arrow/cpu/arrow-cpu-pipelines.js.map +1 -0
- package/dist/arrow/cpu/arrow-cpu-vector-adapters.cjs +99 -0
- package/dist/arrow/cpu/arrow-cpu-vector-adapters.d.ts +9 -0
- package/dist/arrow/cpu/arrow-cpu-vector-adapters.d.ts.map +1 -0
- package/dist/arrow/cpu/arrow-cpu-vector-adapters.js +100 -0
- package/dist/arrow/cpu/arrow-cpu-vector-adapters.js.map +1 -0
- package/dist/arrow/geoarrow/arrow-geoarrow-adapter.cjs +9 -371
- package/dist/arrow/geoarrow/arrow-geoarrow-adapter.d.ts +8 -28
- package/dist/arrow/geoarrow/arrow-geoarrow-adapter.d.ts.map +1 -1
- package/dist/arrow/geoarrow/arrow-geoarrow-adapter.js +4 -381
- package/dist/arrow/geoarrow/arrow-geoarrow-adapter.js.map +1 -1
- package/dist/arrow/geoarrow/arrow-geoarrow-conversion.cjs +11 -11
- package/dist/arrow/geoarrow/arrow-geoarrow-conversion.d.ts +2 -0
- package/dist/arrow/geoarrow/arrow-geoarrow-conversion.d.ts.map +1 -1
- package/dist/arrow/geoarrow/arrow-geoarrow-conversion.js +4 -4
- package/dist/arrow/geoarrow/arrow-geoarrow-conversion.js.map +1 -1
- package/dist/arrow/geoarrow/arrow-polygon-tessellation.cjs +2 -2
- package/dist/arrow/geoarrow/arrow-polygon-tessellation.js +1 -1
- package/dist/arrow/geoarrow/arrow-polygon-tessellation.js.map +1 -1
- package/dist/arrow/gpu/arrow-column-gpu-vector.cjs +27 -8
- package/dist/arrow/gpu/arrow-column-gpu-vector.d.ts +11 -1
- package/dist/arrow/gpu/arrow-column-gpu-vector.d.ts.map +1 -1
- package/dist/arrow/gpu/arrow-column-gpu-vector.js +33 -8
- package/dist/arrow/gpu/arrow-column-gpu-vector.js.map +1 -1
- package/dist/arrow/gpu/arrow-gpu-table-conversion.cjs +68 -3
- package/dist/arrow/gpu/arrow-gpu-table-conversion.d.ts +9 -2
- package/dist/arrow/gpu/arrow-gpu-table-conversion.d.ts.map +1 -1
- package/dist/arrow/gpu/arrow-gpu-table-conversion.js +76 -3
- package/dist/arrow/gpu/arrow-gpu-table-conversion.js.map +1 -1
- package/dist/arrow/gpu/arrow-gpu-vector-adapters.cjs +8 -6
- package/dist/arrow/gpu/arrow-gpu-vector-adapters.d.ts +1 -0
- package/dist/arrow/gpu/arrow-gpu-vector-adapters.d.ts.map +1 -1
- package/dist/arrow/gpu/arrow-gpu-vector-adapters.js +17 -7
- package/dist/arrow/gpu/arrow-gpu-vector-adapters.js.map +1 -1
- package/dist/arrow/gpu/arrow-gpu-vector-conversion.cjs +35 -5
- package/dist/arrow/gpu/arrow-gpu-vector-conversion.d.ts +6 -1
- package/dist/arrow/gpu/arrow-gpu-vector-conversion.d.ts.map +1 -1
- package/dist/arrow/gpu/arrow-gpu-vector-conversion.js +40 -5
- package/dist/arrow/gpu/arrow-gpu-vector-conversion.js.map +1 -1
- package/dist/arrow/index.cjs +19 -2
- package/dist/arrow/index.cjs.map +3 -3
- package/dist/arrow/index.d.ts +5 -2
- package/dist/arrow/index.d.ts.map +1 -1
- package/dist/arrow/index.js +4 -1
- package/dist/arrow/index.js.map +1 -1
- package/dist/arrow/internal.cjs.map +2 -2
- package/dist/dist.dev.js +3820 -1646
- package/dist/dist.min.js +450 -136
- package/dist/experimental/index.cjs.map +1 -1
- package/dist/experimental/simulation/index.cjs.map +1 -1
- package/dist/experimental-models.cjs +21 -0
- package/dist/experimental-models.d.ts +2 -0
- package/dist/experimental-models.d.ts.map +1 -0
- package/dist/experimental-models.js +5 -0
- package/dist/experimental-models.js.map +1 -0
- package/dist/experimental-simulation.cjs +21 -0
- package/dist/experimental-simulation.d.ts +2 -0
- package/dist/experimental-simulation.d.ts.map +1 -0
- package/dist/experimental-simulation.js +5 -0
- package/dist/experimental-simulation.js.map +1 -0
- package/dist/geospatial/gpu-point-spatial-query.cjs +2 -15
- package/dist/geospatial/gpu-point-spatial-query.d.ts.map +1 -1
- package/dist/geospatial/gpu-point-spatial-query.js +2 -15
- package/dist/geospatial/gpu-point-spatial-query.js.map +1 -1
- package/dist/geospatial/index.cjs.map +2 -2
- package/dist/gpu-a5/index.cjs.map +1 -1
- package/dist/gpu-core/compiled-gpu-graph.cjs +47 -0
- package/dist/gpu-core/compiled-gpu-graph.d.ts +5 -0
- package/dist/gpu-core/compiled-gpu-graph.d.ts.map +1 -1
- package/dist/gpu-core/compiled-gpu-graph.js +54 -1
- package/dist/gpu-core/compiled-gpu-graph.js.map +1 -1
- package/dist/gpu-core/gpu-command-graph-compiler.cjs +11 -2
- package/dist/gpu-core/gpu-command-graph-compiler.d.ts +2 -1
- package/dist/gpu-core/gpu-command-graph-compiler.d.ts.map +1 -1
- package/dist/gpu-core/gpu-command-graph-compiler.js +13 -2
- package/dist/gpu-core/gpu-command-graph-compiler.js.map +1 -1
- package/dist/gpu-core/gpu-command-graph-types.d.ts +16 -1
- package/dist/gpu-core/gpu-command-graph-types.d.ts.map +1 -1
- package/dist/gpu-core/gpu-command-graph-types.js.map +1 -1
- package/dist/gpu-core/gpu-command-graph.cjs +34 -11
- package/dist/gpu-core/gpu-command-graph.d.ts +17 -8
- package/dist/gpu-core/gpu-command-graph.d.ts.map +1 -1
- package/dist/gpu-core/gpu-command-graph.js +39 -11
- package/dist/gpu-core/gpu-command-graph.js.map +1 -1
- package/dist/gpu-core/gpu-cpu-execution.cjs +279 -0
- package/dist/gpu-core/gpu-cpu-execution.d.ts +22 -0
- package/dist/gpu-core/gpu-cpu-execution.d.ts.map +1 -0
- package/dist/gpu-core/gpu-cpu-execution.js +294 -0
- package/dist/gpu-core/gpu-cpu-execution.js.map +1 -0
- package/dist/gpu-core/gpu-cpu-operation.cjs +54 -0
- package/dist/gpu-core/gpu-cpu-operation.d.ts +40 -0
- package/dist/gpu-core/gpu-cpu-operation.d.ts.map +1 -0
- package/dist/gpu-core/gpu-cpu-operation.js +35 -0
- package/dist/gpu-core/gpu-cpu-operation.js.map +1 -0
- package/dist/gpu-core/gpu-dispatch-utils.cjs +7 -3
- package/dist/gpu-core/gpu-dispatch-utils.d.ts +2 -0
- package/dist/gpu-core/gpu-dispatch-utils.d.ts.map +1 -1
- package/dist/gpu-core/gpu-dispatch-utils.js +4 -1
- package/dist/gpu-core/gpu-dispatch-utils.js.map +1 -1
- package/dist/gpu-core/gpu-expression-operation.cjs +2 -2
- package/dist/gpu-core/gpu-expression-operation.d.ts +1 -1
- package/dist/gpu-core/gpu-expression-operation.d.ts.map +1 -1
- package/dist/gpu-core/gpu-expression-operation.js +1 -1
- package/dist/gpu-core/gpu-expression-operation.js.map +1 -1
- package/dist/gpu-core/gpu-expression-plan.cjs +5 -1
- package/dist/gpu-core/gpu-expression-plan.d.ts +3 -2
- package/dist/gpu-core/gpu-expression-plan.d.ts.map +1 -1
- package/dist/gpu-core/gpu-expression-plan.js +7 -1
- package/dist/gpu-core/gpu-expression-plan.js.map +1 -1
- package/dist/gpu-core/gpu-graph-compiler.cjs +48 -0
- package/dist/gpu-core/gpu-graph-compiler.d.ts +1 -0
- package/dist/gpu-core/gpu-graph-compiler.d.ts.map +1 -1
- package/dist/gpu-core/gpu-graph-compiler.js +50 -0
- package/dist/gpu-core/gpu-graph-compiler.js.map +1 -1
- package/dist/gpu-core/gpu-graph.d.ts +2 -2
- package/dist/gpu-core/gpu-graph.d.ts.map +1 -1
- package/dist/gpu-core/gpu-graph.js.map +1 -1
- package/dist/gpu-core/gpu-grid-aggregation.cjs +2 -5
- package/dist/gpu-core/gpu-grid-aggregation.d.ts.map +1 -1
- package/dist/gpu-core/gpu-grid-aggregation.js +2 -5
- package/dist/gpu-core/gpu-grid-aggregation.js.map +1 -1
- package/dist/gpu-core/gpu-grid-binning.cjs +2 -5
- package/dist/gpu-core/gpu-grid-binning.d.ts.map +1 -1
- package/dist/gpu-core/gpu-grid-binning.js +2 -5
- package/dist/gpu-core/gpu-grid-binning.js.map +1 -1
- package/dist/gpu-core/gpu-grid-coordinate.cjs +41 -0
- package/dist/gpu-core/gpu-grid-coordinate.d.ts +7 -0
- package/dist/gpu-core/gpu-grid-coordinate.d.ts.map +1 -0
- package/dist/gpu-core/gpu-grid-coordinate.js +24 -0
- package/dist/gpu-core/gpu-grid-coordinate.js.map +1 -0
- package/dist/gpu-core/gpu-grid-index-internals.cjs +2 -15
- package/dist/gpu-core/gpu-grid-index-internals.d.ts.map +1 -1
- package/dist/gpu-core/gpu-grid-index-internals.js +2 -15
- package/dist/gpu-core/gpu-grid-index-internals.js.map +1 -1
- package/dist/gpu-core/gpu-grid-index-query.cjs +2 -16
- package/dist/gpu-core/gpu-grid-index-query.d.ts.map +1 -1
- package/dist/gpu-core/gpu-grid-index-query.js +2 -16
- package/dist/gpu-core/gpu-grid-index-query.js.map +1 -1
- package/dist/gpu-core/gpu-group-aggregation.cjs +7 -15
- package/dist/gpu-core/gpu-group-aggregation.d.ts.map +1 -1
- package/dist/gpu-core/gpu-group-aggregation.js +7 -18
- package/dist/gpu-core/gpu-group-aggregation.js.map +1 -1
- package/dist/gpu-core/gpu-operation.d.ts +4 -4
- package/dist/gpu-core/gpu-operation.d.ts.map +1 -1
- package/dist/gpu-core/gpu-operation.js.map +1 -1
- package/dist/gpu-core/gpu-reduction.cjs +6 -14
- package/dist/gpu-core/gpu-reduction.d.ts.map +1 -1
- package/dist/gpu-core/gpu-reduction.js +6 -15
- package/dist/gpu-core/gpu-reduction.js.map +1 -1
- package/dist/gpu-core/gpu-render-operation.cjs +39 -0
- package/dist/gpu-core/gpu-render-operation.d.ts +21 -0
- package/dist/gpu-core/gpu-render-operation.d.ts.map +1 -0
- package/dist/gpu-core/gpu-render-operation.js +22 -0
- package/dist/gpu-core/gpu-render-operation.js.map +1 -0
- package/dist/gpu-core/gpu-scan.cjs +46 -32
- package/dist/gpu-core/gpu-scan.d.ts.map +1 -1
- package/dist/gpu-core/gpu-scan.js +56 -44
- package/dist/gpu-core/gpu-scan.js.map +1 -1
- package/dist/gpu-core/gpu-segmented-reduction.cjs +12 -9
- package/dist/gpu-core/gpu-segmented-reduction.d.ts +1 -1
- package/dist/gpu-core/gpu-segmented-reduction.d.ts.map +1 -1
- package/dist/gpu-core/gpu-segmented-reduction.js +12 -9
- package/dist/gpu-core/gpu-segmented-reduction.js.map +1 -1
- package/dist/gpu-core/gpu-segmented-scan.cjs +73 -16
- package/dist/gpu-core/gpu-segmented-scan.d.ts.map +1 -1
- package/dist/gpu-core/gpu-segmented-scan.js +73 -16
- package/dist/gpu-core/gpu-segmented-scan.js.map +1 -1
- package/dist/gpu-core/gpu-semantic-aggregation-operation.cjs +112 -0
- package/dist/gpu-core/gpu-semantic-aggregation-operation.d.ts +71 -0
- package/dist/gpu-core/gpu-semantic-aggregation-operation.d.ts.map +1 -0
- package/dist/gpu-core/gpu-semantic-aggregation-operation.js +92 -0
- package/dist/gpu-core/gpu-semantic-aggregation-operation.js.map +1 -0
- package/dist/gpu-core/gpu-shader-pass-kernel.cjs +267 -0
- package/dist/gpu-core/gpu-shader-pass-kernel.d.ts +29 -0
- package/dist/gpu-core/gpu-shader-pass-kernel.d.ts.map +1 -0
- package/dist/gpu-core/gpu-shader-pass-kernel.js +260 -0
- package/dist/gpu-core/gpu-shader-pass-kernel.js.map +1 -0
- package/dist/gpu-core/gpu-shader-pass-operation.cjs +85 -0
- package/dist/gpu-core/gpu-shader-pass-operation.d.ts +32 -0
- package/dist/gpu-core/gpu-shader-pass-operation.d.ts.map +1 -0
- package/dist/gpu-core/gpu-shader-pass-operation.js +74 -0
- package/dist/gpu-core/gpu-shader-pass-operation.js.map +1 -0
- package/dist/gpu-core/gpu-texture-plan.d.ts +3 -2
- package/dist/gpu-core/gpu-texture-plan.d.ts.map +1 -1
- package/dist/gpu-core/gpu-texture-plan.js.map +1 -1
- package/dist/gpu-core/index.cjs +32 -0
- package/dist/gpu-core/index.cjs.map +3 -3
- package/dist/gpu-core/index.d.ts +21 -1
- package/dist/gpu-core/index.d.ts.map +1 -1
- package/dist/gpu-core/index.js +10 -0
- package/dist/gpu-core/index.js.map +1 -1
- package/dist/gpu-data/color-conversion.cjs +105 -0
- package/dist/gpu-data/color-conversion.d.ts +30 -0
- package/dist/gpu-data/color-conversion.d.ts.map +1 -0
- package/dist/gpu-data/color-conversion.js +109 -0
- package/dist/gpu-data/color-conversion.js.map +1 -0
- package/dist/gpu-data/cpu-data.cjs +60 -0
- package/dist/gpu-data/cpu-data.d.ts +28 -0
- package/dist/gpu-data/cpu-data.d.ts.map +1 -0
- package/dist/gpu-data/cpu-data.js +41 -0
- package/dist/gpu-data/cpu-data.js.map +1 -0
- package/dist/gpu-data/cpu-gpu-vector-transfer.cjs +98 -0
- package/dist/gpu-data/cpu-gpu-vector-transfer.d.ts +9 -0
- package/dist/gpu-data/cpu-gpu-vector-transfer.d.ts.map +1 -0
- package/dist/gpu-data/cpu-gpu-vector-transfer.js +85 -0
- package/dist/gpu-data/cpu-gpu-vector-transfer.js.map +1 -0
- package/dist/gpu-data/cpu-vector.cjs +42 -0
- package/dist/gpu-data/cpu-vector.d.ts +17 -0
- package/dist/gpu-data/cpu-vector.d.ts.map +1 -0
- package/dist/gpu-data/cpu-vector.js +21 -0
- package/dist/gpu-data/cpu-vector.js.map +1 -0
- package/dist/gpu-data/gpu-data-buffer-props.cjs +41 -0
- package/dist/gpu-data/gpu-data-buffer-props.d.ts +5 -0
- package/dist/gpu-data/gpu-data-buffer-props.d.ts.map +1 -0
- package/dist/gpu-data/gpu-data-buffer-props.js +19 -0
- package/dist/gpu-data/gpu-data-buffer-props.js.map +1 -0
- package/dist/gpu-data/gpu-vector-wgsl-layout.cjs +50 -0
- package/dist/gpu-data/gpu-vector-wgsl-layout.d.ts +41 -0
- package/dist/gpu-data/gpu-vector-wgsl-layout.d.ts.map +1 -0
- package/dist/gpu-data/gpu-vector-wgsl-layout.js +45 -0
- package/dist/gpu-data/gpu-vector-wgsl-layout.js.map +1 -0
- package/dist/gpu-data/index.cjs +21 -2
- package/dist/gpu-data/index.cjs.map +3 -3
- package/dist/gpu-data/index.d.ts +6 -0
- package/dist/gpu-data/index.d.ts.map +1 -1
- package/dist/gpu-data/index.js +5 -0
- package/dist/gpu-data/index.js.map +1 -1
- package/dist/gpu-dataframe/gpu-data-frame-query.cjs +8 -19
- package/dist/gpu-dataframe/gpu-data-frame-query.d.ts.map +1 -1
- package/dist/gpu-dataframe/gpu-data-frame-query.js +14 -26
- package/dist/gpu-dataframe/gpu-data-frame-query.js.map +1 -1
- package/dist/gpu-dataframe/gpu-expression-shader.cjs +87 -5
- package/dist/gpu-dataframe/gpu-expression-shader.d.ts +2 -1
- package/dist/gpu-dataframe/gpu-expression-shader.d.ts.map +1 -1
- package/dist/gpu-dataframe/gpu-expression-shader.js +101 -5
- package/dist/gpu-dataframe/gpu-expression-shader.js.map +1 -1
- package/dist/gpu-dataframe/gpu-expression.cjs +177 -2
- package/dist/gpu-dataframe/gpu-expression.d.ts +60 -2
- package/dist/gpu-dataframe/gpu-expression.d.ts.map +1 -1
- package/dist/gpu-dataframe/gpu-expression.js +187 -0
- package/dist/gpu-dataframe/gpu-expression.js.map +1 -1
- package/dist/gpu-dataframe/gpu-global-aggregation-compiler.cjs +0 -1
- package/dist/gpu-dataframe/gpu-global-aggregation-compiler.d.ts.map +1 -1
- package/dist/gpu-dataframe/gpu-global-aggregation-compiler.js +0 -1
- package/dist/gpu-dataframe/gpu-global-aggregation-compiler.js.map +1 -1
- package/dist/gpu-dataframe/gpu-global-aggregation-query.cjs +2 -2
- package/dist/gpu-dataframe/gpu-global-aggregation-query.d.ts.map +1 -1
- package/dist/gpu-dataframe/gpu-global-aggregation-query.js +5 -3
- package/dist/gpu-dataframe/gpu-global-aggregation-query.js.map +1 -1
- package/dist/gpu-dataframe/gpu-global-sort-compiler.cjs +23 -11
- package/dist/gpu-dataframe/gpu-global-sort-compiler.d.ts +1 -1
- package/dist/gpu-dataframe/gpu-global-sort-compiler.d.ts.map +1 -1
- package/dist/gpu-dataframe/gpu-global-sort-compiler.js +24 -12
- package/dist/gpu-dataframe/gpu-global-sort-compiler.js.map +1 -1
- package/dist/gpu-dataframe/gpu-group-aggregation-compiler.cjs +0 -1
- package/dist/gpu-dataframe/gpu-group-aggregation-compiler.d.ts.map +1 -1
- package/dist/gpu-dataframe/gpu-group-aggregation-compiler.js +0 -1
- package/dist/gpu-dataframe/gpu-group-aggregation-compiler.js.map +1 -1
- package/dist/gpu-dataframe/gpu-group-by-query.cjs +2 -2
- package/dist/gpu-dataframe/gpu-group-by-query.js +5 -3
- package/dist/gpu-dataframe/gpu-group-by-query.js.map +1 -1
- package/dist/gpu-dataframe/gpu-histogram-compiler.cjs +0 -1
- package/dist/gpu-dataframe/gpu-histogram-compiler.d.ts.map +1 -1
- package/dist/gpu-dataframe/gpu-histogram-compiler.js +0 -1
- package/dist/gpu-dataframe/gpu-histogram-compiler.js.map +1 -1
- package/dist/gpu-dataframe/gpu-join-compiler.cjs +0 -2
- package/dist/gpu-dataframe/gpu-join-compiler.d.ts.map +1 -1
- package/dist/gpu-dataframe/gpu-join-compiler.js +0 -2
- package/dist/gpu-dataframe/gpu-join-compiler.js.map +1 -1
- package/dist/gpu-dataframe/gpu-query-compiler.cjs +3 -1
- package/dist/gpu-dataframe/gpu-query-compiler.d.ts +0 -1
- package/dist/gpu-dataframe/gpu-query-compiler.d.ts.map +1 -1
- package/dist/gpu-dataframe/gpu-query-compiler.js +3 -1
- package/dist/gpu-dataframe/gpu-query-compiler.js.map +1 -1
- package/dist/gpu-dataframe/gpu-sort-compiler.cjs +0 -1
- package/dist/gpu-dataframe/gpu-sort-compiler.d.ts.map +1 -1
- package/dist/gpu-dataframe/gpu-sort-compiler.js +0 -1
- package/dist/gpu-dataframe/gpu-sort-compiler.js.map +1 -1
- package/dist/gpu-dataframe/gpu-sort-query.cjs +13 -5
- package/dist/gpu-dataframe/gpu-sort-query.d.ts +4 -1
- package/dist/gpu-dataframe/gpu-sort-query.d.ts.map +1 -1
- package/dist/gpu-dataframe/gpu-sort-query.js +14 -5
- package/dist/gpu-dataframe/gpu-sort-query.js.map +1 -1
- package/dist/gpu-dataframe/index.cjs +20 -2
- package/dist/gpu-dataframe/index.cjs.map +3 -3
- package/dist/gpu-dataframe/index.d.ts +6 -2
- package/dist/gpu-dataframe/index.d.ts.map +1 -1
- package/dist/gpu-dataframe/index.js +3 -1
- package/dist/gpu-dataframe/index.js.map +1 -1
- package/dist/gpu-dataframe/portable-expression.cjs +167 -0
- package/dist/gpu-dataframe/portable-expression.d.ts +21 -0
- package/dist/gpu-dataframe/portable-expression.d.ts.map +1 -0
- package/dist/gpu-dataframe/portable-expression.js +162 -0
- package/dist/gpu-dataframe/portable-expression.js.map +1 -0
- package/dist/gpu-dggs/benchmarks.cjs.map +1 -1
- package/dist/gpu-dggs/index.cjs.map +1 -1
- package/dist/gpu-dggs-benchmarks.cjs +21 -0
- package/dist/gpu-dggs-benchmarks.d.ts +2 -0
- package/dist/gpu-dggs-benchmarks.d.ts.map +1 -0
- package/dist/gpu-dggs-benchmarks.js +5 -0
- package/dist/gpu-dggs-benchmarks.js.map +1 -0
- package/dist/gpu-geometry/index.cjs.map +1 -1
- package/dist/gpu-graph/index.cjs +8 -0
- package/dist/gpu-graph/index.cjs.map +3 -3
- package/dist/gpu-graph/index.d.ts +4 -0
- package/dist/gpu-graph/index.d.ts.map +1 -1
- package/dist/gpu-graph/index.js +2 -0
- package/dist/gpu-graph/index.js.map +1 -1
- package/dist/gpu-graph-algorithms/benchmarks.cjs.map +2 -2
- package/dist/gpu-graph-algorithms/gpu-graph-spatial-force-layout-internals.cjs +2 -15
- package/dist/gpu-graph-algorithms/gpu-graph-spatial-force-layout-internals.d.ts.map +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-spatial-force-layout-internals.js +2 -15
- package/dist/gpu-graph-algorithms/gpu-graph-spatial-force-layout-internals.js.map +1 -1
- package/dist/gpu-graph-algorithms/index.cjs.map +2 -2
- package/dist/gpu-graph-algorithms-benchmarks.cjs +21 -0
- package/dist/gpu-graph-algorithms-benchmarks.d.ts +2 -0
- package/dist/gpu-graph-algorithms-benchmarks.d.ts.map +1 -0
- package/dist/gpu-graph-algorithms-benchmarks.js +5 -0
- package/dist/gpu-graph-algorithms-benchmarks.js.map +1 -0
- package/dist/gpu-h3/index.cjs.map +1 -1
- package/dist/gpu-physics/gpu-physics-ensemble-terrain.cjs +116 -0
- package/dist/gpu-physics/gpu-physics-ensemble-terrain.d.ts +42 -0
- package/dist/gpu-physics/gpu-physics-ensemble-terrain.d.ts.map +1 -0
- package/dist/gpu-physics/gpu-physics-ensemble-terrain.js +90 -0
- package/dist/gpu-physics/gpu-physics-ensemble-terrain.js.map +1 -0
- package/dist/gpu-physics/gpu-physics-ensemble.cjs +97 -5
- package/dist/gpu-physics/gpu-physics-ensemble.d.ts +31 -2
- package/dist/gpu-physics/gpu-physics-ensemble.d.ts.map +1 -1
- package/dist/gpu-physics/gpu-physics-ensemble.js +99 -3
- package/dist/gpu-physics/gpu-physics-ensemble.js.map +1 -1
- package/dist/gpu-physics/gpu-rigid-body-world.cjs +568 -77
- package/dist/gpu-physics/gpu-rigid-body-world.d.ts +86 -0
- package/dist/gpu-physics/gpu-rigid-body-world.d.ts.map +1 -1
- package/dist/gpu-physics/gpu-rigid-body-world.js +617 -76
- package/dist/gpu-physics/gpu-rigid-body-world.js.map +1 -1
- package/dist/gpu-physics/index.cjs +23 -2
- package/dist/gpu-physics/index.cjs.map +3 -3
- package/dist/gpu-physics/index.d.ts +9 -2
- package/dist/gpu-physics/index.d.ts.map +1 -1
- package/dist/gpu-physics/index.js +6 -1
- package/dist/gpu-physics/index.js.map +1 -1
- package/dist/gpu-physics/rigid-body-bounds-shaders.cjs +21 -8
- package/dist/gpu-physics/rigid-body-bounds-shaders.d.ts +2 -1
- package/dist/gpu-physics/rigid-body-bounds-shaders.d.ts.map +1 -1
- package/dist/gpu-physics/rigid-body-bounds-shaders.js +15 -1
- package/dist/gpu-physics/rigid-body-bounds-shaders.js.map +1 -1
- package/dist/gpu-physics/rigid-body-convex-shaders.cjs +3 -2
- package/dist/gpu-physics/rigid-body-convex-shaders.d.ts +1 -1
- package/dist/gpu-physics/rigid-body-convex-shaders.d.ts.map +1 -1
- package/dist/gpu-physics/rigid-body-convex-shaders.js +3 -2
- package/dist/gpu-physics/rigid-body-convex-shaders.js.map +1 -1
- package/dist/gpu-physics/rigid-body-ensemble-reset.cjs +36 -7
- package/dist/gpu-physics/rigid-body-ensemble-reset.d.ts +1 -1
- package/dist/gpu-physics/rigid-body-ensemble-reset.d.ts.map +1 -1
- package/dist/gpu-physics/rigid-body-ensemble-reset.js +42 -7
- package/dist/gpu-physics/rigid-body-ensemble-reset.js.map +1 -1
- package/dist/gpu-physics/rigid-body-ensemble-transaction.cjs +23 -1
- package/dist/gpu-physics/rigid-body-ensemble-transaction.d.ts +4 -1
- package/dist/gpu-physics/rigid-body-ensemble-transaction.d.ts.map +1 -1
- package/dist/gpu-physics/rigid-body-ensemble-transaction.js +25 -1
- package/dist/gpu-physics/rigid-body-ensemble-transaction.js.map +1 -1
- package/dist/gpu-physics/rigid-body-geometry.cjs +41 -4
- package/dist/gpu-physics/rigid-body-geometry.d.ts +10 -1
- package/dist/gpu-physics/rigid-body-geometry.d.ts.map +1 -1
- package/dist/gpu-physics/rigid-body-geometry.js +44 -3
- package/dist/gpu-physics/rigid-body-geometry.js.map +1 -1
- package/dist/gpu-physics/rigid-body-height-field-shader.cjs +80 -0
- package/dist/gpu-physics/rigid-body-height-field-shader.d.ts +3 -0
- package/dist/gpu-physics/rigid-body-height-field-shader.d.ts.map +1 -0
- package/dist/gpu-physics/rigid-body-height-field-shader.js +56 -0
- package/dist/gpu-physics/rigid-body-height-field-shader.js.map +1 -0
- package/dist/gpu-physics/rigid-body-height-field.cjs +166 -0
- package/dist/gpu-physics/rigid-body-height-field.d.ts +55 -0
- package/dist/gpu-physics/rigid-body-height-field.d.ts.map +1 -0
- package/dist/gpu-physics/rigid-body-height-field.js +184 -0
- package/dist/gpu-physics/rigid-body-height-field.js.map +1 -0
- package/dist/gpu-physics/rigid-body-mesh-query-shaders.cjs +4 -2
- package/dist/gpu-physics/rigid-body-mesh-query-shaders.d.ts +1 -1
- package/dist/gpu-physics/rigid-body-mesh-query-shaders.d.ts.map +1 -1
- package/dist/gpu-physics/rigid-body-mesh-query-shaders.js +4 -2
- package/dist/gpu-physics/rigid-body-mesh-query-shaders.js.map +1 -1
- package/dist/gpu-physics/rigid-body-mesh.cjs +72 -17
- package/dist/gpu-physics/rigid-body-mesh.d.ts +3 -0
- package/dist/gpu-physics/rigid-body-mesh.d.ts.map +1 -1
- package/dist/gpu-physics/rigid-body-mesh.js +76 -20
- package/dist/gpu-physics/rigid-body-mesh.js.map +1 -1
- package/dist/gpu-physics/rigid-body-parallel-shaders.cjs +24 -9
- package/dist/gpu-physics/rigid-body-parallel-shaders.d.ts +1 -1
- package/dist/gpu-physics/rigid-body-parallel-shaders.d.ts.map +1 -1
- package/dist/gpu-physics/rigid-body-parallel-shaders.js +28 -9
- package/dist/gpu-physics/rigid-body-parallel-shaders.js.map +1 -1
- package/dist/gpu-physics/rigid-body-properties.cjs +4 -4
- package/dist/gpu-physics/rigid-body-properties.d.ts +6 -0
- package/dist/gpu-physics/rigid-body-properties.d.ts.map +1 -1
- package/dist/gpu-physics/rigid-body-properties.js +1 -1
- package/dist/gpu-physics/rigid-body-properties.js.map +1 -1
- package/dist/gpu-physics/rigid-body-publication.cjs +2 -2
- package/dist/gpu-physics/rigid-body-publication.js +1 -1
- package/dist/gpu-physics/rigid-body-publication.js.map +1 -1
- package/dist/gpu-physics/rigid-body-query-geometry.cjs +22 -4
- package/dist/gpu-physics/rigid-body-query-geometry.d.ts +1 -1
- package/dist/gpu-physics/rigid-body-query-geometry.d.ts.map +1 -1
- package/dist/gpu-physics/rigid-body-query-geometry.js +22 -4
- package/dist/gpu-physics/rigid-body-query-geometry.js.map +1 -1
- package/dist/gpu-physics/rigid-body-shaders.cjs +12 -6
- package/dist/gpu-physics/rigid-body-shaders.d.ts +1 -1
- package/dist/gpu-physics/rigid-body-shaders.d.ts.map +1 -1
- package/dist/gpu-physics/rigid-body-shaders.js +15 -7
- package/dist/gpu-physics/rigid-body-shaders.js.map +1 -1
- package/dist/gpu-physics/rigid-body-shape-properties.cjs +2 -0
- package/dist/gpu-physics/rigid-body-shape-properties.d.ts.map +1 -1
- package/dist/gpu-physics/rigid-body-shape-properties.js +2 -0
- package/dist/gpu-physics/rigid-body-shape-properties.js.map +1 -1
- package/dist/gpu-physics/rigid-body-terrain-atlas.cjs +287 -0
- package/dist/gpu-physics/rigid-body-terrain-atlas.d.ts +87 -0
- package/dist/gpu-physics/rigid-body-terrain-atlas.d.ts.map +1 -0
- package/dist/gpu-physics/rigid-body-terrain-atlas.js +275 -0
- package/dist/gpu-physics/rigid-body-terrain-atlas.js.map +1 -0
- package/dist/gpu-physics/rigid-body-terrain-lod.cjs +240 -0
- package/dist/gpu-physics/rigid-body-terrain-lod.d.ts +76 -0
- package/dist/gpu-physics/rigid-body-terrain-lod.d.ts.map +1 -0
- package/dist/gpu-physics/rigid-body-terrain-lod.js +247 -0
- package/dist/gpu-physics/rigid-body-terrain-lod.js.map +1 -0
- package/dist/gpu-physics/rigid-body-terrain-stitch.cjs +215 -0
- package/dist/gpu-physics/rigid-body-terrain-stitch.d.ts +25 -0
- package/dist/gpu-physics/rigid-body-terrain-stitch.d.ts.map +1 -0
- package/dist/gpu-physics/rigid-body-terrain-stitch.js +218 -0
- package/dist/gpu-physics/rigid-body-terrain-stitch.js.map +1 -0
- package/dist/gpu-physics/rigid-body-terrain-stream.cjs +263 -0
- package/dist/gpu-physics/rigid-body-terrain-stream.d.ts +97 -0
- package/dist/gpu-physics/rigid-body-terrain-stream.d.ts.map +1 -0
- package/dist/gpu-physics/rigid-body-terrain-stream.js +250 -0
- package/dist/gpu-physics/rigid-body-terrain-stream.js.map +1 -0
- package/dist/gpu-physics/rigid-body-triggers.cjs +1 -0
- package/dist/gpu-physics/rigid-body-triggers.d.ts.map +1 -1
- package/dist/gpu-physics/rigid-body-triggers.js +1 -0
- package/dist/gpu-physics/rigid-body-triggers.js.map +1 -1
- package/dist/gpu-physics/rigid-body-vehicle.cjs +145 -0
- package/dist/gpu-physics/rigid-body-vehicle.d.ts +47 -0
- package/dist/gpu-physics/rigid-body-vehicle.d.ts.map +1 -0
- package/dist/gpu-physics/rigid-body-vehicle.js +119 -0
- package/dist/gpu-physics/rigid-body-vehicle.js.map +1 -0
- package/dist/gpu-pointcloud/index.cjs.map +1 -1
- package/dist/gpu-project/benchmarks.cjs.map +2 -2
- package/dist/gpu-project/coordinate-projection-graph.cjs +59 -0
- package/dist/gpu-project/coordinate-projection-graph.d.ts +23 -0
- package/dist/gpu-project/coordinate-projection-graph.d.ts.map +1 -0
- package/dist/gpu-project/coordinate-projection-graph.js +40 -0
- package/dist/gpu-project/coordinate-projection-graph.js.map +1 -0
- package/dist/gpu-project/cpu-geoarrow.cjs +112 -0
- package/dist/gpu-project/cpu-geoarrow.d.ts +10 -0
- package/dist/gpu-project/cpu-geoarrow.d.ts.map +1 -0
- package/dist/gpu-project/cpu-geoarrow.js +103 -0
- package/dist/gpu-project/cpu-geoarrow.js.map +1 -0
- package/dist/gpu-project/cpu-geometry-pipelines.cjs +134 -0
- package/dist/gpu-project/cpu-geometry-pipelines.d.ts +19 -0
- package/dist/gpu-project/cpu-geometry-pipelines.d.ts.map +1 -0
- package/dist/gpu-project/cpu-geometry-pipelines.js +114 -0
- package/dist/gpu-project/cpu-geometry-pipelines.js.map +1 -0
- package/dist/gpu-project/cpu-projection-operation.cjs +54 -0
- package/dist/gpu-project/cpu-projection-operation.d.ts +14 -0
- package/dist/gpu-project/cpu-projection-operation.d.ts.map +1 -0
- package/dist/gpu-project/cpu-projection-operation.js +37 -0
- package/dist/gpu-project/cpu-projection-operation.js.map +1 -0
- package/dist/gpu-project/crs.cjs.map +3 -3
- package/dist/gpu-project/crs.d.ts +1 -1
- package/dist/gpu-project/geoarrow.cjs +36 -0
- package/dist/gpu-project/geoarrow.cjs.map +6 -0
- package/dist/gpu-project/geoarrow.d.ts +3 -0
- package/dist/gpu-project/geoarrow.d.ts.map +1 -0
- package/dist/gpu-project/geoarrow.js +7 -0
- package/dist/gpu-project/geoarrow.js.map +1 -0
- package/dist/gpu-project/graph.cjs +27 -0
- package/dist/gpu-project/graph.cjs.map +6 -0
- package/dist/gpu-project/graph.d.ts +2 -0
- package/dist/gpu-project/graph.d.ts.map +1 -0
- package/dist/gpu-project/graph.js +6 -0
- package/dist/gpu-project/graph.js.map +1 -0
- package/dist/gpu-project/index.cjs +3 -0
- package/dist/gpu-project/index.cjs.map +3 -3
- package/dist/gpu-project/index.d.ts +1 -0
- package/dist/gpu-project/index.d.ts.map +1 -1
- package/dist/gpu-project/index.js +1 -0
- package/dist/gpu-project/index.js.map +1 -1
- package/dist/gpu-project/projection-crs-benchmark.cjs +2 -2
- package/dist/gpu-project/projection-crs-benchmark.d.ts +1 -1
- package/dist/gpu-project/projection-crs-benchmark.js +1 -1
- package/dist/gpu-project/projection-crs-input.cjs +7 -7
- package/dist/gpu-project/projection-crs-input.d.ts +1 -1
- package/dist/gpu-project/projection-crs-input.js +4 -4
- package/dist/gpu-project/projection-engine.d.ts +2 -2
- package/dist/gpu-project-benchmarks.cjs +21 -0
- package/dist/gpu-project-benchmarks.d.ts +2 -0
- package/dist/gpu-project-benchmarks.d.ts.map +1 -0
- package/dist/gpu-project-benchmarks.js +5 -0
- package/dist/gpu-project-benchmarks.js.map +1 -0
- package/dist/gpu-project-crs.cjs +21 -0
- package/dist/gpu-project-crs.d.ts +2 -0
- package/dist/gpu-project-crs.d.ts.map +1 -0
- package/dist/gpu-project-crs.js +5 -0
- package/dist/gpu-project-crs.js.map +1 -0
- package/dist/gpu-project-geoarrow.cjs +21 -0
- package/dist/gpu-project-geoarrow.d.ts +2 -0
- package/dist/gpu-project-geoarrow.d.ts.map +1 -0
- package/dist/gpu-project-geoarrow.js +5 -0
- package/dist/gpu-project-geoarrow.js.map +1 -0
- package/dist/gpu-project-graph.cjs +21 -0
- package/dist/gpu-project-graph.d.ts +2 -0
- package/dist/gpu-project-graph.d.ts.map +1 -0
- package/dist/gpu-project-graph.js +5 -0
- package/dist/gpu-project-graph.js.map +1 -0
- package/dist/gpu-simple-graph/compiled-gpu-expression-graph.cjs +75 -5
- package/dist/gpu-simple-graph/compiled-gpu-expression-graph.d.ts +5 -1
- package/dist/gpu-simple-graph/compiled-gpu-expression-graph.d.ts.map +1 -1
- package/dist/gpu-simple-graph/compiled-gpu-expression-graph.js +86 -6
- package/dist/gpu-simple-graph/compiled-gpu-expression-graph.js.map +1 -1
- package/dist/gpu-simple-graph/gpu-simple-graph-lowering.cjs +9 -0
- package/dist/gpu-simple-graph/gpu-simple-graph-lowering.d.ts +2 -0
- package/dist/gpu-simple-graph/gpu-simple-graph-lowering.d.ts.map +1 -1
- package/dist/gpu-simple-graph/gpu-simple-graph-lowering.js +10 -0
- package/dist/gpu-simple-graph/gpu-simple-graph-lowering.js.map +1 -1
- package/dist/gpu-simple-graph/gpu-simple-graph-transfer.d.ts +1 -1
- package/dist/gpu-simple-graph/gpu-simple-graph-transfer.d.ts.map +1 -1
- package/dist/gpu-simple-graph/gpu-simple-graph-value.d.ts +1 -1
- package/dist/gpu-simple-graph/gpu-simple-graph-value.d.ts.map +1 -1
- package/dist/gpu-simple-graph/gpu-simple-graph.cjs +126 -10
- package/dist/gpu-simple-graph/gpu-simple-graph.d.ts +36 -11
- package/dist/gpu-simple-graph/gpu-simple-graph.d.ts.map +1 -1
- package/dist/gpu-simple-graph/gpu-simple-graph.js +137 -12
- package/dist/gpu-simple-graph/gpu-simple-graph.js.map +1 -1
- package/dist/gpu-simple-graph/index.cjs.map +3 -3
- package/dist/gpu-simple-graph/index.d.ts +1 -1
- package/dist/gpu-simple-graph/index.d.ts.map +1 -1
- package/dist/gpu-simple-graph/index.js.map +1 -1
- package/dist/gpu-simple-graph/operation/gpu-data-evaluator.cjs +25 -0
- package/dist/gpu-simple-graph/operation/gpu-data-evaluator.d.ts +7 -1
- package/dist/gpu-simple-graph/operation/gpu-data-evaluator.d.ts.map +1 -1
- package/dist/gpu-simple-graph/operation/gpu-data-evaluator.js +28 -0
- package/dist/gpu-simple-graph/operation/gpu-data-evaluator.js.map +1 -1
- package/dist/gpu-simple-graph/operation/gpu-vector-evaluator.cjs +7 -0
- package/dist/gpu-simple-graph/operation/gpu-vector-evaluator.d.ts +2 -0
- package/dist/gpu-simple-graph/operation/gpu-vector-evaluator.d.ts.map +1 -1
- package/dist/gpu-simple-graph/operation/gpu-vector-evaluator.js +7 -0
- package/dist/gpu-simple-graph/operation/gpu-vector-evaluator.js.map +1 -1
- package/dist/gpu-simple-graph/operation/operation.d.ts +1 -1
- package/dist/gpu-simple-graph/operation/operation.d.ts.map +1 -1
- package/dist/gpu-simple-graph/operations/convert-colors.cjs +6 -6
- package/dist/gpu-simple-graph/operations/convert-colors.d.ts +5 -1
- package/dist/gpu-simple-graph/operations/convert-colors.d.ts.map +1 -1
- package/dist/gpu-simple-graph/operations/convert-colors.js +12 -7
- package/dist/gpu-simple-graph/operations/convert-colors.js.map +1 -1
- package/dist/gpu-simple-graph/operations/cpu/convert-colors.cjs +16 -33
- package/dist/gpu-simple-graph/operations/cpu/convert-colors.d.ts.map +1 -1
- package/dist/gpu-simple-graph/operations/cpu/convert-colors.js +22 -35
- package/dist/gpu-simple-graph/operations/cpu/convert-colors.js.map +1 -1
- package/dist/gpu-simple-graph/operations/cpu/index.cjs.map +3 -3
- package/dist/gpu-simple-graph/operations/webgl/index.cjs.map +3 -3
- package/dist/gpu-simple-graph/operations/webgpu/convert-colors.cjs +31 -13
- package/dist/gpu-simple-graph/operations/webgpu/convert-colors.d.ts.map +1 -1
- package/dist/gpu-simple-graph/operations/webgpu/convert-colors.js +42 -13
- package/dist/gpu-simple-graph/operations/webgpu/convert-colors.js.map +1 -1
- package/dist/gpu-simple-graph/operations/webgpu/index.cjs.map +1 -1
- package/dist/gpu-simple-graph-cpu.cjs +21 -0
- package/dist/gpu-simple-graph-cpu.d.ts +2 -0
- package/dist/gpu-simple-graph-cpu.d.ts.map +1 -0
- package/dist/gpu-simple-graph-cpu.js +5 -0
- package/dist/gpu-simple-graph-cpu.js.map +1 -0
- package/dist/gpu-simple-graph-webgl.cjs +21 -0
- package/dist/gpu-simple-graph-webgl.d.ts +2 -0
- package/dist/gpu-simple-graph-webgl.d.ts.map +1 -0
- package/dist/gpu-simple-graph-webgl.js +5 -0
- package/dist/gpu-simple-graph-webgl.js.map +1 -0
- package/dist/gpu-simple-graph-webgpu.cjs +21 -0
- package/dist/gpu-simple-graph-webgpu.d.ts +2 -0
- package/dist/gpu-simple-graph-webgpu.d.ts.map +1 -0
- package/dist/gpu-simple-graph-webgpu.js +5 -0
- package/dist/gpu-simple-graph-webgpu.js.map +1 -0
- package/dist/gpu-sql/gpu-sql.cjs +159 -328
- package/dist/gpu-sql/gpu-sql.d.ts +1 -1
- package/dist/gpu-sql/gpu-sql.d.ts.map +1 -1
- package/dist/gpu-sql/gpu-sql.js +186 -340
- package/dist/gpu-sql/gpu-sql.js.map +1 -1
- package/dist/gpu-sql/index.cjs.map +3 -3
- package/dist/gpu-tables/index.cjs.map +2 -2
- package/dist/gpu-tables/table/gpu-table.cjs +2 -2
- package/dist/gpu-tables/table/gpu-table.d.ts.map +1 -1
- package/dist/gpu-tables/table/gpu-table.js +2 -2
- package/dist/gpu-tables/table/gpu-table.js.map +1 -1
- package/dist/gpu-timeseries/index.cjs.map +1 -1
- package/dist/index.cjs +11 -0
- package/dist/index.cjs.map +3 -3
- package/dist/index.d.ts +7 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/package.json +30 -16
- package/src/arrow/arrow-colors.ts +194 -33
- package/src/arrow/arrow-utils/arrow-paths.ts +5 -3
- package/src/arrow/cpu/arrow-coordinate-projection.ts +18 -0
- package/src/arrow/cpu/arrow-cpu-pipelines.ts +9 -0
- package/src/arrow/cpu/arrow-cpu-vector-adapters.ts +153 -0
- package/src/arrow/geoarrow/arrow-geoarrow-adapter.ts +21 -493
- package/src/arrow/geoarrow/arrow-geoarrow-conversion.ts +7 -5
- package/src/arrow/geoarrow/arrow-polygon-tessellation.ts +1 -1
- package/src/arrow/gpu/arrow-column-gpu-vector.ts +67 -14
- package/src/arrow/gpu/arrow-gpu-table-conversion.ts +96 -4
- package/src/arrow/gpu/arrow-gpu-vector-adapters.ts +20 -7
- package/src/arrow/gpu/arrow-gpu-vector-conversion.ts +49 -6
- package/src/arrow/index.ts +14 -0
- package/src/experimental-models.ts +5 -0
- package/src/experimental-simulation.ts +5 -0
- package/src/geospatial/gpu-point-spatial-query.ts +2 -15
- package/src/gpu-core/compiled-gpu-graph.ts +73 -1
- package/src/gpu-core/gpu-command-graph-compiler.ts +25 -2
- package/src/gpu-core/gpu-command-graph-types.ts +20 -0
- package/src/gpu-core/gpu-command-graph.ts +48 -11
- package/src/gpu-core/gpu-cpu-execution.ts +345 -0
- package/src/gpu-core/gpu-cpu-operation.ts +65 -0
- package/src/gpu-core/gpu-dispatch-utils.ts +13 -1
- package/src/gpu-core/gpu-expression-operation.ts +1 -1
- package/src/gpu-core/gpu-expression-plan.ts +11 -3
- package/src/gpu-core/gpu-graph-compiler.ts +61 -0
- package/src/gpu-core/gpu-graph.ts +3 -3
- package/src/gpu-core/gpu-grid-aggregation.ts +2 -5
- package/src/gpu-core/gpu-grid-binning.ts +2 -5
- package/src/gpu-core/gpu-grid-coordinate.ts +24 -0
- package/src/gpu-core/gpu-grid-index-internals.ts +2 -15
- package/src/gpu-core/gpu-grid-index-query.ts +2 -16
- package/src/gpu-core/gpu-group-aggregation.ts +38 -50
- package/src/gpu-core/gpu-operation.ts +9 -7
- package/src/gpu-core/gpu-reduction.ts +32 -42
- package/src/gpu-core/gpu-render-operation.ts +42 -0
- package/src/gpu-core/gpu-scan.ts +59 -45
- package/src/gpu-core/gpu-segmented-reduction.ts +20 -10
- package/src/gpu-core/gpu-segmented-scan.ts +82 -17
- package/src/gpu-core/gpu-semantic-aggregation-operation.ts +150 -0
- package/src/gpu-core/gpu-shader-pass-kernel.ts +307 -0
- package/src/gpu-core/gpu-shader-pass-operation.ts +103 -0
- package/src/gpu-core/gpu-texture-plan.ts +3 -2
- package/src/gpu-core/index.ts +39 -0
- package/src/gpu-data/color-conversion.ts +158 -0
- package/src/gpu-data/cpu-data.ts +62 -0
- package/src/gpu-data/cpu-gpu-vector-transfer.ts +110 -0
- package/src/gpu-data/cpu-vector.ts +31 -0
- package/src/gpu-data/gpu-data-buffer-props.ts +25 -0
- package/src/gpu-data/gpu-vector-wgsl-layout.ts +79 -0
- package/src/gpu-data/index.ts +15 -0
- package/src/gpu-dataframe/gpu-data-frame-query.ts +24 -31
- package/src/gpu-dataframe/gpu-expression-shader.ts +128 -7
- package/src/gpu-dataframe/gpu-expression.ts +259 -1
- package/src/gpu-dataframe/gpu-global-aggregation-compiler.ts +0 -1
- package/src/gpu-dataframe/gpu-global-aggregation-query.ts +5 -3
- package/src/gpu-dataframe/gpu-global-sort-compiler.ts +26 -12
- package/src/gpu-dataframe/gpu-group-aggregation-compiler.ts +0 -1
- package/src/gpu-dataframe/gpu-group-by-query.ts +5 -3
- package/src/gpu-dataframe/gpu-histogram-compiler.ts +0 -1
- package/src/gpu-dataframe/gpu-join-compiler.ts +0 -2
- package/src/gpu-dataframe/gpu-query-compiler.ts +3 -3
- package/src/gpu-dataframe/gpu-sort-compiler.ts +0 -1
- package/src/gpu-dataframe/gpu-sort-query.ts +31 -5
- package/src/gpu-dataframe/index.ts +26 -2
- package/src/gpu-dataframe/portable-expression.ts +194 -0
- package/src/gpu-dggs-benchmarks.ts +5 -0
- package/src/gpu-graph/index.ts +17 -0
- package/src/gpu-graph-algorithms/gpu-graph-spatial-force-layout-internals.ts +2 -15
- package/src/gpu-graph-algorithms-benchmarks.ts +5 -0
- package/src/gpu-physics/gpu-physics-ensemble-terrain.ts +114 -0
- package/src/gpu-physics/gpu-physics-ensemble.ts +147 -4
- package/src/gpu-physics/gpu-rigid-body-world.ts +797 -102
- package/src/gpu-physics/index.ts +38 -0
- package/src/gpu-physics/rigid-body-bounds-shaders.ts +16 -1
- package/src/gpu-physics/rigid-body-convex-shaders.ts +3 -2
- package/src/gpu-physics/rigid-body-ensemble-reset.ts +48 -8
- package/src/gpu-physics/rigid-body-ensemble-transaction.ts +34 -1
- package/src/gpu-physics/rigid-body-geometry.ts +49 -4
- package/src/gpu-physics/rigid-body-height-field-shader.ts +56 -0
- package/src/gpu-physics/rigid-body-height-field.ts +257 -0
- package/src/gpu-physics/rigid-body-mesh-query-shaders.ts +4 -2
- package/src/gpu-physics/rigid-body-mesh.ts +97 -26
- package/src/gpu-physics/rigid-body-parallel-shaders.ts +32 -9
- package/src/gpu-physics/rigid-body-properties.ts +5 -2
- package/src/gpu-physics/rigid-body-publication.ts +1 -1
- package/src/gpu-physics/rigid-body-query-geometry.ts +22 -4
- package/src/gpu-physics/rigid-body-shaders.ts +19 -7
- package/src/gpu-physics/rigid-body-shape-properties.ts +2 -0
- package/src/gpu-physics/rigid-body-terrain-atlas.ts +378 -0
- package/src/gpu-physics/rigid-body-terrain-lod.ts +332 -0
- package/src/gpu-physics/rigid-body-terrain-stitch.ts +286 -0
- package/src/gpu-physics/rigid-body-terrain-stream.ts +323 -0
- package/src/gpu-physics/rigid-body-triggers.ts +1 -0
- package/src/gpu-physics/rigid-body-vehicle.ts +166 -0
- package/src/gpu-project/README.md +2 -2
- package/src/gpu-project/coordinate-projection-graph.ts +59 -0
- package/src/gpu-project/cpu-geoarrow.ts +135 -0
- package/src/gpu-project/cpu-geometry-pipelines.ts +159 -0
- package/src/gpu-project/cpu-projection-operation.ts +49 -0
- package/src/gpu-project/crs.ts +2 -2
- package/src/gpu-project/geoarrow.ts +11 -0
- package/src/gpu-project/graph.ts +10 -0
- package/src/gpu-project/index.ts +2 -0
- package/src/gpu-project/projection-crs-benchmark.ts +2 -2
- package/src/gpu-project/projection-crs-input.ts +4 -4
- package/src/gpu-project/projection-engine.ts +2 -2
- package/src/gpu-project-benchmarks.ts +5 -0
- package/src/gpu-project-crs.ts +5 -0
- package/src/gpu-project-geoarrow.ts +5 -0
- package/src/gpu-project-graph.ts +5 -0
- package/src/gpu-simple-graph/compiled-gpu-expression-graph.ts +97 -6
- package/src/gpu-simple-graph/gpu-simple-graph-lowering.ts +11 -0
- package/src/gpu-simple-graph/gpu-simple-graph-transfer.ts +1 -1
- package/src/gpu-simple-graph/gpu-simple-graph-value.ts +1 -1
- package/src/gpu-simple-graph/gpu-simple-graph.ts +163 -19
- package/src/gpu-simple-graph/index.ts +1 -0
- package/src/gpu-simple-graph/operation/gpu-data-evaluator.ts +25 -1
- package/src/gpu-simple-graph/operation/gpu-vector-evaluator.ts +7 -0
- package/src/gpu-simple-graph/operation/operation.ts +1 -1
- package/src/gpu-simple-graph/operations/convert-colors.ts +22 -7
- package/src/gpu-simple-graph/operations/cpu/convert-colors.ts +31 -48
- package/src/gpu-simple-graph/operations/swizzle.ts +1 -1
- package/src/gpu-simple-graph/operations/webgpu/convert-colors.ts +47 -13
- package/src/gpu-simple-graph-cpu.ts +5 -0
- package/src/gpu-simple-graph-webgl.ts +5 -0
- package/src/gpu-simple-graph-webgpu.ts +5 -0
- package/src/gpu-sql/gpu-sql.ts +238 -354
- package/src/gpu-tables/table/gpu-table.ts +2 -1
- package/src/index.ts +21 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { SpatialReference } from '@math.gl/geospatial/crs';
|
|
2
|
-
import type { CRSNormalizationOptions, TypeScriptCRSInput } from '@math.gl/geospatial/projection
|
|
3
|
-
import type { ProjectionEngine } from '@math.gl/geospatial/projection
|
|
2
|
+
import type { CRSNormalizationOptions, TypeScriptCRSInput } from '@math.gl/geospatial/projection-core';
|
|
3
|
+
import type { ProjectionEngine } from '@math.gl/geospatial/projection-types';
|
|
4
4
|
import { type PlanProjectionOptions, type ProjectionPlanningResult } from "./projection-planning.js";
|
|
5
5
|
export type PrepareCRSProjectionOptions = Omit<PlanProjectionOptions, 'projection'> & {
|
|
6
6
|
from: TypeScriptCRSInput;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
|
6
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
7
|
+
for (let key of __getOwnPropNames(from))
|
|
8
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
9
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
10
|
+
}
|
|
11
|
+
return to;
|
|
12
|
+
};
|
|
13
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var gpu_project_benchmarks_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(gpu_project_benchmarks_exports);
|
|
17
|
+
__reExport(gpu_project_benchmarks_exports, require("./gpu-project/benchmarks.cjs"), module.exports);
|
|
18
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
19
|
+
0 && (module.exports = {
|
|
20
|
+
...require("./gpu-project/benchmarks.cjs")
|
|
21
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gpu-project-benchmarks.d.ts","sourceRoot":"","sources":["../src/gpu-project-benchmarks.ts"],"names":[],"mappings":"AAIA,4CAAyC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gpu-project-benchmarks.js","sourceRoot":"","sources":["../src/gpu-project-benchmarks.ts"],"names":[],"mappings":"AAAA,UAAU;AACV,+BAA+B;AAC/B,4DAA4D;AAE5D,4CAAyC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
|
6
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
7
|
+
for (let key of __getOwnPropNames(from))
|
|
8
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
9
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
10
|
+
}
|
|
11
|
+
return to;
|
|
12
|
+
};
|
|
13
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var gpu_project_crs_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(gpu_project_crs_exports);
|
|
17
|
+
__reExport(gpu_project_crs_exports, require("./gpu-project/crs.cjs"), module.exports);
|
|
18
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
19
|
+
0 && (module.exports = {
|
|
20
|
+
...require("./gpu-project/crs.cjs")
|
|
21
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gpu-project-crs.d.ts","sourceRoot":"","sources":["../src/gpu-project-crs.ts"],"names":[],"mappings":"AAIA,qCAAkC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gpu-project-crs.js","sourceRoot":"","sources":["../src/gpu-project-crs.ts"],"names":[],"mappings":"AAAA,UAAU;AACV,+BAA+B;AAC/B,4DAA4D;AAE5D,qCAAkC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
|
6
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
7
|
+
for (let key of __getOwnPropNames(from))
|
|
8
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
9
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
10
|
+
}
|
|
11
|
+
return to;
|
|
12
|
+
};
|
|
13
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var gpu_project_geoarrow_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(gpu_project_geoarrow_exports);
|
|
17
|
+
__reExport(gpu_project_geoarrow_exports, require("./gpu-project/geoarrow.cjs"), module.exports);
|
|
18
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
19
|
+
0 && (module.exports = {
|
|
20
|
+
...require("./gpu-project/geoarrow.cjs")
|
|
21
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gpu-project-geoarrow.d.ts","sourceRoot":"","sources":["../src/gpu-project-geoarrow.ts"],"names":[],"mappings":"AAIA,0CAAuC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gpu-project-geoarrow.js","sourceRoot":"","sources":["../src/gpu-project-geoarrow.ts"],"names":[],"mappings":"AAAA,UAAU;AACV,+BAA+B;AAC/B,4DAA4D;AAE5D,0CAAuC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
|
6
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
7
|
+
for (let key of __getOwnPropNames(from))
|
|
8
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
9
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
10
|
+
}
|
|
11
|
+
return to;
|
|
12
|
+
};
|
|
13
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
14
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
15
|
+
var gpu_project_graph_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(gpu_project_graph_exports);
|
|
17
|
+
__reExport(gpu_project_graph_exports, require("./gpu-project/graph.cjs"), module.exports);
|
|
18
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
19
|
+
0 && (module.exports = {
|
|
20
|
+
...require("./gpu-project/graph.cjs")
|
|
21
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gpu-project-graph.d.ts","sourceRoot":"","sources":["../src/gpu-project-graph.ts"],"names":[],"mappings":"AAIA,uCAAoC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gpu-project-graph.js","sourceRoot":"","sources":["../src/gpu-project-graph.ts"],"names":[],"mappings":"AAAA,UAAU;AACV,+BAA+B;AAC/B,4DAA4D;AAE5D,uCAAoC"}
|
|
@@ -23,6 +23,7 @@ module.exports = __toCommonJS(compiled_gpu_expression_graph_exports);
|
|
|
23
23
|
var import_core = require("@luma.gl/core");
|
|
24
24
|
var import_gpu_simple_graph = require("@luma.gl/graph/gpu-simple-graph");
|
|
25
25
|
var import_arithmetic_operation = require("./operations/arithmetic-operation.cjs");
|
|
26
|
+
var import_gpu_data = require("@luma.gl/graph/gpu-data");
|
|
26
27
|
var import_gpu_expression_operation = require("../gpu-core/gpu-expression-operation.cjs");
|
|
27
28
|
var import_gpu_expression_plan = require("../gpu-core/gpu-expression-plan.cjs");
|
|
28
29
|
var import_gpu_transfer_operation = require("../gpu-core/gpu-transfer-operation.cjs");
|
|
@@ -30,9 +31,16 @@ var import_gpu_transfer_execution = require("./gpu-transfer-execution.cjs");
|
|
|
30
31
|
var import_gpu_texture_copy = require("../gpu-core/gpu-texture-copy.cjs");
|
|
31
32
|
var import_gpu_expression_cast_operation = require("./gpu-expression-cast-operation.cjs");
|
|
32
33
|
var import_gpu_expression_row_operation = require("./gpu-expression-row-operation.cjs");
|
|
34
|
+
var import_gpu_shader_pass_operation = require("../gpu-core/gpu-shader-pass-operation.cjs");
|
|
35
|
+
var import_gpu_shader_pass_kernel = require("../gpu-core/gpu-shader-pass-kernel.cjs");
|
|
36
|
+
var import_gpu_cpu_operation = require("../gpu-core/gpu-cpu-operation.cjs");
|
|
37
|
+
var import_gpu_cpu_execution = require("../gpu-core/gpu-cpu-execution.cjs");
|
|
33
38
|
class CompiledGPUSimpleExpressionGraph {
|
|
34
39
|
device;
|
|
35
40
|
program;
|
|
41
|
+
shaderPasses = /* @__PURE__ */ new Map();
|
|
42
|
+
cpuExecution;
|
|
43
|
+
outputLocations;
|
|
36
44
|
running = false;
|
|
37
45
|
destroyed = false;
|
|
38
46
|
constructor(device, source, options = {}) {
|
|
@@ -40,20 +48,38 @@ class CompiledGPUSimpleExpressionGraph {
|
|
|
40
48
|
if (options.lowerings)
|
|
41
49
|
throw new Error("Custom lowerings require GPUGraph");
|
|
42
50
|
this.program = new import_gpu_expression_plan.GPUExpressionProgram(source, options);
|
|
51
|
+
this.outputLocations = options.outputLocations ?? {};
|
|
43
52
|
if (this.program.textures.length && device.type !== "webgpu")
|
|
44
53
|
throw new Error("SimpleGraph texture execution requires WebGPU");
|
|
45
54
|
if (this.program.vectors.some((value) => value.role === "state"))
|
|
46
55
|
throw new Error("SimpleGraph state execution is unsupported");
|
|
47
|
-
if (this.program.operations.some((operation) => !(operation instanceof import_gpu_expression_operation.GPUExpressionOperation || operation instanceof import_gpu_transfer_operation.GPUUploadOperation || operation instanceof import_gpu_transfer_operation.GPUCopyOperation)))
|
|
48
|
-
throw new Error("SimpleGraph declarative execution supports expression, upload and
|
|
56
|
+
if (this.program.operations.some((operation) => !(operation instanceof import_gpu_cpu_operation.GPUCPUOperation || operation instanceof import_gpu_expression_operation.GPUExpressionOperation || operation instanceof import_gpu_transfer_operation.GPUUploadOperation || operation instanceof import_gpu_shader_pass_operation.GPUShaderPassOperation || operation instanceof import_gpu_transfer_operation.GPUCopyOperation)))
|
|
57
|
+
throw new Error("SimpleGraph declarative execution supports expression, CPU, upload, copy and shader-pass operations only");
|
|
58
|
+
if (this.program.operations.some((operation) => operation instanceof import_gpu_cpu_operation.GPUCPUOperation) || Object.values(this.outputLocations).includes("cpu"))
|
|
59
|
+
this.cpuExecution = new import_gpu_cpu_execution.GPUCPUExecution(device, this.program, (source2, outputs) => new CompiledGPUSimpleExpressionGraph(device, source2, { outputs }));
|
|
60
|
+
try {
|
|
61
|
+
for (const operation of this.program.operations)
|
|
62
|
+
if (operation instanceof import_gpu_shader_pass_operation.GPUShaderPassOperation)
|
|
63
|
+
this.shaderPasses.set(operation, new import_gpu_shader_pass_kernel.GPUShaderPassKernel(device, operation, this.program));
|
|
64
|
+
} catch (error) {
|
|
65
|
+
this.destroy();
|
|
66
|
+
throw error;
|
|
67
|
+
}
|
|
49
68
|
}
|
|
50
|
-
/** Prepare
|
|
69
|
+
/** Prepare straight-line texture copies and shader passes without submitting work. */
|
|
51
70
|
prepare(supplied, options = {}) {
|
|
52
71
|
(0, import_core.assert)(!this.destroyed && !this.running && this.device.type === "webgpu");
|
|
53
|
-
if (!this.program.textures.length || this.program.operations.some((operation) => !(operation instanceof import_gpu_transfer_operation.GPUCopyOperation) || !this.program.textures.some((texture) => texture.id === operation.input)))
|
|
54
|
-
throw new Error("SimpleGraph prepare currently supports texture-copy programs only");
|
|
72
|
+
if (!this.program.textures.length || this.program.operations.some((operation) => !(operation instanceof import_gpu_shader_pass_operation.GPUShaderPassOperation) && (!(operation instanceof import_gpu_transfer_operation.GPUCopyOperation) || !this.program.textures.some((texture) => texture.id === operation.input))))
|
|
73
|
+
throw new Error("SimpleGraph prepare currently supports texture-copy and shader-pass programs only");
|
|
55
74
|
const resolved = this.program.resolveBindings(supplied, options);
|
|
56
75
|
const invocation = this.program.prepare(this.device, resolved.bindings, resolved.options);
|
|
76
|
+
let shaderPasses;
|
|
77
|
+
try {
|
|
78
|
+
shaderPasses = this.prepareShaderPasses(invocation);
|
|
79
|
+
} catch (error) {
|
|
80
|
+
invocation.destroy();
|
|
81
|
+
throw error;
|
|
82
|
+
}
|
|
57
83
|
let encoded = false;
|
|
58
84
|
let destroyed = false;
|
|
59
85
|
return {
|
|
@@ -62,6 +88,10 @@ class CompiledGPUSimpleExpressionGraph {
|
|
|
62
88
|
(0, import_core.assert)(!this.destroyed && !destroyed && !encoded && encoder.device === this.device);
|
|
63
89
|
encoded = true;
|
|
64
90
|
for (const operation of this.program.operations) {
|
|
91
|
+
if (operation instanceof import_gpu_shader_pass_operation.GPUShaderPassOperation) {
|
|
92
|
+
shaderPasses.get(operation).encode(encoder);
|
|
93
|
+
continue;
|
|
94
|
+
}
|
|
65
95
|
(0, import_core.assert)(operation instanceof import_gpu_transfer_operation.GPUCopyOperation);
|
|
66
96
|
(0, import_gpu_texture_copy.encodeTextureCopy)(encoder, invocation.textures.values.get(operation.input), invocation.textures.values.get(operation.output));
|
|
67
97
|
}
|
|
@@ -70,6 +100,8 @@ class CompiledGPUSimpleExpressionGraph {
|
|
|
70
100
|
if (destroyed)
|
|
71
101
|
return;
|
|
72
102
|
destroyed = true;
|
|
103
|
+
for (const pass of shaderPasses.values())
|
|
104
|
+
pass.destroy();
|
|
73
105
|
invocation.finish();
|
|
74
106
|
}
|
|
75
107
|
};
|
|
@@ -80,13 +112,27 @@ class CompiledGPUSimpleExpressionGraph {
|
|
|
80
112
|
const resolvedBindings = this.program.resolveBindings(supplied, options);
|
|
81
113
|
const bindings = resolvedBindings.bindings;
|
|
82
114
|
options = resolvedBindings.options;
|
|
115
|
+
const suppliedInputs = "inputs" in supplied ? supplied.inputs : supplied;
|
|
116
|
+
const useCPU = this.program.operations.some((operation) => operation instanceof import_gpu_cpu_operation.GPUCPUOperation) || Object.values(this.outputLocations).includes("cpu") || Object.values(suppliedInputs ?? {}).some((value) => value instanceof import_gpu_data.CPUVector);
|
|
117
|
+
if (!this.cpuExecution && useCPU)
|
|
118
|
+
this.cpuExecution = new import_gpu_cpu_execution.GPUCPUExecution(this.device, this.program, (source, outputs) => new CompiledGPUSimpleExpressionGraph(this.device, source, { outputs }));
|
|
83
119
|
this.running = true;
|
|
120
|
+
if (useCPU && this.cpuExecution) {
|
|
121
|
+
try {
|
|
122
|
+
(0, import_core.assert)(!options.outputTargets || Object.keys(options.outputTargets).length === 0);
|
|
123
|
+
return await this.cpuExecution.run(bindings, this.outputLocations);
|
|
124
|
+
} finally {
|
|
125
|
+
this.running = false;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
84
128
|
const evaluators = /* @__PURE__ */ new Set();
|
|
85
129
|
const scalarBuffers = /* @__PURE__ */ new Set();
|
|
86
130
|
let scope;
|
|
87
131
|
let invocation;
|
|
132
|
+
let shaderPasses;
|
|
88
133
|
try {
|
|
89
134
|
invocation = this.program.prepare(this.device, bindings, options);
|
|
135
|
+
shaderPasses = this.prepareShaderPasses(invocation);
|
|
90
136
|
if (this.device.type === "webgpu")
|
|
91
137
|
scope = new import_gpu_simple_graph.GPUEvaluationScope(this.device);
|
|
92
138
|
const retain = (evaluator) => {
|
|
@@ -94,6 +140,11 @@ class CompiledGPUSimpleExpressionGraph {
|
|
|
94
140
|
return evaluator;
|
|
95
141
|
};
|
|
96
142
|
for (const operation of this.program.operations) {
|
|
143
|
+
if (operation instanceof import_gpu_shader_pass_operation.GPUShaderPassOperation) {
|
|
144
|
+
(0, import_core.assert)(scope);
|
|
145
|
+
shaderPasses.get(operation).encode(scope.commandEncoder);
|
|
146
|
+
continue;
|
|
147
|
+
}
|
|
97
148
|
if (operation instanceof import_gpu_transfer_operation.GPUUploadOperation || operation instanceof import_gpu_transfer_operation.GPUCopyOperation) {
|
|
98
149
|
if (operation instanceof import_gpu_transfer_operation.GPUCopyOperation && ((_a = invocation.textures) == null ? void 0 : _a.values.has(operation.input))) {
|
|
99
150
|
(0, import_core.assert)(scope);
|
|
@@ -252,6 +303,8 @@ class CompiledGPUSimpleExpressionGraph {
|
|
|
252
303
|
invocation == null ? void 0 : invocation.destroy();
|
|
253
304
|
throw error;
|
|
254
305
|
} finally {
|
|
306
|
+
for (const pass of (shaderPasses == null ? void 0 : shaderPasses.values()) ?? [])
|
|
307
|
+
pass.destroy();
|
|
255
308
|
for (const evaluator of evaluators)
|
|
256
309
|
evaluator.destroy();
|
|
257
310
|
for (const buffer of scalarBuffers)
|
|
@@ -260,9 +313,26 @@ class CompiledGPUSimpleExpressionGraph {
|
|
|
260
313
|
}
|
|
261
314
|
}
|
|
262
315
|
destroy() {
|
|
316
|
+
var _a;
|
|
263
317
|
(0, import_core.assert)(!this.running);
|
|
318
|
+
(_a = this.cpuExecution) == null ? void 0 : _a.destroy();
|
|
319
|
+
for (const kernel of this.shaderPasses.values())
|
|
320
|
+
kernel.destroy();
|
|
321
|
+
this.shaderPasses.clear();
|
|
264
322
|
this.destroyed = true;
|
|
265
323
|
}
|
|
324
|
+
prepareShaderPasses(invocation) {
|
|
325
|
+
const passes = /* @__PURE__ */ new Map();
|
|
326
|
+
try {
|
|
327
|
+
for (const [operation, kernel] of this.shaderPasses)
|
|
328
|
+
passes.set(operation, kernel.prepare(invocation.textures.values, invocation.values));
|
|
329
|
+
return passes;
|
|
330
|
+
} catch (error) {
|
|
331
|
+
for (const pass of passes.values())
|
|
332
|
+
pass.destroy();
|
|
333
|
+
throw error;
|
|
334
|
+
}
|
|
335
|
+
}
|
|
266
336
|
}
|
|
267
337
|
class GPUExpressionArithmeticOperation extends import_arithmetic_operation.ArithmeticOperation {
|
|
268
338
|
shouldExecuteOnCPU() {
|
|
@@ -7,10 +7,13 @@ import type { GPUGraphOutputs } from "../gpu-core/gpu-texture-plan.js";
|
|
|
7
7
|
export declare class CompiledGPUSimpleExpressionGraph<Outputs extends GPUGraphOutputs = Record<string, GPUVector>> {
|
|
8
8
|
readonly device: Device;
|
|
9
9
|
private readonly program;
|
|
10
|
+
private readonly shaderPasses;
|
|
11
|
+
private cpuExecution?;
|
|
12
|
+
private readonly outputLocations;
|
|
10
13
|
private running;
|
|
11
14
|
private destroyed;
|
|
12
15
|
constructor(device: Device, source: GPUGraph, options?: GPUGraphCompileOptions);
|
|
13
|
-
/** Prepare
|
|
16
|
+
/** Prepare straight-line texture copies and shader passes without submitting work. */
|
|
14
17
|
prepare(supplied: GPUGraphRunBindings | GPUGraphExecutionBindings, options?: GPUGraphRunOptions): {
|
|
15
18
|
outputs: Outputs;
|
|
16
19
|
encode: (encoder: CommandEncoder) => void;
|
|
@@ -18,5 +21,6 @@ export declare class CompiledGPUSimpleExpressionGraph<Outputs extends GPUGraphOu
|
|
|
18
21
|
};
|
|
19
22
|
run(supplied: GPUGraphRunBindings | GPUGraphExecutionBindings, options?: GPUGraphRunOptions): Promise<Outputs>;
|
|
20
23
|
destroy(): void;
|
|
24
|
+
private prepareShaderPasses;
|
|
21
25
|
}
|
|
22
26
|
//# sourceMappingURL=compiled-gpu-expression-graph.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compiled-gpu-expression-graph.d.ts","sourceRoot":"","sources":["../../src/gpu-simple-graph/compiled-gpu-expression-graph.ts"],"names":[],"mappings":"AAIA,OAAO,EAAiB,KAAK,MAAM,EAAE,KAAK,cAAc,EAAC,MAAM,eAAe,CAAC;AAY/E,OAAO,
|
|
1
|
+
{"version":3,"file":"compiled-gpu-expression-graph.d.ts","sourceRoot":"","sources":["../../src/gpu-simple-graph/compiled-gpu-expression-graph.ts"],"names":[],"mappings":"AAIA,OAAO,EAAiB,KAAK,MAAM,EAAE,KAAK,cAAc,EAAC,MAAM,eAAe,CAAC;AAY/E,OAAO,EAAY,SAAS,EAAC,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EAAC,QAAQ,EAAC,iCAA8B;AAQpD,OAAO,EAEL,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,EACxB,KAAK,yBAAyB,EAC9B,KAAK,kBAAkB,EACxB,2CAAwC;AAKzC,OAAO,KAAK,EAAC,eAAe,EAAC,wCAAqC;AAUlE,mFAAmF;AACnF,qBAAa,gCAAgC,CAC3C,OAAO,SAAS,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC;IAUzD,QAAQ,CAAC,MAAM,EAAE,MAAM;IARzB,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAuB;IAC/C,OAAO,CAAC,QAAQ,CAAC,YAAY,CAA0D;IACvF,OAAO,CAAC,YAAY,CAAC,CAAkB;IACvC,OAAO,CAAC,QAAQ,CAAC,eAAe,CAA0C;IAC1E,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,SAAS,CAAS;gBAGf,MAAM,EAAE,MAAM,EACvB,MAAM,EAAE,QAAQ,EAChB,OAAO,GAAE,sBAA2B;IA8CtC,sFAAsF;IACtF,OAAO,CACL,QAAQ,EAAE,mBAAmB,GAAG,yBAAyB,EACzD,OAAO,GAAE,kBAAuB;;0BA4BZ,cAAc,KAAG,IAAI;uBAgB1B,IAAI;;IASf,GAAG,CACP,QAAQ,EAAE,mBAAmB,GAAG,yBAAyB,EACzD,OAAO,GAAE,kBAAuB,GAC/B,OAAO,CAAC,OAAO,CAAC;IA2RnB,OAAO,IAAI,IAAI;IASf,OAAO,CAAC,mBAAmB;CAW5B"}
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import { Buffer, assert } from '@luma.gl/core';
|
|
5
5
|
import { GPUDataEvaluator, GPUEvaluationScope, swizzle, interleave } from '@luma.gl/graph/gpu-simple-graph';
|
|
6
6
|
import { ArithmeticOperation } from "./operations/arithmetic-operation.js";
|
|
7
|
+
import { CPUVector } from '@luma.gl/graph/gpu-data';
|
|
7
8
|
import { GPUExpressionOperation, getGPUExpressionRowInfo, getGPUExpressionFormat, makeGPUExpressionRowFormat } from "../gpu-core/gpu-expression-operation.js";
|
|
8
9
|
import { GPUExpressionProgram } from "../gpu-core/gpu-expression-plan.js";
|
|
9
10
|
import { GPUUploadOperation, GPUCopyOperation } from "../gpu-core/gpu-transfer-operation.js";
|
|
@@ -11,10 +12,17 @@ import { executeGPUTransfer } from "./gpu-transfer-execution.js";
|
|
|
11
12
|
import { encodeTextureCopy } from "../gpu-core/gpu-texture-copy.js";
|
|
12
13
|
import { GPUExpressionCastOperation } from "./gpu-expression-cast-operation.js";
|
|
13
14
|
import { GPUExpressionRowOperation } from "./gpu-expression-row-operation.js";
|
|
15
|
+
import { GPUShaderPassOperation } from "../gpu-core/gpu-shader-pass-operation.js";
|
|
16
|
+
import { GPUShaderPassKernel } from "../gpu-core/gpu-shader-pass-kernel.js";
|
|
17
|
+
import { GPUCPUOperation } from "../gpu-core/gpu-cpu-operation.js";
|
|
18
|
+
import { GPUCPUExecution } from "../gpu-core/gpu-cpu-execution.js";
|
|
14
19
|
/** Reusable expression program implemented through the unchanged evaluator API. */
|
|
15
20
|
export class CompiledGPUSimpleExpressionGraph {
|
|
16
21
|
device;
|
|
17
22
|
program;
|
|
23
|
+
shaderPasses = new Map();
|
|
24
|
+
cpuExecution;
|
|
25
|
+
outputLocations;
|
|
18
26
|
running = false;
|
|
19
27
|
destroyed = false;
|
|
20
28
|
constructor(device, source, options = {}) {
|
|
@@ -22,24 +30,48 @@ export class CompiledGPUSimpleExpressionGraph {
|
|
|
22
30
|
if (options.lowerings)
|
|
23
31
|
throw new Error('Custom lowerings require GPUGraph');
|
|
24
32
|
this.program = new GPUExpressionProgram(source, options);
|
|
33
|
+
this.outputLocations = options.outputLocations ?? {};
|
|
25
34
|
if (this.program.textures.length && device.type !== 'webgpu')
|
|
26
35
|
throw new Error('SimpleGraph texture execution requires WebGPU');
|
|
27
36
|
if (this.program.vectors.some(value => value.role === 'state'))
|
|
28
37
|
throw new Error('SimpleGraph state execution is unsupported');
|
|
29
|
-
if (this.program.operations.some(operation => !(operation instanceof
|
|
38
|
+
if (this.program.operations.some(operation => !(operation instanceof GPUCPUOperation ||
|
|
39
|
+
operation instanceof GPUExpressionOperation ||
|
|
30
40
|
operation instanceof GPUUploadOperation ||
|
|
41
|
+
operation instanceof GPUShaderPassOperation ||
|
|
31
42
|
operation instanceof GPUCopyOperation)))
|
|
32
|
-
throw new Error('SimpleGraph declarative execution supports expression, upload and
|
|
43
|
+
throw new Error('SimpleGraph declarative execution supports expression, CPU, upload, copy and shader-pass operations only');
|
|
44
|
+
if (this.program.operations.some(operation => operation instanceof GPUCPUOperation) ||
|
|
45
|
+
Object.values(this.outputLocations).includes('cpu'))
|
|
46
|
+
this.cpuExecution = new GPUCPUExecution(device, this.program, (source, outputs) => new CompiledGPUSimpleExpressionGraph(device, source, { outputs }));
|
|
47
|
+
try {
|
|
48
|
+
for (const operation of this.program.operations)
|
|
49
|
+
if (operation instanceof GPUShaderPassOperation)
|
|
50
|
+
this.shaderPasses.set(operation, new GPUShaderPassKernel(device, operation, this.program));
|
|
51
|
+
}
|
|
52
|
+
catch (error) {
|
|
53
|
+
this.destroy();
|
|
54
|
+
throw error;
|
|
55
|
+
}
|
|
33
56
|
}
|
|
34
|
-
/** Prepare
|
|
57
|
+
/** Prepare straight-line texture copies and shader passes without submitting work. */
|
|
35
58
|
prepare(supplied, options = {}) {
|
|
36
59
|
assert(!this.destroyed && !this.running && this.device.type === 'webgpu');
|
|
37
60
|
if (!this.program.textures.length ||
|
|
38
|
-
this.program.operations.some(operation => !(operation instanceof
|
|
39
|
-
!
|
|
40
|
-
|
|
61
|
+
this.program.operations.some(operation => !(operation instanceof GPUShaderPassOperation) &&
|
|
62
|
+
(!(operation instanceof GPUCopyOperation) ||
|
|
63
|
+
!this.program.textures.some(texture => texture.id === operation.input))))
|
|
64
|
+
throw new Error('SimpleGraph prepare currently supports texture-copy and shader-pass programs only');
|
|
41
65
|
const resolved = this.program.resolveBindings(supplied, options);
|
|
42
66
|
const invocation = this.program.prepare(this.device, resolved.bindings, resolved.options);
|
|
67
|
+
let shaderPasses;
|
|
68
|
+
try {
|
|
69
|
+
shaderPasses = this.prepareShaderPasses(invocation);
|
|
70
|
+
}
|
|
71
|
+
catch (error) {
|
|
72
|
+
invocation.destroy();
|
|
73
|
+
throw error;
|
|
74
|
+
}
|
|
43
75
|
let encoded = false;
|
|
44
76
|
let destroyed = false;
|
|
45
77
|
return {
|
|
@@ -48,6 +80,10 @@ export class CompiledGPUSimpleExpressionGraph {
|
|
|
48
80
|
assert(!this.destroyed && !destroyed && !encoded && encoder.device === this.device);
|
|
49
81
|
encoded = true;
|
|
50
82
|
for (const operation of this.program.operations) {
|
|
83
|
+
if (operation instanceof GPUShaderPassOperation) {
|
|
84
|
+
shaderPasses.get(operation).encode(encoder);
|
|
85
|
+
continue;
|
|
86
|
+
}
|
|
51
87
|
assert(operation instanceof GPUCopyOperation);
|
|
52
88
|
encodeTextureCopy(encoder, invocation.textures.values.get(operation.input), invocation.textures.values.get(operation.output));
|
|
53
89
|
}
|
|
@@ -56,6 +92,8 @@ export class CompiledGPUSimpleExpressionGraph {
|
|
|
56
92
|
if (destroyed)
|
|
57
93
|
return;
|
|
58
94
|
destroyed = true;
|
|
95
|
+
for (const pass of shaderPasses.values())
|
|
96
|
+
pass.destroy();
|
|
59
97
|
invocation.finish();
|
|
60
98
|
}
|
|
61
99
|
};
|
|
@@ -66,13 +104,31 @@ export class CompiledGPUSimpleExpressionGraph {
|
|
|
66
104
|
const resolvedBindings = this.program.resolveBindings(supplied, options);
|
|
67
105
|
const bindings = resolvedBindings.bindings;
|
|
68
106
|
options = resolvedBindings.options;
|
|
107
|
+
const suppliedInputs = 'inputs' in supplied ? supplied.inputs : supplied;
|
|
108
|
+
const useCPU = this.program.operations.some(operation => operation instanceof GPUCPUOperation) ||
|
|
109
|
+
Object.values(this.outputLocations).includes('cpu') ||
|
|
110
|
+
Object.values(suppliedInputs ?? {}).some(value => value instanceof CPUVector);
|
|
111
|
+
if (!this.cpuExecution && useCPU)
|
|
112
|
+
this.cpuExecution = new GPUCPUExecution(this.device, this.program, (source, outputs) => new CompiledGPUSimpleExpressionGraph(this.device, source, { outputs }));
|
|
69
113
|
this.running = true;
|
|
114
|
+
if (useCPU && this.cpuExecution) {
|
|
115
|
+
try {
|
|
116
|
+
// Dynamic CPU results cannot be prepared into caller-owned storage yet.
|
|
117
|
+
assert(!options.outputTargets || Object.keys(options.outputTargets).length === 0);
|
|
118
|
+
return (await this.cpuExecution.run(bindings, this.outputLocations));
|
|
119
|
+
}
|
|
120
|
+
finally {
|
|
121
|
+
this.running = false;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
70
124
|
const evaluators = new Set();
|
|
71
125
|
const scalarBuffers = new Set();
|
|
72
126
|
let scope;
|
|
73
127
|
let invocation;
|
|
128
|
+
let shaderPasses;
|
|
74
129
|
try {
|
|
75
130
|
invocation = this.program.prepare(this.device, bindings, options);
|
|
131
|
+
shaderPasses = this.prepareShaderPasses(invocation);
|
|
76
132
|
if (this.device.type === 'webgpu')
|
|
77
133
|
scope = new GPUEvaluationScope(this.device);
|
|
78
134
|
const retain = (evaluator) => {
|
|
@@ -80,6 +136,11 @@ export class CompiledGPUSimpleExpressionGraph {
|
|
|
80
136
|
return evaluator;
|
|
81
137
|
};
|
|
82
138
|
for (const operation of this.program.operations) {
|
|
139
|
+
if (operation instanceof GPUShaderPassOperation) {
|
|
140
|
+
assert(scope);
|
|
141
|
+
shaderPasses.get(operation).encode(scope.commandEncoder);
|
|
142
|
+
continue;
|
|
143
|
+
}
|
|
83
144
|
if (operation instanceof GPUUploadOperation || operation instanceof GPUCopyOperation) {
|
|
84
145
|
if (operation instanceof GPUCopyOperation &&
|
|
85
146
|
invocation.textures?.values.has(operation.input)) {
|
|
@@ -258,6 +319,8 @@ export class CompiledGPUSimpleExpressionGraph {
|
|
|
258
319
|
throw error;
|
|
259
320
|
}
|
|
260
321
|
finally {
|
|
322
|
+
for (const pass of shaderPasses?.values() ?? [])
|
|
323
|
+
pass.destroy();
|
|
261
324
|
for (const evaluator of evaluators)
|
|
262
325
|
evaluator.destroy();
|
|
263
326
|
for (const buffer of scalarBuffers)
|
|
@@ -268,8 +331,25 @@ export class CompiledGPUSimpleExpressionGraph {
|
|
|
268
331
|
destroy() {
|
|
269
332
|
// A running program owns evaluator resources until execution finishes.
|
|
270
333
|
assert(!this.running);
|
|
334
|
+
this.cpuExecution?.destroy();
|
|
335
|
+
for (const kernel of this.shaderPasses.values())
|
|
336
|
+
kernel.destroy();
|
|
337
|
+
this.shaderPasses.clear();
|
|
271
338
|
this.destroyed = true;
|
|
272
339
|
}
|
|
340
|
+
prepareShaderPasses(invocation) {
|
|
341
|
+
const passes = new Map();
|
|
342
|
+
try {
|
|
343
|
+
for (const [operation, kernel] of this.shaderPasses)
|
|
344
|
+
passes.set(operation, kernel.prepare(invocation.textures.values, invocation.values));
|
|
345
|
+
return passes;
|
|
346
|
+
}
|
|
347
|
+
catch (error) {
|
|
348
|
+
for (const pass of passes.values())
|
|
349
|
+
pass.destroy();
|
|
350
|
+
throw error;
|
|
351
|
+
}
|
|
352
|
+
}
|
|
273
353
|
}
|
|
274
354
|
/** Keep graph scalar arithmetic on the GPU with the same float32 boundaries as vectors. */
|
|
275
355
|
class GPUExpressionArithmeticOperation extends ArithmeticOperation {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compiled-gpu-expression-graph.js","sourceRoot":"","sources":["../../src/gpu-simple-graph/compiled-gpu-expression-graph.ts"],"names":[],"mappings":"AAAA,UAAU;AACV,+BAA+B;AAC/B,4DAA4D;AAE5D,OAAO,EAAC,MAAM,EAAE,MAAM,EAAmC,MAAM,eAAe,CAAC;AAC/E,OAAO,EACL,gBAAgB,EAChB,kBAAkB,EAClB,OAAO,EACP,UAAU,EACX,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACL,mBAAmB,EAGpB,6CAA0C;AAG3C,OAAO,EACL,sBAAsB,EACtB,uBAAuB,EACvB,sBAAsB,EACtB,0BAA0B,EAE3B,gDAA6C;AAC9C,OAAO,EACL,oBAAoB,EAKrB,2CAAwC;AAEzC,OAAO,EA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AAS,CAAC,eAAe,CAAC;wBACxB,MAAM,EAAE,YAAY;wBACpB,UAAU,EAAE,KAAK,CAAC,UAAU;wBAC5B,UAAU,EAAE,KAAK,CAAC,UAAU;qBAC7B,CAAC,CAAC;oBACH,IAAI,KAAK;wBAAE,MAAM,KAAK,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;;wBACtC,MAAM,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;gBAC7C,CAAC;YACH,CAAC;YACD,KAAK,EAAE,MAAM,EAAE,CAAC;YAChB,OAAO,UAAU,CAAC,MAAM,EAAW,CAAC;QACtC,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,KAAK,EAAE,MAAM,EAAE,CAAC;YAChB,UAAU,EAAE,OAAO,EAAE,CAAC;YACtB,MAAM,KAAK,CAAC;QACd,CAAC;gBAAS,CAAC;YACT,KAAK,MAAM,SAAS,IAAI,UAAU;gBAAE,SAAS,CAAC,OAAO,EAAE,CAAC;YACxD,KAAK,MAAM,MAAM,IAAI,aAAa;gBAAE,MAAM,CAAC,OAAO,EAAE,CAAC;YACrD,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;QACvB,CAAC;IACH,CAAC;IAED,OAAO;QACL,uEAAuE;QACvE,MAAM,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACtB,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;IACxB,CAAC;CACF;AAED,2FAA2F;AAC3F,MAAM,gCAAiC,SAAQ,mBAAmB;IAC7C,kBAAkB;QACnC,OAAO,KAAK,CAAC;IACf,CAAC;CACF"}
|
|
1
|
+
{"version":3,"file":"compiled-gpu-expression-graph.js","sourceRoot":"","sources":["../../src/gpu-simple-graph/compiled-gpu-expression-graph.ts"],"names":[],"mappings":"AAAA,UAAU;AACV,+BAA+B;AAC/B,4DAA4D;AAE5D,OAAO,EAAC,MAAM,EAAE,MAAM,EAAmC,MAAM,eAAe,CAAC;AAC/E,OA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