@luma.gl/graph 10.0.0-beta.1 → 10.0.0-beta.3
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/dist/arrow/gpu/arrow-gpu-analytics-adapters.cjs +22 -9
- package/dist/arrow/gpu/arrow-gpu-analytics-adapters.d.ts +11 -2
- package/dist/arrow/gpu/arrow-gpu-analytics-adapters.d.ts.map +1 -1
- package/dist/arrow/gpu/arrow-gpu-analytics-adapters.js +27 -10
- package/dist/arrow/gpu/arrow-gpu-analytics-adapters.js.map +1 -1
- package/dist/arrow/gpu/arrow-gpu-analytics-readback.cjs +24 -13
- package/dist/arrow/gpu/arrow-gpu-analytics-readback.d.ts +9 -1
- package/dist/arrow/gpu/arrow-gpu-analytics-readback.d.ts.map +1 -1
- package/dist/arrow/gpu/arrow-gpu-analytics-readback.js +41 -14
- package/dist/arrow/gpu/arrow-gpu-analytics-readback.js.map +1 -1
- package/dist/arrow/gpu/arrow-gpu-table-conversion.cjs +24 -1
- package/dist/arrow/gpu/arrow-gpu-table-conversion.d.ts +10 -1
- package/dist/arrow/gpu/arrow-gpu-table-conversion.d.ts.map +1 -1
- package/dist/arrow/gpu/arrow-gpu-table-conversion.js +29 -1
- package/dist/arrow/gpu/arrow-gpu-table-conversion.js.map +1 -1
- package/dist/arrow/index.cjs +2 -0
- package/dist/arrow/index.cjs.map +3 -3
- package/dist/arrow/index.d.ts +1 -1
- package/dist/arrow/index.d.ts.map +1 -1
- package/dist/arrow/index.js +1 -1
- package/dist/arrow/index.js.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/gpu-core/gpu-bvh-bounds.cjs +63 -0
- package/dist/gpu-core/gpu-bvh-bounds.d.ts +32 -0
- package/dist/gpu-core/gpu-bvh-bounds.d.ts.map +1 -0
- package/dist/gpu-core/gpu-bvh-bounds.js +56 -0
- package/dist/gpu-core/gpu-bvh-bounds.js.map +1 -0
- package/dist/gpu-core/gpu-command-graph-submission-pacer.cjs +92 -0
- package/dist/gpu-core/gpu-command-graph-submission-pacer.d.ts +41 -0
- package/dist/gpu-core/gpu-command-graph-submission-pacer.d.ts.map +1 -0
- package/dist/gpu-core/gpu-command-graph-submission-pacer.js +85 -0
- package/dist/gpu-core/gpu-command-graph-submission-pacer.js.map +1 -0
- package/dist/gpu-core/index.cjs +6 -0
- package/dist/gpu-core/index.cjs.map +3 -3
- package/dist/gpu-core/index.d.ts +4 -0
- package/dist/gpu-core/index.d.ts.map +1 -1
- package/dist/gpu-core/index.js +2 -0
- package/dist/gpu-core/index.js.map +1 -1
- package/dist/gpu-dataframe/gpu-analytics-compiler-utils.cjs +6 -6
- package/dist/gpu-dataframe/gpu-analytics-compiler-utils.d.ts +1 -1
- package/dist/gpu-dataframe/gpu-analytics-compiler-utils.d.ts.map +1 -1
- package/dist/gpu-dataframe/gpu-analytics-compiler-utils.js +6 -6
- package/dist/gpu-dataframe/gpu-analytics-compiler-utils.js.map +1 -1
- package/dist/gpu-dataframe/gpu-data-frame-query.cjs +60 -15
- package/dist/gpu-dataframe/gpu-data-frame-query.d.ts +13 -2
- package/dist/gpu-dataframe/gpu-data-frame-query.d.ts.map +1 -1
- package/dist/gpu-dataframe/gpu-data-frame-query.js +69 -18
- package/dist/gpu-dataframe/gpu-data-frame-query.js.map +1 -1
- package/dist/gpu-dataframe/gpu-data-frame.cjs +1 -3
- package/dist/gpu-dataframe/gpu-data-frame.d.ts +10 -0
- package/dist/gpu-dataframe/gpu-data-frame.d.ts.map +1 -1
- package/dist/gpu-dataframe/gpu-data-frame.js +1 -3
- package/dist/gpu-dataframe/gpu-data-frame.js.map +1 -1
- package/dist/gpu-dataframe/gpu-expression-shader.cjs +157 -25
- package/dist/gpu-dataframe/gpu-expression-shader.d.ts +9 -5
- package/dist/gpu-dataframe/gpu-expression-shader.d.ts.map +1 -1
- package/dist/gpu-dataframe/gpu-expression-shader.js +184 -25
- package/dist/gpu-dataframe/gpu-expression-shader.js.map +1 -1
- package/dist/gpu-dataframe/gpu-expression.cjs +100 -8
- package/dist/gpu-dataframe/gpu-expression.d.ts +35 -3
- package/dist/gpu-dataframe/gpu-expression.d.ts.map +1 -1
- package/dist/gpu-dataframe/gpu-expression.js +92 -6
- package/dist/gpu-dataframe/gpu-expression.js.map +1 -1
- package/dist/gpu-dataframe/gpu-global-aggregation-compiler.cjs +2 -3
- package/dist/gpu-dataframe/gpu-global-aggregation-compiler.d.ts.map +1 -1
- package/dist/gpu-dataframe/gpu-global-aggregation-compiler.js +4 -3
- package/dist/gpu-dataframe/gpu-global-aggregation-compiler.js.map +1 -1
- package/dist/gpu-dataframe/gpu-global-aggregation-query.cjs +4 -4
- package/dist/gpu-dataframe/gpu-global-aggregation-query.d.ts +5 -1
- package/dist/gpu-dataframe/gpu-global-aggregation-query.d.ts.map +1 -1
- package/dist/gpu-dataframe/gpu-global-aggregation-query.js +11 -5
- package/dist/gpu-dataframe/gpu-global-aggregation-query.js.map +1 -1
- package/dist/gpu-dataframe/gpu-global-sort-compiler.cjs +136 -99
- package/dist/gpu-dataframe/gpu-global-sort-compiler.d.ts +7 -2
- package/dist/gpu-dataframe/gpu-global-sort-compiler.d.ts.map +1 -1
- package/dist/gpu-dataframe/gpu-global-sort-compiler.js +135 -97
- package/dist/gpu-dataframe/gpu-global-sort-compiler.js.map +1 -1
- package/dist/gpu-dataframe/gpu-group-aggregation-compiler.cjs +286 -49
- package/dist/gpu-dataframe/gpu-group-aggregation-compiler.d.ts +17 -2
- package/dist/gpu-dataframe/gpu-group-aggregation-compiler.d.ts.map +1 -1
- package/dist/gpu-dataframe/gpu-group-aggregation-compiler.js +290 -40
- package/dist/gpu-dataframe/gpu-group-aggregation-compiler.js.map +1 -1
- package/dist/gpu-dataframe/gpu-group-by-query.cjs +10 -8
- package/dist/gpu-dataframe/gpu-group-by-query.d.ts +7 -1
- package/dist/gpu-dataframe/gpu-group-by-query.d.ts.map +1 -1
- package/dist/gpu-dataframe/gpu-group-by-query.js +14 -8
- 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 +8 -8
- package/dist/gpu-dataframe/gpu-join-compiler.d.ts +1 -1
- package/dist/gpu-dataframe/gpu-join-compiler.d.ts.map +1 -1
- package/dist/gpu-dataframe/gpu-join-compiler.js +9 -9
- package/dist/gpu-dataframe/gpu-join-compiler.js.map +1 -1
- package/dist/gpu-dataframe/gpu-query-compiler.cjs +38 -10
- package/dist/gpu-dataframe/gpu-query-compiler.d.ts +3 -2
- package/dist/gpu-dataframe/gpu-query-compiler.d.ts.map +1 -1
- package/dist/gpu-dataframe/gpu-query-compiler.js +37 -9
- 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 +12 -2
- package/dist/gpu-dataframe/index.cjs.map +3 -3
- package/dist/gpu-dataframe/index.d.ts +3 -3
- package/dist/gpu-dataframe/index.d.ts.map +1 -1
- package/dist/gpu-dataframe/index.js +2 -2
- package/dist/gpu-dataframe/index.js.map +1 -1
- package/dist/gpu-dataframe/portable-expression.cjs +68 -4
- package/dist/gpu-dataframe/portable-expression.d.ts +3 -1
- package/dist/gpu-dataframe/portable-expression.d.ts.map +1 -1
- package/dist/gpu-dataframe/portable-expression.js +69 -5
- package/dist/gpu-dataframe/portable-expression.js.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-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-physics/gpu-physics-batch.cjs +11 -10
- package/dist/gpu-physics/gpu-physics-batch.d.ts +1 -0
- package/dist/gpu-physics/gpu-physics-batch.d.ts.map +1 -1
- package/dist/gpu-physics/gpu-physics-batch.js +14 -10
- package/dist/gpu-physics/gpu-physics-batch.js.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 +105 -8
- package/dist/gpu-physics/gpu-physics-ensemble.d.ts +40 -2
- package/dist/gpu-physics/gpu-physics-ensemble.d.ts.map +1 -1
- package/dist/gpu-physics/gpu-physics-ensemble.js +109 -6
- package/dist/gpu-physics/gpu-physics-ensemble.js.map +1 -1
- package/dist/gpu-physics/gpu-rigid-body-world.cjs +737 -213
- package/dist/gpu-physics/gpu-rigid-body-world.d.ts +111 -5
- package/dist/gpu-physics/gpu-rigid-body-world.d.ts.map +1 -1
- package/dist/gpu-physics/gpu-rigid-body-world.js +842 -231
- 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 +10 -3
- 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-cache-shaders.cjs +10 -6
- package/dist/gpu-physics/rigid-body-cache-shaders.d.ts +2 -1
- package/dist/gpu-physics/rigid-body-cache-shaders.d.ts.map +1 -1
- package/dist/gpu-physics/rigid-body-cache-shaders.js +15 -6
- package/dist/gpu-physics/rigid-body-cache-shaders.js.map +1 -1
- package/dist/gpu-physics/rigid-body-capacity.cjs +15 -2
- package/dist/gpu-physics/rigid-body-capacity.d.ts +3 -1
- package/dist/gpu-physics/rigid-body-capacity.d.ts.map +1 -1
- package/dist/gpu-physics/rigid-body-capacity.js +21 -2
- package/dist/gpu-physics/rigid-body-capacity.js.map +1 -1
- package/dist/gpu-physics/rigid-body-cast-index.cjs +192 -0
- package/dist/gpu-physics/rigid-body-cast-index.d.ts +44 -0
- package/dist/gpu-physics/rigid-body-cast-index.d.ts.map +1 -0
- package/dist/gpu-physics/rigid-body-cast-index.js +194 -0
- package/dist/gpu-physics/rigid-body-cast-index.js.map +1 -0
- 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-layout.cjs +4 -2
- package/dist/gpu-physics/rigid-body-ensemble-layout.d.ts +2 -1
- package/dist/gpu-physics/rigid-body-ensemble-layout.d.ts.map +1 -1
- package/dist/gpu-physics/rigid-body-ensemble-layout.js +5 -2
- package/dist/gpu-physics/rigid-body-ensemble-layout.js.map +1 -1
- package/dist/gpu-physics/rigid-body-ensemble-reset.cjs +45 -14
- 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 +53 -14
- package/dist/gpu-physics/rigid-body-ensemble-reset.js.map +1 -1
- package/dist/gpu-physics/rigid-body-ensemble-shaders.cjs +14 -7
- package/dist/gpu-physics/rigid-body-ensemble-shaders.d.ts +5 -0
- package/dist/gpu-physics/rigid-body-ensemble-shaders.d.ts.map +1 -1
- package/dist/gpu-physics/rigid-body-ensemble-shaders.js +17 -7
- package/dist/gpu-physics/rigid-body-ensemble-shaders.js.map +1 -1
- package/dist/gpu-physics/rigid-body-ensemble-transaction.cjs +40 -8
- package/dist/gpu-physics/rigid-body-ensemble-transaction.d.ts +5 -2
- package/dist/gpu-physics/rigid-body-ensemble-transaction.d.ts.map +1 -1
- package/dist/gpu-physics/rigid-body-ensemble-transaction.js +49 -9
- package/dist/gpu-physics/rigid-body-ensemble-transaction.js.map +1 -1
- package/dist/gpu-physics/rigid-body-event-compaction.cjs +184 -0
- package/dist/gpu-physics/rigid-body-event-compaction.d.ts +35 -0
- package/dist/gpu-physics/rigid-body-event-compaction.d.ts.map +1 -0
- package/dist/gpu-physics/rigid-body-event-compaction.js +168 -0
- package/dist/gpu-physics/rigid-body-event-compaction.js.map +1 -0
- package/dist/gpu-physics/rigid-body-event-snapshot.cjs +51 -0
- package/dist/gpu-physics/rigid-body-event-snapshot.d.ts +33 -0
- package/dist/gpu-physics/rigid-body-event-snapshot.d.ts.map +1 -0
- package/dist/gpu-physics/rigid-body-event-snapshot.js +34 -0
- package/dist/gpu-physics/rigid-body-event-snapshot.js.map +1 -0
- package/dist/gpu-physics/rigid-body-events.cjs +57 -25
- package/dist/gpu-physics/rigid-body-events.d.ts +2 -1
- package/dist/gpu-physics/rigid-body-events.d.ts.map +1 -1
- package/dist/gpu-physics/rigid-body-events.js +60 -25
- package/dist/gpu-physics/rigid-body-events.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-joints.cjs +8 -3
- package/dist/gpu-physics/rigid-body-joints.d.ts.map +1 -1
- package/dist/gpu-physics/rigid-body-joints.js +10 -6
- package/dist/gpu-physics/rigid-body-joints.js.map +1 -1
- 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-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-queries.cjs +159 -16
- package/dist/gpu-physics/rigid-body-queries.d.ts +24 -1
- package/dist/gpu-physics/rigid-body-queries.d.ts.map +1 -1
- package/dist/gpu-physics/rigid-body-queries.js +166 -14
- package/dist/gpu-physics/rigid-body-queries.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 +13 -7
- 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 +16 -8
- 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 +54 -15
- package/dist/gpu-physics/rigid-body-triggers.d.ts +1 -0
- package/dist/gpu-physics/rigid-body-triggers.d.ts.map +1 -1
- package/dist/gpu-physics/rigid-body-triggers.js +56 -15
- package/dist/gpu-physics/rigid-body-triggers.js.map +1 -1
- package/dist/gpu-physics/rigid-body-vehicle.cjs +99 -44
- package/dist/gpu-physics/rigid-body-vehicle.d.ts +15 -3
- package/dist/gpu-physics/rigid-body-vehicle.d.ts.map +1 -1
- package/dist/gpu-physics/rigid-body-vehicle.js +93 -40
- package/dist/gpu-physics/rigid-body-vehicle.js.map +1 -1
- package/dist/gpu-physics/sphere-world-shaders.cjs +48 -20
- package/dist/gpu-physics/sphere-world-shaders.d.ts.map +1 -1
- package/dist/gpu-physics/sphere-world-shaders.js +51 -21
- package/dist/gpu-physics/sphere-world-shaders.js.map +1 -1
- package/dist/gpu-project/benchmarks.cjs.map +2 -2
- package/dist/gpu-project/cpu-geometry-pipelines.d.ts +1 -1
- package/dist/gpu-project/cpu-projection-operation.d.ts +1 -1
- package/dist/gpu-project/crs.cjs.map +3 -3
- package/dist/gpu-project/crs.d.ts +1 -1
- package/dist/gpu-project/index.cjs.map +2 -2
- 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/projection-program.cjs +2 -9
- package/dist/gpu-project/projection-program.d.ts.map +1 -1
- package/dist/gpu-project/projection-program.js +1 -8
- package/dist/gpu-project/projection-program.js.map +1 -1
- 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/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/operation/gpu-data-evaluator.d.ts +1 -1
- package/dist/gpu-simple-graph/operation/gpu-data-evaluator.d.ts.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-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 +269 -171
- package/dist/gpu-sql/gpu-sql.d.ts +36 -1
- package/dist/gpu-sql/gpu-sql.d.ts.map +1 -1
- package/dist/gpu-sql/gpu-sql.js +313 -181
- package/dist/gpu-sql/gpu-sql.js.map +1 -1
- package/dist/gpu-sql/index.cjs.map +3 -3
- package/dist/gpu-sql/index.d.ts +1 -1
- package/dist/gpu-sql/index.d.ts.map +1 -1
- package/dist/utils/float32.cjs +35 -0
- package/dist/utils/float32.d.ts +3 -0
- package/dist/utils/float32.d.ts.map +1 -0
- package/dist/utils/float32.js +16 -0
- package/dist/utils/float32.js.map +1 -0
- package/package.json +19 -19
- package/src/arrow/gpu/arrow-gpu-analytics-adapters.ts +77 -25
- package/src/arrow/gpu/arrow-gpu-analytics-readback.ts +52 -16
- package/src/arrow/gpu/arrow-gpu-table-conversion.ts +46 -1
- package/src/arrow/index.ts +1 -0
- package/src/experimental-models.ts +5 -0
- package/src/experimental-simulation.ts +5 -0
- package/src/gpu-core/gpu-bvh-bounds.ts +84 -0
- package/src/gpu-core/gpu-command-graph-submission-pacer.ts +102 -0
- package/src/gpu-core/index.ts +5 -0
- package/src/gpu-dataframe/gpu-analytics-compiler-utils.ts +7 -10
- package/src/gpu-dataframe/gpu-data-frame-query.ts +119 -25
- package/src/gpu-dataframe/gpu-data-frame.ts +35 -2
- package/src/gpu-dataframe/gpu-expression-shader.ts +267 -32
- package/src/gpu-dataframe/gpu-expression.ts +186 -10
- package/src/gpu-dataframe/gpu-global-aggregation-compiler.ts +6 -3
- package/src/gpu-dataframe/gpu-global-aggregation-query.ts +17 -6
- package/src/gpu-dataframe/gpu-global-sort-compiler.ts +177 -105
- package/src/gpu-dataframe/gpu-group-aggregation-compiler.ts +469 -53
- package/src/gpu-dataframe/gpu-group-by-query.ts +29 -13
- package/src/gpu-dataframe/gpu-histogram-compiler.ts +0 -1
- package/src/gpu-dataframe/gpu-join-compiler.ts +12 -8
- package/src/gpu-dataframe/gpu-query-compiler.ts +61 -19
- 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 +16 -3
- package/src/gpu-dataframe/portable-expression.ts +81 -4
- package/src/gpu-dggs-benchmarks.ts +5 -0
- package/src/gpu-graph-algorithms-benchmarks.ts +5 -0
- package/src/gpu-physics/gpu-physics-batch.ts +19 -13
- package/src/gpu-physics/gpu-physics-ensemble-terrain.ts +114 -0
- package/src/gpu-physics/gpu-physics-ensemble.ts +166 -7
- package/src/gpu-physics/gpu-rigid-body-world.ts +1085 -287
- package/src/gpu-physics/index.ts +46 -0
- package/src/gpu-physics/rigid-body-bounds-shaders.ts +16 -1
- package/src/gpu-physics/rigid-body-cache-shaders.ts +18 -6
- package/src/gpu-physics/rigid-body-capacity.ts +25 -4
- package/src/gpu-physics/rigid-body-cast-index.ts +277 -0
- package/src/gpu-physics/rigid-body-convex-shaders.ts +3 -2
- package/src/gpu-physics/rigid-body-ensemble-layout.ts +6 -2
- package/src/gpu-physics/rigid-body-ensemble-reset.ts +67 -15
- package/src/gpu-physics/rigid-body-ensemble-shaders.ts +18 -7
- package/src/gpu-physics/rigid-body-ensemble-transaction.ts +61 -10
- package/src/gpu-physics/rigid-body-event-compaction.ts +252 -0
- package/src/gpu-physics/rigid-body-event-snapshot.ts +76 -0
- package/src/gpu-physics/rigid-body-events.ts +63 -25
- 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-joints.ts +9 -11
- 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-properties.ts +5 -2
- package/src/gpu-physics/rigid-body-publication.ts +1 -1
- package/src/gpu-physics/rigid-body-queries.ts +202 -14
- package/src/gpu-physics/rigid-body-query-geometry.ts +22 -4
- package/src/gpu-physics/rigid-body-shaders.ts +20 -8
- 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 +65 -20
- package/src/gpu-physics/rigid-body-vehicle.ts +108 -41
- package/src/gpu-physics/sphere-world-shaders.ts +53 -21
- package/src/gpu-project/README.md +2 -2
- package/src/gpu-project/cpu-geometry-pipelines.ts +1 -1
- package/src/gpu-project/cpu-projection-operation.ts +1 -1
- package/src/gpu-project/crs.ts +2 -2
- 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/projection-program.ts +1 -9
- 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/gpu-simple-graph-transfer.ts +1 -1
- package/src/gpu-simple-graph/gpu-simple-graph-value.ts +1 -1
- package/src/gpu-simple-graph/operation/gpu-data-evaluator.ts +1 -1
- package/src/gpu-simple-graph/operation/operation.ts +1 -1
- package/src/gpu-simple-graph/operations/swizzle.ts +1 -1
- 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 +535 -223
- package/src/gpu-sql/index.ts +1 -1
- package/src/utils/float32.ts +16 -0
|
@@ -18,7 +18,8 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
18
18
|
var gpu_group_aggregation_compiler_exports = {};
|
|
19
19
|
__export(gpu_group_aggregation_compiler_exports, {
|
|
20
20
|
CompiledGPUDataFrameGroupedAggregation: () => CompiledGPUDataFrameGroupedAggregation,
|
|
21
|
-
compileGPUDataFrameGroupedAggregation: () => compileGPUDataFrameGroupedAggregation
|
|
21
|
+
compileGPUDataFrameGroupedAggregation: () => compileGPUDataFrameGroupedAggregation,
|
|
22
|
+
compileGPUDataFrameObservedAggregation: () => compileGPUDataFrameObservedAggregation
|
|
22
23
|
});
|
|
23
24
|
module.exports = __toCommonJS(gpu_group_aggregation_compiler_exports);
|
|
24
25
|
var import_core = require("@luma.gl/core");
|
|
@@ -27,12 +28,13 @@ var import_gpu_tables = require("@luma.gl/graph/gpu-tables");
|
|
|
27
28
|
var import_gpu_core = require("@luma.gl/graph/gpu-core");
|
|
28
29
|
var import_gpu_core2 = require("@luma.gl/graph/gpu-core");
|
|
29
30
|
var import_gpu_core3 = require("@luma.gl/graph/gpu-core");
|
|
31
|
+
var import_gpu_core4 = require("@luma.gl/graph/gpu-core");
|
|
30
32
|
var import_gpu_analytics_compiler_utils = require("./gpu-analytics-compiler-utils.cjs");
|
|
31
33
|
var import_gpu_query_compiler = require("./gpu-query-compiler.cjs");
|
|
32
34
|
const UINT32_BYTE_LENGTH = Uint32Array.BYTES_PER_ELEMENT;
|
|
33
35
|
const MAXIMUM_UINT32 = 4294967295;
|
|
34
36
|
class CompiledGPUDataFrameGroupedAggregation extends import_gpu_query_compiler.CompiledGPUDataFrameQuery {
|
|
35
|
-
/**
|
|
37
|
+
/** Result table capacity. Observed grouping publishes the actual count in selectedCounts. */
|
|
36
38
|
groupCount;
|
|
37
39
|
/** @internal */
|
|
38
40
|
constructor(props, groupCount) {
|
|
@@ -40,18 +42,25 @@ class CompiledGPUDataFrameGroupedAggregation extends import_gpu_query_compiler.C
|
|
|
40
42
|
this.groupCount = groupCount;
|
|
41
43
|
}
|
|
42
44
|
}
|
|
43
|
-
function
|
|
45
|
+
function compileGPUDataFrameObservedAggregation(source, predicates, selectedColumns, derivedColumns, keys, definitions, graph, columns) {
|
|
46
|
+
if (source.numRows > 0)
|
|
47
|
+
validateGPUGroupingCapacity(source, source.numRows, graph);
|
|
48
|
+
validateGPUGroupingSourceColumns(source, keys.map((key) => key.source), definitions);
|
|
49
|
+
return (0, import_gpu_query_compiler.compileGPUDataFrameQuery)(source, predicates, selectedColumns, graph, derivedColumns, {
|
|
50
|
+
prepare: (context) => addGPUGroupedAggregationToGraph(context, keys, source.numRows, definitions, columns, true)
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
function compileGPUDataFrameGroupedAggregation(source, predicates, selectedColumns, derivedColumns, key, groupCount, definitions, graph, projection) {
|
|
44
54
|
validateGPUGroupingCapacity(source, groupCount, graph);
|
|
45
|
-
validateGPUGroupingSourceColumns(source, key, definitions);
|
|
55
|
+
validateGPUGroupingSourceColumns(source, [key], definitions);
|
|
46
56
|
return (0, import_gpu_query_compiler.compileGPUDataFrameQuery)(source, predicates, selectedColumns, graph, derivedColumns, {
|
|
47
|
-
|
|
48
|
-
prepare: (context) => addGPUGroupedAggregationToGraph(context, key, groupCount, definitions)
|
|
57
|
+
prepare: (context) => addGPUGroupedAggregationToGraph(context, [{ source: key, output: (projection == null ? void 0 : projection.key) ?? key }], groupCount, definitions, projection == null ? void 0 : projection.columns)
|
|
49
58
|
});
|
|
50
59
|
}
|
|
51
|
-
function validateGPUGroupingSourceColumns(source,
|
|
60
|
+
function validateGPUGroupingSourceColumns(source, keys, definitions) {
|
|
52
61
|
const columnNames = /* @__PURE__ */ new Set([
|
|
53
|
-
|
|
54
|
-
...definitions.flatMap((definition) => definition.column ? [definition.column] : [])
|
|
62
|
+
...keys,
|
|
63
|
+
...definitions.flatMap((definition) => definition.operation !== "count" && definition.column ? [definition.column] : [])
|
|
55
64
|
]);
|
|
56
65
|
for (const name of columnNames) {
|
|
57
66
|
if (source.table.gpuConstants[name]) {
|
|
@@ -76,34 +85,67 @@ function validateGPUGroupingCapacity(source, groupCount, graph) {
|
|
|
76
85
|
throw new Error("GPUDataFrame group count exceeds the available GPU buffer capacity");
|
|
77
86
|
}
|
|
78
87
|
}
|
|
79
|
-
function addGPUGroupedAggregationToGraph(context,
|
|
88
|
+
function addGPUGroupedAggregationToGraph(context, groupingKeys, groupCount, definitions, columns, observed = false) {
|
|
80
89
|
const graph = context.graph;
|
|
81
90
|
const prefix = `${context.queryId}-group`;
|
|
82
91
|
const ownedVectors = [];
|
|
83
92
|
let resultTable;
|
|
84
93
|
try {
|
|
85
|
-
const
|
|
86
|
-
const keys = graph.importGPUVector(`${prefix}-keys`, sourceKeys);
|
|
87
|
-
const keyValidity = getGPUGroupingValidity(context, key, keys);
|
|
88
|
-
const baseMask = keyValidity ? combineGPUGroupingMasks(graph, `${prefix}-key-validity`, context.selectionMask, keyValidity) : context.selectionMask;
|
|
94
|
+
const inputs = groupingKeys.map(({ source }, index) => graph.importGPUVector(`${prefix}-key-${index}`, getGPUGroupingVector(context, source, observed ? getGPUGroupingFormat(context.table, source) : "uint32")));
|
|
89
95
|
const outputVectors = /* @__PURE__ */ new Map();
|
|
90
|
-
const
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
+
const outputs = groupingKeys.map(({ output }, index) => {
|
|
97
|
+
if (output === void 0)
|
|
98
|
+
return void 0;
|
|
99
|
+
const vector = createGPUGroupedOutputVector(graph.device, `${prefix}-output-key-${index}`, groupCount, inputs[index].format);
|
|
100
|
+
ownedVectors.push(vector);
|
|
101
|
+
outputVectors.set(output, vector);
|
|
102
|
+
return graph.importGPUVector(`${prefix}-output-key-view-${index}`, vector).data[0];
|
|
103
|
+
});
|
|
104
|
+
const keyValidity = observed ? void 0 : getGPUGroupingValidity(context, groupingKeys[0].source, inputs[0]);
|
|
105
|
+
const baseMask = keyValidity ? combineGPUGroupingMasks(graph, `${prefix}-key-validity`, context.selectionMask, keyValidity) : context.selectionMask;
|
|
96
106
|
const validity = {};
|
|
107
|
+
const nullableKeys = observed ? groupingKeys.map(({ source, output }, index) => {
|
|
108
|
+
const field = context.table.schema.fields.find((field2) => field2.name === source);
|
|
109
|
+
if (!(field == null ? void 0 : field.nullable))
|
|
110
|
+
return void 0;
|
|
111
|
+
const input = getGPUGroupingValidity(context, source, inputs[index]);
|
|
112
|
+
if (output === void 0)
|
|
113
|
+
return { input };
|
|
114
|
+
const mask = createGPUGroupedOutputVector(graph.device, prefix + "-key-mask-" + index, groupCount, "uint32");
|
|
115
|
+
ownedVectors.push(mask);
|
|
116
|
+
validity[output] = mask;
|
|
117
|
+
return {
|
|
118
|
+
input,
|
|
119
|
+
output: graph.importGPUVector(prefix + "-key-mask-view-" + index, mask).data[0]
|
|
120
|
+
};
|
|
121
|
+
}) : [];
|
|
122
|
+
const rowSelection = observed ? addGPUObservedGroups(context, prefix, inputs, outputs, nullableKeys, ownedVectors) : void 0;
|
|
123
|
+
const keys = (rowSelection == null ? void 0 : rowSelection.keys) ?? inputs[0];
|
|
124
|
+
if (!observed)
|
|
125
|
+
addGPUGroupIdentityPass(graph, `${prefix}-output-key-identity`, outputs[0]);
|
|
126
|
+
const metricStates = /* @__PURE__ */ new Map();
|
|
97
127
|
for (const [definitionIndex, definition] of definitions.entries()) {
|
|
98
128
|
const metricId = `${prefix}-metric-${definitionIndex}`;
|
|
129
|
+
if (groupCount === 0) {
|
|
130
|
+
const format = definition.operation === "count" ? "uint32" : "float32";
|
|
131
|
+
const output2 = createGPUGroupedOutputVector(graph.device, metricId, 0, format);
|
|
132
|
+
ownedVectors.push(output2);
|
|
133
|
+
outputVectors.set(definition.name, output2);
|
|
134
|
+
if (definition.operation !== "count") {
|
|
135
|
+
const mask = createGPUGroupedOutputVector(graph.device, `${metricId}-validity`, 0, "uint32");
|
|
136
|
+
ownedVectors.push(mask);
|
|
137
|
+
validity[definition.name] = mask;
|
|
138
|
+
}
|
|
139
|
+
continue;
|
|
140
|
+
}
|
|
99
141
|
if (definition.operation === "count") {
|
|
100
142
|
const output2 = createGPUGroupedOutputVector(graph.device, metricId, groupCount, "uint32");
|
|
101
143
|
ownedVectors.push(output2);
|
|
102
144
|
outputVectors.set(definition.name, output2);
|
|
103
|
-
graph.add(new
|
|
145
|
+
graph.add(new import_gpu_core2.GPUGroupAggregation({
|
|
104
146
|
id: metricId,
|
|
105
147
|
keys,
|
|
106
|
-
mask: baseMask,
|
|
148
|
+
mask: definition.column ? (0, import_gpu_analytics_compiler_utils.getGPUAnalyticsSelectionMask)(context, definition.column, metricId, baseMask) : baseMask,
|
|
107
149
|
output: graph.importGPUVector(`${metricId}-output`, output2).data[0],
|
|
108
150
|
operation: "count"
|
|
109
151
|
}));
|
|
@@ -122,7 +164,7 @@ function addGPUGroupedAggregationToGraph(context, key, groupCount, definitions)
|
|
|
122
164
|
ownedVectors.push(output);
|
|
123
165
|
outputVectors.set(definition.name, output);
|
|
124
166
|
validity[definition.name] = state.validity;
|
|
125
|
-
graph.add(new
|
|
167
|
+
graph.add(new import_gpu_core2.GPUGroupAggregation({
|
|
126
168
|
id: metricId,
|
|
127
169
|
keys,
|
|
128
170
|
values: state.values,
|
|
@@ -131,16 +173,31 @@ function addGPUGroupedAggregationToGraph(context, key, groupCount, definitions)
|
|
|
131
173
|
operation: definition.operation
|
|
132
174
|
}));
|
|
133
175
|
}
|
|
134
|
-
resultTable = createGPUGroupedResultTable(context.table,
|
|
135
|
-
const
|
|
136
|
-
|
|
176
|
+
resultTable = createGPUGroupedResultTable(context.table, groupingKeys, definitions, outputVectors, columns, observed);
|
|
177
|
+
const dictionaries = Object.freeze(Object.fromEntries(groupingKeys.flatMap(({ source, output }) => {
|
|
178
|
+
if (output === void 0)
|
|
179
|
+
return [];
|
|
180
|
+
const dictionary = context.dictionaries[source];
|
|
181
|
+
return dictionary ? [[output, dictionary]] : [];
|
|
182
|
+
})));
|
|
137
183
|
return {
|
|
138
184
|
table: resultTable,
|
|
139
185
|
validity: Object.freeze(validity),
|
|
140
186
|
dictionaries,
|
|
141
187
|
ownedTables: [resultTable],
|
|
142
188
|
ownedVectors,
|
|
143
|
-
createCompiled: (props) => new CompiledGPUDataFrameGroupedAggregation(
|
|
189
|
+
createCompiled: (props) => new CompiledGPUDataFrameGroupedAggregation(rowSelection ? {
|
|
190
|
+
...props,
|
|
191
|
+
rowIndices: rowSelection.rows,
|
|
192
|
+
selectedCounts: rowSelection.count,
|
|
193
|
+
selectionMask: rowSelection.mask,
|
|
194
|
+
ownedVectors: [
|
|
195
|
+
...(props.ownedVectors ?? []).filter((vector) => vector !== rowSelection.rows && vector !== rowSelection.mask && vector !== rowSelection.count),
|
|
196
|
+
props.rowIndices,
|
|
197
|
+
props.selectedCounts,
|
|
198
|
+
props.selectionMask
|
|
199
|
+
]
|
|
200
|
+
} : props, groupCount)
|
|
144
201
|
};
|
|
145
202
|
} catch (error) {
|
|
146
203
|
resultTable == null ? void 0 : resultTable.destroy();
|
|
@@ -150,6 +207,179 @@ function addGPUGroupedAggregationToGraph(context, key, groupCount, definitions)
|
|
|
150
207
|
throw error;
|
|
151
208
|
}
|
|
152
209
|
}
|
|
210
|
+
function addGPUObservedGroups(context, prefix, inputs, outputs, nullableKeys, ownedVectors) {
|
|
211
|
+
var _a, _b, _c;
|
|
212
|
+
const { graph, selectionMask } = context;
|
|
213
|
+
const length = selectionMask.length;
|
|
214
|
+
const allocate = (name, size) => {
|
|
215
|
+
const vector = createGPUGroupedOutputVector(graph.device, prefix + name, size, "uint32");
|
|
216
|
+
ownedVectors.push(vector);
|
|
217
|
+
return vector;
|
|
218
|
+
};
|
|
219
|
+
const rows = allocate("-result-rows", length);
|
|
220
|
+
const mask = allocate("-result-mask", length);
|
|
221
|
+
const count = allocate("-result-count", 1);
|
|
222
|
+
const countView = graph.importGPUVector(prefix + "-count-view", count).data[0];
|
|
223
|
+
if (length === 0) {
|
|
224
|
+
addGPUGroupingPass(graph, prefix + "-empty", 1, {}, { count: countView }, "count[0] = 0u;");
|
|
225
|
+
return { keys: selectionMask, rows, count, mask };
|
|
226
|
+
}
|
|
227
|
+
const words = (view) => {
|
|
228
|
+
const packed = graph.createDataView(view.buffer, {
|
|
229
|
+
format: "uint32",
|
|
230
|
+
length: view.length,
|
|
231
|
+
byteOffset: view.byteOffset,
|
|
232
|
+
byteStride: view.byteStride
|
|
233
|
+
});
|
|
234
|
+
(0, import_gpu_core4.validatePackedUint32View)(packed, prefix + "-key");
|
|
235
|
+
return packed;
|
|
236
|
+
};
|
|
237
|
+
const scratch = (name) => (0, import_gpu_core2.createTransientView)(graph, prefix + name, "uint32", length);
|
|
238
|
+
const staged = inputs.map((input, index) => ({
|
|
239
|
+
input,
|
|
240
|
+
values: scratch("-values-" + index),
|
|
241
|
+
classes: scratch("-classes-" + index)
|
|
242
|
+
}));
|
|
243
|
+
const orders = [scratch("-order-a"), scratch("-order-b")];
|
|
244
|
+
const gathered = scratch("-gathered");
|
|
245
|
+
const sortedValues = scratch("-sorted-values");
|
|
246
|
+
const heads = scratch("-heads");
|
|
247
|
+
const ranks = scratch("-ranks");
|
|
248
|
+
const groupIds = scratch("-group-ids");
|
|
249
|
+
let offset = 0;
|
|
250
|
+
for (const [batchIndex, selection] of selectionMask.data.entries()) {
|
|
251
|
+
if (selection.length > 0) {
|
|
252
|
+
for (const [index, { input, values, classes }] of staged.entries()) {
|
|
253
|
+
const validity = (_b = (_a = nullableKeys[index]) == null ? void 0 : _a.input) == null ? void 0 : _b.data[batchIndex];
|
|
254
|
+
addGPUGroupingPass(graph, prefix + "-stage-" + batchIndex + "-" + index, selection.length, {
|
|
255
|
+
input: words(input.data[batchIndex]),
|
|
256
|
+
...index === 0 ? { selection } : {},
|
|
257
|
+
...validity ? { validity } : {}
|
|
258
|
+
}, { values, classes, ...index === 0 ? { ordinals: orders[0] } : {} }, `
|
|
259
|
+
let row = ${offset}u + index;
|
|
260
|
+
let raw = input[index];
|
|
261
|
+
let valid = ${validity ? "validity[index] != 0u" : "true"};
|
|
262
|
+
let category = ${index === 0 ? "select(2u, u32(!valid), selection[index] != 0u)" : "u32(!valid)"};
|
|
263
|
+
${input.format === "float32" ? `
|
|
264
|
+
let magnitude = raw & 0x7fffffffu;
|
|
265
|
+
let canonical = select(select(raw, 0u, magnitude == 0u), 0x7fc00000u, magnitude > 0x7f800000u);
|
|
266
|
+
` : "let canonical = raw;"}
|
|
267
|
+
values[row] = select(0u, canonical, valid);
|
|
268
|
+
classes[row] = category;
|
|
269
|
+
${index === 0 ? "ordinals[row] = row;" : ""}
|
|
270
|
+
`);
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
offset += selection.length;
|
|
274
|
+
}
|
|
275
|
+
let orderIndex = 0;
|
|
276
|
+
for (let index = staged.length - 1; index >= 0; index--) {
|
|
277
|
+
const { values, classes } = staged[index];
|
|
278
|
+
const sortKeys = index === 0 || nullableKeys[index] ? [values, classes] : [values];
|
|
279
|
+
for (const [passIndex, source] of sortKeys.entries()) {
|
|
280
|
+
const id = prefix + "-order-" + index + "-" + passIndex;
|
|
281
|
+
graph.add(new import_gpu_core2.GPUGather({ id: id + "-gather", source, indices: orders[orderIndex], output: gathered }));
|
|
282
|
+
graph.add(new import_gpu_core2.GPUSort({
|
|
283
|
+
id,
|
|
284
|
+
keys: gathered,
|
|
285
|
+
values: orders[orderIndex],
|
|
286
|
+
outputKeys: sortedValues,
|
|
287
|
+
outputValues: orders[1 - orderIndex]
|
|
288
|
+
}));
|
|
289
|
+
orderIndex = 1 - orderIndex;
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
const order = orders[orderIndex];
|
|
293
|
+
const first = staged[0];
|
|
294
|
+
for (const [index, { values, classes }] of staged.entries()) {
|
|
295
|
+
const firstKey = index === 0;
|
|
296
|
+
addGPUGroupingPass(graph, prefix + "-heads-" + index, length, { order, values, classes, ...firstKey ? {} : { firstClasses: first.classes } }, { heads }, `
|
|
297
|
+
let row = order[index];
|
|
298
|
+
let previous = order[max(index, 1u) - 1u];
|
|
299
|
+
let changed = classes[row] != classes[previous] || values[row] != values[previous];
|
|
300
|
+
let selected = ${firstKey ? "classes" : "firstClasses"}[row] != 2u;
|
|
301
|
+
heads[index] = u32(selected && (${firstKey ? "index == 0u" : "heads[index] != 0u"} || changed));
|
|
302
|
+
`);
|
|
303
|
+
}
|
|
304
|
+
graph.add(new import_gpu_core2.GPUScan({ id: prefix + "-scan-heads", input: heads, output: ranks, mode: "inclusive" }));
|
|
305
|
+
graph.add(new import_gpu_core2.GPUReduction({
|
|
306
|
+
id: prefix + "-count-heads",
|
|
307
|
+
input: heads,
|
|
308
|
+
output: countView,
|
|
309
|
+
operation: "sum"
|
|
310
|
+
}));
|
|
311
|
+
addGPUGroupingPass(graph, prefix + "-scatter-ids", length, { order, classes: first.classes, ranks }, { groupIds }, `
|
|
312
|
+
let row = order[index];
|
|
313
|
+
groupIds[row] = select(0u, ranks[index] - 1u, classes[row] != 2u);
|
|
314
|
+
`);
|
|
315
|
+
for (const [index, { values, classes }] of staged.entries()) {
|
|
316
|
+
const output = outputs[index];
|
|
317
|
+
if (!output)
|
|
318
|
+
continue;
|
|
319
|
+
const validity = (_c = nullableKeys[index]) == null ? void 0 : _c.output;
|
|
320
|
+
addGPUGroupingPass(graph, prefix + "-publish-key-" + index, length, { order, heads, ranks, values, ...validity ? { classes } : {} }, { output: words(output), ...validity ? { validity } : {} }, `
|
|
321
|
+
if (heads[index] != 0u) {
|
|
322
|
+
let row = order[index];
|
|
323
|
+
let group = ranks[index] - 1u;
|
|
324
|
+
output[group] = values[row];
|
|
325
|
+
${validity ? "validity[group] = u32(classes[row] == 0u);" : ""}
|
|
326
|
+
}
|
|
327
|
+
`);
|
|
328
|
+
}
|
|
329
|
+
addGPUGroupingPass(graph, prefix + "-result-selection", length, { count: countView }, {
|
|
330
|
+
rows: graph.importGPUVector(prefix + "-rows-view", rows).data[0],
|
|
331
|
+
mask: graph.importGPUVector(prefix + "-mask-view", mask).data[0]
|
|
332
|
+
}, "rows[index] = index; mask[index] = u32(index < count[0]);");
|
|
333
|
+
let byteOffset = 0;
|
|
334
|
+
const data = selectionMask.data.map((chunk) => {
|
|
335
|
+
const view = graph.createDataView(groupIds.buffer, {
|
|
336
|
+
format: "uint32",
|
|
337
|
+
length: chunk.length,
|
|
338
|
+
byteOffset
|
|
339
|
+
});
|
|
340
|
+
byteOffset += chunk.length * UINT32_BYTE_LENGTH;
|
|
341
|
+
return view;
|
|
342
|
+
});
|
|
343
|
+
const keys = new import_gpu_core.GraphVectorView({ ...selectionMask, id: prefix + "-ids", data });
|
|
344
|
+
return { keys, rows, count, mask };
|
|
345
|
+
}
|
|
346
|
+
function addGPUGroupingPass(graph, id, length, reads, writes, body) {
|
|
347
|
+
const bindings = { ...reads, ...writes };
|
|
348
|
+
const resources = [];
|
|
349
|
+
const declarations = Object.entries(bindings).map(([name, view], binding) => {
|
|
350
|
+
const write = Object.hasOwn(writes, name);
|
|
351
|
+
resources.push({ buffer: view, usage: write ? "storage-write" : "storage-read" });
|
|
352
|
+
body = body.replaceAll(name + "[", name + "[" + (0, import_gpu_core4.getViewElementOffset)(view) + "u + ");
|
|
353
|
+
return `@group(0) @binding(${binding}) var<storage, ${write ? "read_write" : "read"}> ${name}: array<u32>;`;
|
|
354
|
+
});
|
|
355
|
+
(0, import_gpu_analytics_compiler_utils.addGPUAnalyticsComputePass)(graph, {
|
|
356
|
+
id,
|
|
357
|
+
bindings,
|
|
358
|
+
resources,
|
|
359
|
+
length,
|
|
360
|
+
source: (
|
|
361
|
+
/* wgsl */
|
|
362
|
+
`
|
|
363
|
+
${declarations.join("\n")}
|
|
364
|
+
@compute @workgroup_size(${import_gpu_analytics_compiler_utils.LU_ANALYTICS_WORKGROUP_SIZE})
|
|
365
|
+
fn main(@builtin(local_invocation_index) localInvocationIndex: u32,
|
|
366
|
+
@builtin(workgroup_id) workgroupId: vec3<u32>) {
|
|
367
|
+
${(0, import_gpu_analytics_compiler_utils.getGPUAnalyticsInvocationIndexSource)(graph, length)}
|
|
368
|
+
if (index >= ${length}u) { return; }
|
|
369
|
+
${body}
|
|
370
|
+
}
|
|
371
|
+
`
|
|
372
|
+
)
|
|
373
|
+
});
|
|
374
|
+
}
|
|
375
|
+
function getGPUGroupingFormat(table, name) {
|
|
376
|
+
var _a;
|
|
377
|
+
const format = (_a = table.schema.fields.find((field) => field.name === name)) == null ? void 0 : _a.format;
|
|
378
|
+
if (format !== "uint32" && format !== "sint32" && format !== "float32") {
|
|
379
|
+
throw new Error("GPUDataFrame grouping requires 32-bit numeric keys");
|
|
380
|
+
}
|
|
381
|
+
return format;
|
|
382
|
+
}
|
|
153
383
|
function getGPUGroupingVector(context, name, format) {
|
|
154
384
|
if (context.table.gpuConstants[name]) {
|
|
155
385
|
throw new Error(`GPUDataFrame grouping column "${name}" must contain GPU vector data`);
|
|
@@ -182,20 +412,20 @@ function getGPUGroupingValidity(context, name, template) {
|
|
|
182
412
|
return context.graph.importGPUVector(`${context.queryId}-group-validity-${name}`, validity);
|
|
183
413
|
}
|
|
184
414
|
function combineGPUGroupingMasks(graph, id, first, second) {
|
|
185
|
-
const output = (0,
|
|
186
|
-
graph.add(new
|
|
415
|
+
const output = (0, import_gpu_core4.createTransientVectorView)(graph, id, first);
|
|
416
|
+
graph.add(new import_gpu_core3.GPUMask({ id: `${id}-compose`, inputs: [first, second], output }));
|
|
187
417
|
return output;
|
|
188
418
|
}
|
|
189
419
|
function createGPUGroupedMetricState(context, keys, baseMask, name, groupCount, id, ownedVectors) {
|
|
190
420
|
const values = context.graph.importGPUVector(`${id}-input`, getGPUGroupingVector(context, name, "float32"));
|
|
191
421
|
const valueValidity = getGPUGroupingValidity(context, name, values);
|
|
192
422
|
const validRows = valueValidity ? combineGPUGroupingMasks(context.graph, `${id}-validity-mask`, baseMask, valueValidity) : baseMask;
|
|
193
|
-
const finiteRows = (0,
|
|
423
|
+
const finiteRows = (0, import_gpu_core4.createTransientVectorView)(context.graph, `${id}-finite-mask`, validRows);
|
|
194
424
|
addGPUGroupFiniteMaskPasses(context.graph, `${id}-finite`, values, validRows, finiteRows);
|
|
195
425
|
const validity = createGPUGroupedOutputVector(context.graph.device, `${id}-group-validity`, groupCount, "uint32");
|
|
196
426
|
ownedVectors.push(validity);
|
|
197
427
|
const output = context.graph.importGPUVector(`${id}-group-validity-vector`, validity).data[0];
|
|
198
|
-
context.graph.add(new
|
|
428
|
+
context.graph.add(new import_gpu_core2.GPUGroupAggregation({
|
|
199
429
|
id: `${id}-accepted-count`,
|
|
200
430
|
keys,
|
|
201
431
|
mask: finiteRows,
|
|
@@ -219,19 +449,24 @@ function createGPUGroupedOutputVector(device, name, length, format) {
|
|
|
219
449
|
throw error;
|
|
220
450
|
}
|
|
221
451
|
}
|
|
222
|
-
function createGPUGroupedResultTable(source,
|
|
452
|
+
function createGPUGroupedResultTable(source, keys, definitions, vectors, columns, observed = false) {
|
|
223
453
|
var _a;
|
|
224
|
-
const
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
454
|
+
const outputFields = [
|
|
455
|
+
...keys.flatMap(({ source: name, output }) => {
|
|
456
|
+
if (output === void 0)
|
|
457
|
+
return [];
|
|
458
|
+
const field = source.schema.fields.find((candidate) => candidate.name === name);
|
|
459
|
+
if (!field)
|
|
460
|
+
throw new Error("GPUDataFrame grouped result requires an existing key field");
|
|
461
|
+
return [
|
|
462
|
+
{
|
|
463
|
+
name: output,
|
|
464
|
+
format: observed ? getGPUGroupingFormat(source, name) : "uint32",
|
|
465
|
+
nullable: observed && field.nullable === true,
|
|
466
|
+
metadata: new Map(field.metadata)
|
|
467
|
+
}
|
|
468
|
+
];
|
|
469
|
+
}),
|
|
235
470
|
...definitions.map((definition) => ({
|
|
236
471
|
name: definition.name,
|
|
237
472
|
format: definition.operation === "count" ? "uint32" : "float32",
|
|
@@ -239,6 +474,7 @@ function createGPUGroupedResultTable(source, key, definitions, vectors) {
|
|
|
239
474
|
metadata: /* @__PURE__ */ new Map()
|
|
240
475
|
}))
|
|
241
476
|
];
|
|
477
|
+
const fields = columns ? columns.map((name) => outputFields.find((field) => field.name === name)) : outputFields;
|
|
242
478
|
const gpuData = {};
|
|
243
479
|
for (const field of fields) {
|
|
244
480
|
const sourceData = (_a = vectors.get(field.name)) == null ? void 0 : _a.data[0];
|
|
@@ -269,7 +505,7 @@ function addGPUGroupIdentityPass(graph, id, output) {
|
|
|
269
505
|
/* wgsl */
|
|
270
506
|
`
|
|
271
507
|
const ELEMENT_COUNT: u32 = ${output.length}u;
|
|
272
|
-
const OUTPUT_OFFSET: u32 = ${(0,
|
|
508
|
+
const OUTPUT_OFFSET: u32 = ${(0, import_gpu_core4.getViewElementOffset)(output)}u;
|
|
273
509
|
@group(0) @binding(0) var<storage, read_write> outputValues: array<u32>;
|
|
274
510
|
|
|
275
511
|
@compute @workgroup_size(${import_gpu_analytics_compiler_utils.LU_ANALYTICS_WORKGROUP_SIZE})
|
|
@@ -302,9 +538,9 @@ function addGPUGroupFiniteMaskPasses(graph, id, values, input, output) {
|
|
|
302
538
|
/* wgsl */
|
|
303
539
|
`
|
|
304
540
|
const ELEMENT_COUNT: u32 = ${mask.length}u;
|
|
305
|
-
const VALUE_OFFSET: u32 = ${(0,
|
|
306
|
-
const INPUT_OFFSET: u32 = ${(0,
|
|
307
|
-
const OUTPUT_OFFSET: u32 = ${(0,
|
|
541
|
+
const VALUE_OFFSET: u32 = ${(0, import_gpu_core4.getViewElementOffset)(value)}u;
|
|
542
|
+
const INPUT_OFFSET: u32 = ${(0, import_gpu_core4.getViewElementOffset)(sourceMask)}u;
|
|
543
|
+
const OUTPUT_OFFSET: u32 = ${(0, import_gpu_core4.getViewElementOffset)(mask)}u;
|
|
308
544
|
@group(0) @binding(0) var<storage, read> inputValues: array<f32>;
|
|
309
545
|
@group(0) @binding(1) var<storage, read> inputMask: array<u32>;
|
|
310
546
|
@group(0) @binding(2) var<storage, read_write> outputMask: array<u32>;
|
|
@@ -344,7 +580,7 @@ function addGPUNormalizeGroupValidityPass(graph, id, validity) {
|
|
|
344
580
|
/* wgsl */
|
|
345
581
|
`
|
|
346
582
|
const ELEMENT_COUNT: u32 = ${validity.length}u;
|
|
347
|
-
const OUTPUT_OFFSET: u32 = ${(0,
|
|
583
|
+
const OUTPUT_OFFSET: u32 = ${(0, import_gpu_core4.getViewElementOffset)(validity)}u;
|
|
348
584
|
@group(0) @binding(0) var<storage, read_write> outputValidity: array<u32>;
|
|
349
585
|
|
|
350
586
|
@compute @workgroup_size(${import_gpu_analytics_compiler_utils.LU_ANALYTICS_WORKGROUP_SIZE})
|
|
@@ -370,5 +606,6 @@ fn main(
|
|
|
370
606
|
// Annotate the CommonJS export names for ESM import in node:
|
|
371
607
|
0 && (module.exports = {
|
|
372
608
|
CompiledGPUDataFrameGroupedAggregation,
|
|
373
|
-
compileGPUDataFrameGroupedAggregation
|
|
609
|
+
compileGPUDataFrameGroupedAggregation,
|
|
610
|
+
compileGPUDataFrameObservedAggregation
|
|
374
611
|
});
|
|
@@ -7,11 +7,26 @@ import type { GPUDataFrameAggregationDefinition } from "./gpu-group-by-query.js"
|
|
|
7
7
|
import { CompiledGPUDataFrameQuery, type CompiledGPUDataFrameQueryProps, type GPUDataFrameQueryParameters } from "./gpu-query-compiler.js";
|
|
8
8
|
/** Dense grouped GPU statistics retaining their original source selection and row identities. */
|
|
9
9
|
export declare class CompiledGPUDataFrameGroupedAggregation<T extends GPUTypeMap = GPUTypeMap> extends CompiledGPUDataFrameQuery<T> {
|
|
10
|
-
/**
|
|
10
|
+
/** Result table capacity. Observed grouping publishes the actual count in selectedCounts. */
|
|
11
11
|
readonly groupCount: number;
|
|
12
12
|
/** @internal */
|
|
13
13
|
constructor(props: CompiledGPUDataFrameQueryProps<T>, groupCount: number);
|
|
14
14
|
}
|
|
15
|
+
/** Output names and order for grouped SQL projections. @internal */
|
|
16
|
+
export type GPUGroupedOutputProjection = Readonly<{
|
|
17
|
+
/** Name of the grouped key in the output schema. */
|
|
18
|
+
key: string;
|
|
19
|
+
/** Output names in SELECT order. */
|
|
20
|
+
columns: readonly string[];
|
|
21
|
+
}>;
|
|
22
|
+
/** Ordered source keys and their corresponding output fields. */
|
|
23
|
+
type GPUGroupingKeys = readonly Readonly<{
|
|
24
|
+
source: string;
|
|
25
|
+
output?: string;
|
|
26
|
+
}>[];
|
|
27
|
+
/** Adds observed numeric and composite grouping bounded by the source row count. @internal */
|
|
28
|
+
export declare function compileGPUDataFrameObservedAggregation(source: GPUDataFrame, predicates: readonly GPUExpression<boolean, string>[], selectedColumns: readonly string[], derivedColumns: readonly GPUDataFrameDerivedColumn[], keys: GPUGroupingKeys, definitions: readonly GPUDataFrameAggregationDefinition[], graph: GPUCommandGraph<GPUDataFrameQueryParameters>, columns: readonly string[]): CompiledGPUDataFrameGroupedAggregation;
|
|
15
29
|
/** Adds dense categorical aggregation to source-row work before the shared graph is frozen. */
|
|
16
|
-
export declare function compileGPUDataFrameGroupedAggregation<Source extends GPUTypeMap, Selection extends GPUTypeMap, Result extends GPUTypeMap>(source: GPUDataFrame<Source>, predicates: readonly GPUExpression<boolean, string>[], selectedColumns: readonly (keyof Selection & string)[], derivedColumns: readonly GPUDataFrameDerivedColumn[], key: keyof Selection & string, groupCount: number, definitions: readonly GPUDataFrameAggregationDefinition[], graph: GPUCommandGraph<GPUDataFrameQueryParameters
|
|
30
|
+
export declare function compileGPUDataFrameGroupedAggregation<Source extends GPUTypeMap, Selection extends GPUTypeMap, Result extends GPUTypeMap>(source: GPUDataFrame<Source>, predicates: readonly GPUExpression<boolean, string>[], selectedColumns: readonly (keyof Selection & string)[], derivedColumns: readonly GPUDataFrameDerivedColumn[], key: keyof Selection & string, groupCount: number, definitions: readonly GPUDataFrameAggregationDefinition[], graph: GPUCommandGraph<GPUDataFrameQueryParameters>, projection?: GPUGroupedOutputProjection): CompiledGPUDataFrameGroupedAggregation<Result>;
|
|
31
|
+
export {};
|
|
17
32
|
//# sourceMappingURL=gpu-group-aggregation-compiler.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gpu-group-aggregation-compiler.d.ts","sourceRoot":"","sources":["../../src/gpu-dataframe/gpu-group-aggregation-compiler.ts"],"names":[],"mappings":"AAOA,OAAO,EAA0C,KAAK,UAAU,EAAC,MAAM,2BAA2B,CAAC;AACnG,OAAO,
|
|
1
|
+
{"version":3,"file":"gpu-group-aggregation-compiler.d.ts","sourceRoot":"","sources":["../../src/gpu-dataframe/gpu-group-aggregation-compiler.ts"],"names":[],"mappings":"AAOA,OAAO,EAA0C,KAAK,UAAU,EAAC,MAAM,2BAA2B,CAAC;AACnG,OAAO,EAEL,KAAK,eAAe,EAGrB,MAAM,yBAAyB,CAAC;AAuBjC,OAAO,KAAK,EAAC,YAAY,EAAiD,4BAAyB;AACnG,OAAO,KAAK,EAAC,yBAAyB,EAAC,kCAA+B;AACtE,OAAO,KAAK,EAAC,aAAa,EAAC,4BAAyB;AACpD,OAAO,KAAK,EAAC,iCAAiC,EAAC,gCAA6B;AAC5E,OAAO,EACL,yBAAyB,EAEzB,KAAK,8BAA8B,EAGnC,KAAK,2BAA2B,EACjC,gCAA6B;AAW9B,iGAAiG;AACjG,qBAAa,sCAAsC,CACjD,CAAC,SAAS,UAAU,GAAG,UAAU,CACjC,SAAQ,yBAAyB,CAAC,CAAC,CAAC;IACpC,6FAA6F;IAC7F,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAE5B,gBAAgB;gBACJ,KAAK,EAAE,8BAA8B,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,MAAM;CAIzE;AAED,oEAAoE;AACpE,MAAM,MAAM,0BAA0B,GAAG,QAAQ,CAAC;IAChD,oDAAoD;IACpD,GAAG,EAAE,MAAM,CAAC;IACZ,oCAAoC;IACpC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAC;CAC5B,CAAC,CAAC;AAEH,iEAAiE;AACjE,KAAK,eAAe,GAAG,SAAS,QAAQ,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAC,CAAC,EAAE,CAAC;AAE9E,8FAA8F;AAC9F,wBAAgB,sCAAsC,CACpD,MAAM,EAAE,YAAY,EACpB,UAAU,EAAE,SAAS,aAAa,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,EACrD,eAAe,EAAE,SAAS,MAAM,EAAE,EAClC,cAAc,EAAE,SAAS,yBAAyB,EAAE,EACpD,IAAI,EAAE,eAAe,EACrB,WAAW,EAAE,SAAS,iCAAiC,EAAE,EACzD,KAAK,EAAE,eAAe,CAAC,2BAA2B,CAAC,EACnD,OAAO,EAAE,SAAS,MAAM,EAAE,GACzB,sCAAsC,CAgBxC;AAED,+FAA+F;AAC/F,wBAAgB,qCAAqC,CACnD,MAAM,SAAS,UAAU,EACzB,SAAS,SAAS,UAAU,EAC5B,MAAM,SAAS,UAAU,EAEzB,MAAM,EAAE,YAAY,CAAC,MAAM,CAAC,EAC5B,UAAU,EAAE,SAAS,aAAa,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,EACrD,eAAe,EAAE,SAAS,CAAC,MAAM,SAAS,GAAG,MAAM,CAAC,EAAE,EACtD,cAAc,EAAE,SAAS,yBAAyB,EAAE,EACpD,GAAG,EAAE,MAAM,SAAS,GAAG,MAAM,EAC7B,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,SAAS,iCAAiC,EAAE,EACzD,KAAK,EAAE,eAAe,CAAC,2BAA2B,CAAC,EACnD,UAAU,CAAC,EAAE,0BAA0B,GACtC,sCAAsC,CAAC,MAAM,CAAC,CAkBhD"}
|