@luma.gl/graph 10.0.0-alpha.5 → 10.0.0-alpha.7
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 +38 -0
- package/README.md +11 -5
- package/dist/arrow/arrow-colors.cjs +190 -0
- package/dist/arrow/arrow-colors.d.ts +24 -0
- package/dist/arrow/arrow-colors.d.ts.map +1 -0
- package/dist/arrow/arrow-colors.js +185 -0
- package/dist/arrow/arrow-colors.js.map +1 -0
- package/dist/arrow/arrow-utils/arrow-column-info.cjs +77 -0
- package/dist/arrow/arrow-utils/arrow-column-info.d.ts +36 -0
- package/dist/arrow/arrow-utils/arrow-column-info.d.ts.map +1 -0
- package/dist/arrow/arrow-utils/arrow-column-info.js +86 -0
- package/dist/arrow/arrow-utils/arrow-column-info.js.map +1 -0
- package/dist/arrow/arrow-utils/arrow-paths.cjs +173 -0
- package/dist/arrow/arrow-utils/arrow-paths.d.ts +18 -0
- package/dist/arrow/arrow-utils/arrow-paths.d.ts.map +1 -0
- package/dist/arrow/arrow-utils/arrow-paths.js +153 -0
- package/dist/arrow/arrow-utils/arrow-paths.js.map +1 -0
- package/dist/arrow/arrow-utils/arrow-types.cjs +82 -0
- package/dist/arrow/arrow-utils/arrow-types.d.ts +36 -0
- package/dist/arrow/arrow-utils/arrow-types.d.ts.map +1 -0
- package/dist/arrow/arrow-utils/arrow-types.js +60 -0
- package/dist/arrow/arrow-utils/arrow-types.js.map +1 -0
- package/dist/arrow/dggs/dggs-gpu-polygons.cjs +667 -0
- package/dist/arrow/dggs/dggs-gpu-polygons.d.ts +75 -0
- package/dist/arrow/dggs/dggs-gpu-polygons.d.ts.map +1 -0
- package/dist/arrow/dggs/dggs-gpu-polygons.js +651 -0
- package/dist/arrow/dggs/dggs-gpu-polygons.js.map +1 -0
- package/dist/arrow/geoarrow/arrow-geoarrow-adapter.cjs +411 -0
- package/dist/arrow/geoarrow/arrow-geoarrow-adapter.d.ts +31 -0
- package/dist/arrow/geoarrow/arrow-geoarrow-adapter.d.ts.map +1 -0
- package/dist/arrow/geoarrow/arrow-geoarrow-adapter.js +395 -0
- package/dist/arrow/geoarrow/arrow-geoarrow-adapter.js.map +1 -0
- package/dist/arrow/geoarrow/arrow-geoarrow-conversion.cjs +304 -0
- package/dist/arrow/geoarrow/arrow-geoarrow-conversion.d.ts +32 -0
- package/dist/arrow/geoarrow/arrow-geoarrow-conversion.d.ts.map +1 -0
- package/dist/arrow/geoarrow/arrow-geoarrow-conversion.js +293 -0
- package/dist/arrow/geoarrow/arrow-geoarrow-conversion.js.map +1 -0
- package/dist/arrow/geoarrow/arrow-polygon-tessellation.cjs +232 -0
- package/dist/arrow/geoarrow/arrow-polygon-tessellation.d.ts +54 -0
- package/dist/arrow/geoarrow/arrow-polygon-tessellation.d.ts.map +1 -0
- package/dist/arrow/geoarrow/arrow-polygon-tessellation.js +222 -0
- package/dist/arrow/geoarrow/arrow-polygon-tessellation.js.map +1 -0
- package/dist/arrow/gpu/arrow-column-gpu-vector.cjs +131 -0
- package/dist/arrow/gpu/arrow-column-gpu-vector.d.ts +34 -0
- package/dist/arrow/gpu/arrow-column-gpu-vector.d.ts.map +1 -0
- package/dist/arrow/gpu/arrow-column-gpu-vector.js +119 -0
- package/dist/arrow/gpu/arrow-column-gpu-vector.js.map +1 -0
- package/dist/arrow/gpu/arrow-compute-kernel.cjs +47 -0
- package/dist/arrow/gpu/arrow-compute-kernel.d.ts +8 -0
- package/dist/arrow/gpu/arrow-compute-kernel.d.ts.map +1 -0
- package/dist/arrow/gpu/arrow-compute-kernel.js +25 -0
- package/dist/arrow/gpu/arrow-compute-kernel.js.map +1 -0
- package/dist/arrow/gpu/arrow-gpu-analytics-adapters.cjs +314 -0
- package/dist/arrow/gpu/arrow-gpu-analytics-adapters.d.ts +42 -0
- package/dist/arrow/gpu/arrow-gpu-analytics-adapters.d.ts.map +1 -0
- package/dist/arrow/gpu/arrow-gpu-analytics-adapters.js +318 -0
- package/dist/arrow/gpu/arrow-gpu-analytics-adapters.js.map +1 -0
- package/dist/arrow/gpu/arrow-gpu-analytics-readback.cjs +204 -0
- package/dist/arrow/gpu/arrow-gpu-analytics-readback.d.ts +30 -0
- package/dist/arrow/gpu/arrow-gpu-analytics-readback.d.ts.map +1 -0
- package/dist/arrow/gpu/arrow-gpu-analytics-readback.js +195 -0
- package/dist/arrow/gpu/arrow-gpu-analytics-readback.js.map +1 -0
- package/dist/arrow/gpu/arrow-gpu-data.cjs +541 -0
- package/dist/arrow/gpu/arrow-gpu-data.d.ts +87 -0
- package/dist/arrow/gpu/arrow-gpu-data.d.ts.map +1 -0
- package/dist/arrow/gpu/arrow-gpu-data.js +519 -0
- package/dist/arrow/gpu/arrow-gpu-data.js.map +1 -0
- package/dist/arrow/gpu/arrow-gpu-table-adapters.cjs +257 -0
- package/dist/arrow/gpu/arrow-gpu-table-adapters.d.ts +45 -0
- package/dist/arrow/gpu/arrow-gpu-table-adapters.d.ts.map +1 -0
- package/dist/arrow/gpu/arrow-gpu-table-adapters.js +257 -0
- package/dist/arrow/gpu/arrow-gpu-table-adapters.js.map +1 -0
- package/dist/arrow/gpu/arrow-gpu-table-conversion.cjs +230 -0
- package/dist/arrow/gpu/arrow-gpu-table-conversion.d.ts +71 -0
- package/dist/arrow/gpu/arrow-gpu-table-conversion.d.ts.map +1 -0
- package/dist/arrow/gpu/arrow-gpu-table-conversion.js +215 -0
- package/dist/arrow/gpu/arrow-gpu-table-conversion.js.map +1 -0
- package/dist/arrow/gpu/arrow-gpu-vector-adapters.cjs +322 -0
- package/dist/arrow/gpu/arrow-gpu-vector-adapters.d.ts +45 -0
- package/dist/arrow/gpu/arrow-gpu-vector-adapters.d.ts.map +1 -0
- package/dist/arrow/gpu/arrow-gpu-vector-adapters.js +320 -0
- package/dist/arrow/gpu/arrow-gpu-vector-adapters.js.map +1 -0
- package/dist/arrow/gpu/arrow-gpu-vector-conversion.cjs +739 -0
- package/dist/arrow/gpu/arrow-gpu-vector-conversion.d.ts +106 -0
- package/dist/arrow/gpu/arrow-gpu-vector-conversion.d.ts.map +1 -0
- package/dist/arrow/gpu/arrow-gpu-vector-conversion.js +796 -0
- package/dist/arrow/gpu/arrow-gpu-vector-conversion.js.map +1 -0
- package/dist/arrow/gpu/arrow-input-schema.cjs +36 -0
- package/dist/arrow/gpu/arrow-input-schema.d.ts +41 -0
- package/dist/arrow/gpu/arrow-input-schema.d.ts.map +1 -0
- package/dist/arrow/gpu/arrow-input-schema.js +17 -0
- package/dist/arrow/gpu/arrow-input-schema.js.map +1 -0
- package/dist/arrow/gpu/arrow-shader-layout.cjs +253 -0
- package/dist/arrow/gpu/arrow-shader-layout.d.ts +32 -0
- package/dist/arrow/gpu/arrow-shader-layout.d.ts.map +1 -0
- package/dist/arrow/gpu/arrow-shader-layout.js +236 -0
- package/dist/arrow/gpu/arrow-shader-layout.js.map +1 -0
- package/dist/arrow/index.cjs +203 -0
- package/dist/arrow/index.cjs.map +6 -0
- package/dist/arrow/index.d.ts +23 -0
- package/dist/arrow/index.d.ts.map +1 -0
- package/dist/arrow/index.js +28 -0
- package/dist/arrow/index.js.map +1 -0
- package/dist/arrow/internal.cjs +75 -0
- package/dist/arrow/internal.cjs.map +6 -0
- package/dist/arrow/internal.d.ts +36 -0
- package/dist/arrow/internal.d.ts.map +1 -0
- package/dist/arrow/internal.js +26 -0
- package/dist/arrow/internal.js.map +1 -0
- package/dist/arrow/vectors/arrow-fixed-size-list.cjs +78 -0
- package/dist/arrow/vectors/arrow-fixed-size-list.d.ts +25 -0
- package/dist/arrow/vectors/arrow-fixed-size-list.d.ts.map +1 -0
- package/dist/arrow/vectors/arrow-fixed-size-list.js +53 -0
- package/dist/arrow/vectors/arrow-fixed-size-list.js.map +1 -0
- package/dist/arrow/vectors/arrow-matrix-gpu-vector.cjs +301 -0
- package/dist/arrow/vectors/arrow-matrix-gpu-vector.d.ts +30 -0
- package/dist/arrow/vectors/arrow-matrix-gpu-vector.d.ts.map +1 -0
- package/dist/arrow/vectors/arrow-matrix-gpu-vector.js +284 -0
- package/dist/arrow/vectors/arrow-matrix-gpu-vector.js.map +1 -0
- package/dist/arrow/vectors/arrow-matrix-vector.cjs +194 -0
- package/dist/arrow/vectors/arrow-matrix-vector.d.ts +85 -0
- package/dist/arrow/vectors/arrow-matrix-vector.d.ts.map +1 -0
- package/dist/arrow/vectors/arrow-matrix-vector.js +169 -0
- package/dist/arrow/vectors/arrow-matrix-vector.js.map +1 -0
- package/dist/arrow/vectors/arrow-temporal-gpu-vector.cjs +569 -0
- package/dist/arrow/vectors/arrow-temporal-gpu-vector.d.ts +93 -0
- package/dist/arrow/vectors/arrow-temporal-gpu-vector.d.ts.map +1 -0
- package/dist/arrow/vectors/arrow-temporal-gpu-vector.js +564 -0
- package/dist/arrow/vectors/arrow-temporal-gpu-vector.js.map +1 -0
- package/dist/arrow/vectors/arrow-vector-utils.cjs +245 -0
- package/dist/arrow/vectors/arrow-vector-utils.d.ts +30 -0
- package/dist/arrow/vectors/arrow-vector-utils.d.ts.map +1 -0
- package/dist/arrow/vectors/arrow-vector-utils.js +245 -0
- package/dist/arrow/vectors/arrow-vector-utils.js.map +1 -0
- package/dist/dist.dev.js +9812 -3216
- package/dist/dist.min.js +97 -71
- package/dist/execution/compute/kernel.cjs +112 -0
- package/dist/execution/compute/kernel.d.ts +54 -0
- package/dist/execution/compute/kernel.d.ts.map +1 -0
- package/dist/execution/compute/kernel.js +103 -0
- package/dist/execution/compute/kernel.js.map +1 -0
- package/dist/execution/compute/render-kernel.cjs +152 -0
- package/dist/execution/compute/render-kernel.d.ts +66 -0
- package/dist/execution/compute/render-kernel.d.ts.map +1 -0
- package/dist/execution/compute/render-kernel.js +148 -0
- package/dist/execution/compute/render-kernel.js.map +1 -0
- package/dist/execution/dynamic-buffer/dynamic-buffer.cjs +39 -0
- package/dist/execution/dynamic-buffer/dynamic-buffer.d.ts +2 -0
- package/dist/execution/dynamic-buffer/dynamic-buffer.d.ts.map +1 -0
- package/dist/execution/dynamic-buffer/dynamic-buffer.js +6 -0
- package/dist/execution/dynamic-buffer/dynamic-buffer.js.map +1 -0
- package/dist/execution/dynamic-texture/dynamic-texture.cjs +27 -0
- package/dist/execution/dynamic-texture/dynamic-texture.d.ts +2 -0
- package/dist/execution/dynamic-texture/dynamic-texture.d.ts.map +1 -0
- package/dist/execution/dynamic-texture/dynamic-texture.js +6 -0
- package/dist/execution/dynamic-texture/dynamic-texture.js.map +1 -0
- package/dist/execution/dynamic-texture/texture-binding-source.cjs +31 -0
- package/dist/execution/dynamic-texture/texture-binding-source.d.ts +2 -0
- package/dist/execution/dynamic-texture/texture-binding-source.d.ts.map +1 -0
- package/dist/execution/dynamic-texture/texture-binding-source.js +6 -0
- package/dist/execution/dynamic-texture/texture-binding-source.js.map +1 -0
- package/dist/execution/dynamic-texture/texture-data.cjs +53 -0
- package/dist/execution/dynamic-texture/texture-data.d.ts +2 -0
- package/dist/execution/dynamic-texture/texture-data.d.ts.map +1 -0
- package/dist/execution/dynamic-texture/texture-data.js +6 -0
- package/dist/execution/dynamic-texture/texture-data.js.map +1 -0
- package/dist/execution/utils/get-platform-info.cjs +37 -0
- package/dist/execution/utils/get-platform-info.d.ts +5 -0
- package/dist/execution/utils/get-platform-info.d.ts.map +1 -0
- package/dist/execution/utils/get-platform-info.js +16 -0
- package/dist/execution/utils/get-platform-info.js.map +1 -0
- package/dist/experimental/index.cjs +62 -5
- package/dist/experimental/index.cjs.map +3 -3
- package/dist/experimental/index.d.ts +2 -2
- package/dist/experimental/index.d.ts.map +1 -1
- package/dist/experimental/index.js +2 -2
- package/dist/experimental/index.js.map +1 -1
- package/dist/experimental/models/index.cjs.map +3 -3
- package/dist/experimental/models/path/gpu/path-storage-gpu-inputs.cjs +1 -1
- package/dist/experimental/models/path/gpu/path-storage-gpu-inputs.d.ts +1 -1
- package/dist/experimental/models/path/gpu/path-storage-gpu-inputs.js +1 -1
- package/dist/experimental/models/polygon/polygon-gpu-inputs.d.ts +3 -3
- package/dist/experimental/simulation/flow-particle-simulation.cjs +2 -2
- package/dist/experimental/simulation/flow-particle-simulation.js +1 -1
- package/dist/experimental/simulation/flow-particle-simulation.js.map +1 -1
- package/dist/experimental/simulation/index.cjs.map +3 -3
- package/dist/experimental/simulation/scientific-flow-compute.cjs +2 -2
- package/dist/experimental/simulation/scientific-flow-compute.d.ts +1 -1
- package/dist/experimental/simulation/scientific-flow-compute.d.ts.map +1 -1
- package/dist/experimental/simulation/scientific-flow-compute.js +1 -1
- package/dist/experimental/simulation/scientific-flow-compute.js.map +1 -1
- package/dist/experimental/simulation/scientific-flow-tracer.cjs +2 -2
- package/dist/experimental/simulation/scientific-flow-tracer.js +1 -1
- package/dist/experimental/simulation/scientific-flow-tracer.js.map +1 -1
- package/dist/geospatial/geospatial-utils.cjs +16 -14
- package/dist/geospatial/geospatial-utils.d.ts +2 -2
- package/dist/geospatial/geospatial-utils.d.ts.map +1 -1
- package/dist/geospatial/geospatial-utils.js +5 -3
- package/dist/geospatial/geospatial-utils.js.map +1 -1
- package/dist/geospatial/gpu-point-spatial-query.cjs +3 -3
- package/dist/geospatial/gpu-point-spatial-query.js +1 -1
- package/dist/geospatial/gpu-point-spatial-query.js.map +1 -1
- package/dist/geospatial/index.cjs.map +3 -3
- package/dist/gpu-a5/index.cjs.map +3 -3
- package/dist/gpu-core/compiled-gpu-graph.cjs +134 -0
- package/dist/gpu-core/compiled-gpu-graph.d.ts +17 -0
- package/dist/gpu-core/compiled-gpu-graph.d.ts.map +1 -0
- package/dist/gpu-core/compiled-gpu-graph.js +118 -0
- package/dist/gpu-core/compiled-gpu-graph.js.map +1 -0
- package/dist/gpu-core/dispatch-command-buffer.cjs +1 -1
- package/dist/gpu-core/dispatch-command-buffer.d.ts +1 -1
- package/dist/gpu-core/dispatch-command-buffer.js +1 -1
- package/dist/gpu-core/draw-command-buffer.cjs +1 -1
- package/dist/gpu-core/draw-command-buffer.d.ts +1 -1
- package/dist/gpu-core/draw-command-buffer.js +1 -1
- package/dist/gpu-core/gpu-adaptive-spmv.cjs +1 -1
- package/dist/gpu-core/gpu-adaptive-spmv.js +1 -1
- package/dist/gpu-core/gpu-ancestor-projection.cjs +2 -2
- package/dist/gpu-core/gpu-ancestor-projection.js +1 -1
- package/dist/gpu-core/gpu-ancestor-projection.js.map +1 -1
- package/dist/gpu-core/gpu-bvh-query.cjs +2 -2
- package/dist/gpu-core/gpu-bvh-query.js +1 -1
- package/dist/gpu-core/gpu-bvh-query.js.map +1 -1
- package/dist/gpu-core/gpu-bvh.cjs +3 -3
- package/dist/gpu-core/gpu-bvh.js +2 -2
- package/dist/gpu-core/gpu-bvh.js.map +1 -1
- package/dist/gpu-core/gpu-byte-range-gather.cjs +3 -3
- package/dist/gpu-core/gpu-byte-range-gather.js +2 -2
- package/dist/gpu-core/gpu-byte-range-gather.js.map +1 -1
- package/dist/gpu-core/gpu-chunk-utils.cjs +3 -3
- package/dist/gpu-core/gpu-chunk-utils.d.ts +1 -1
- package/dist/gpu-core/gpu-chunk-utils.js +2 -2
- package/dist/gpu-core/gpu-chunk-utils.js.map +1 -1
- package/dist/gpu-core/gpu-chunked-indexed-scatter.cjs +2 -2
- package/dist/gpu-core/gpu-chunked-indexed-scatter.js +1 -1
- package/dist/gpu-core/gpu-chunked-indexed-scatter.js.map +1 -1
- package/dist/gpu-core/gpu-command-graph-types.cjs +1 -1
- package/dist/gpu-core/gpu-command-graph-types.d.ts +3 -3
- package/dist/gpu-core/gpu-command-graph-types.js +1 -1
- package/dist/gpu-core/gpu-command-graph.cjs +1 -1
- package/dist/gpu-core/gpu-command-graph.d.ts +1 -1
- package/dist/gpu-core/gpu-command-graph.js +1 -1
- package/dist/gpu-core/gpu-compaction.cjs +3 -3
- package/dist/gpu-core/gpu-compaction.js +1 -1
- package/dist/gpu-core/gpu-compaction.js.map +1 -1
- package/dist/gpu-core/gpu-convolution.cjs +3 -3
- package/dist/gpu-core/gpu-convolution.js +2 -2
- package/dist/gpu-core/gpu-convolution.js.map +1 -1
- package/dist/gpu-core/gpu-dense-utils.cjs +3 -3
- package/dist/gpu-core/gpu-dense-utils.js +2 -2
- package/dist/gpu-core/gpu-dense-utils.js.map +1 -1
- package/dist/gpu-core/gpu-elementwise-scalar.cjs +2 -2
- package/dist/gpu-core/gpu-elementwise-scalar.js +1 -1
- package/dist/gpu-core/gpu-elementwise-scalar.js.map +1 -1
- package/dist/gpu-core/gpu-elementwise.cjs +2 -2
- package/dist/gpu-core/gpu-elementwise.js +1 -1
- package/dist/gpu-core/gpu-elementwise.js.map +1 -1
- package/dist/gpu-core/gpu-expression-cast.cjs +61 -0
- package/dist/gpu-core/gpu-expression-cast.d.ts +12 -0
- package/dist/gpu-core/gpu-expression-cast.d.ts.map +1 -0
- package/dist/gpu-core/gpu-expression-cast.js +38 -0
- package/dist/gpu-core/gpu-expression-cast.js.map +1 -0
- package/dist/gpu-core/gpu-expression-kernel.cjs +216 -0
- package/dist/gpu-core/gpu-expression-kernel.d.ts +17 -0
- package/dist/gpu-core/gpu-expression-kernel.d.ts.map +1 -0
- package/dist/gpu-core/gpu-expression-kernel.js +211 -0
- package/dist/gpu-core/gpu-expression-kernel.js.map +1 -0
- package/dist/gpu-core/gpu-expression-operation.cjs +247 -0
- package/dist/gpu-core/gpu-expression-operation.d.ts +77 -0
- package/dist/gpu-core/gpu-expression-operation.d.ts.map +1 -0
- package/dist/gpu-core/gpu-expression-operation.js +226 -0
- package/dist/gpu-core/gpu-expression-operation.js.map +1 -0
- package/dist/gpu-core/gpu-expression-plan.cjs +394 -0
- package/dist/gpu-core/gpu-expression-plan.d.ts +45 -0
- package/dist/gpu-core/gpu-expression-plan.d.ts.map +1 -0
- package/dist/gpu-core/gpu-expression-plan.js +421 -0
- package/dist/gpu-core/gpu-expression-plan.js.map +1 -0
- package/dist/gpu-core/gpu-fft1d.cjs +3 -3
- package/dist/gpu-core/gpu-fft1d.js +2 -2
- package/dist/gpu-core/gpu-fft1d.js.map +1 -1
- package/dist/gpu-core/gpu-fft2d.cjs +2 -2
- package/dist/gpu-core/gpu-fft2d.js +1 -1
- package/dist/gpu-core/gpu-fft2d.js.map +1 -1
- package/dist/gpu-core/gpu-finite-difference-utils.cjs +3 -3
- package/dist/gpu-core/gpu-finite-difference-utils.js +2 -2
- package/dist/gpu-core/gpu-finite-difference-utils.js.map +1 -1
- package/dist/gpu-core/gpu-flag-offsets.cjs +2 -2
- package/dist/gpu-core/gpu-flag-offsets.js +1 -1
- package/dist/gpu-core/gpu-flag-offsets.js.map +1 -1
- package/dist/gpu-core/gpu-galloping-search.cjs +3 -3
- package/dist/gpu-core/gpu-galloping-search.js +1 -1
- package/dist/gpu-core/gpu-galloping-search.js.map +1 -1
- package/dist/gpu-core/gpu-gather.cjs +3 -3
- package/dist/gpu-core/gpu-gather.d.ts +1 -1
- package/dist/gpu-core/gpu-gather.js +2 -2
- package/dist/gpu-core/gpu-gather.js.map +1 -1
- package/dist/gpu-core/gpu-graph-compiler.cjs +205 -142
- package/dist/gpu-core/gpu-graph-compiler.d.ts +6 -5
- package/dist/gpu-core/gpu-graph-compiler.d.ts.map +1 -1
- package/dist/gpu-core/gpu-graph-compiler.js +216 -141
- package/dist/gpu-core/gpu-graph-compiler.js.map +1 -1
- package/dist/gpu-core/gpu-graph-lowering.cjs +0 -25
- package/dist/gpu-core/gpu-graph-lowering.d.ts +10 -10
- package/dist/gpu-core/gpu-graph-lowering.d.ts.map +1 -1
- package/dist/gpu-core/gpu-graph-lowering.js +1 -14
- package/dist/gpu-core/gpu-graph-lowering.js.map +1 -1
- package/dist/gpu-core/gpu-graph-traversal.cjs +2 -2
- package/dist/gpu-core/gpu-graph-traversal.js +1 -1
- package/dist/gpu-core/gpu-graph-traversal.js.map +1 -1
- package/dist/gpu-core/gpu-graph-validation.cjs +15 -0
- package/dist/gpu-core/gpu-graph-validation.d.ts.map +1 -1
- package/dist/gpu-core/gpu-graph-validation.js +17 -1
- package/dist/gpu-core/gpu-graph-validation.js.map +1 -1
- package/dist/gpu-core/gpu-graph-value.cjs +3 -2
- package/dist/gpu-core/gpu-graph-value.d.ts +6 -4
- package/dist/gpu-core/gpu-graph-value.d.ts.map +1 -1
- package/dist/gpu-core/gpu-graph-value.js +6 -3
- package/dist/gpu-core/gpu-graph-value.js.map +1 -1
- package/dist/gpu-core/gpu-graph.cjs +7 -2
- package/dist/gpu-core/gpu-graph.d.ts +9 -1
- package/dist/gpu-core/gpu-graph.d.ts.map +1 -1
- package/dist/gpu-core/gpu-graph.js +9 -2
- package/dist/gpu-core/gpu-graph.js.map +1 -1
- package/dist/gpu-core/gpu-group-aggregation.cjs +2 -2
- package/dist/gpu-core/gpu-group-aggregation.js +1 -1
- package/dist/gpu-core/gpu-group-aggregation.js.map +1 -1
- package/dist/gpu-core/gpu-hash-index.cjs +2 -2
- package/dist/gpu-core/gpu-hash-index.js +1 -1
- package/dist/gpu-core/gpu-hash-index.js.map +1 -1
- package/dist/gpu-core/gpu-hash-join.cjs +2 -2
- package/dist/gpu-core/gpu-hash-join.js +1 -1
- package/dist/gpu-core/gpu-hash-join.js.map +1 -1
- package/dist/gpu-core/gpu-hierarchy-layout.cjs +2 -2
- package/dist/gpu-core/gpu-hierarchy-layout.js +1 -1
- package/dist/gpu-core/gpu-hierarchy-layout.js.map +1 -1
- package/dist/gpu-core/gpu-histogram.cjs +2 -2
- package/dist/gpu-core/gpu-histogram.js +1 -1
- package/dist/gpu-core/gpu-histogram.js.map +1 -1
- package/dist/gpu-core/gpu-incremental-execution.cjs +1 -1
- package/dist/gpu-core/gpu-incremental-execution.d.ts +1 -1
- package/dist/gpu-core/gpu-incremental-execution.js +1 -1
- package/dist/gpu-core/gpu-index-picking-target.cjs +3 -3
- package/dist/gpu-core/gpu-index-picking-target.js +1 -1
- package/dist/gpu-core/gpu-index-picking-target.js.map +1 -1
- package/dist/gpu-core/gpu-indexed-range-compaction.cjs +2 -2
- package/dist/gpu-core/gpu-indexed-range-compaction.js +1 -1
- package/dist/gpu-core/gpu-indexed-range-compaction.js.map +1 -1
- package/dist/gpu-core/gpu-lz-byte-batch-decompressor.cjs +2 -2
- package/dist/gpu-core/gpu-lz-byte-batch-decompressor.js +1 -1
- package/dist/gpu-core/gpu-lz-byte-batch-decompressor.js.map +1 -1
- package/dist/gpu-core/gpu-lz-byte-decompressor.cjs +2 -2
- package/dist/gpu-core/gpu-lz-byte-decompressor.js +1 -1
- package/dist/gpu-core/gpu-lz-byte-decompressor.js.map +1 -1
- package/dist/gpu-core/gpu-mask.cjs +2 -2
- package/dist/gpu-core/gpu-mask.js +1 -1
- package/dist/gpu-core/gpu-mask.js.map +1 -1
- package/dist/gpu-core/gpu-operation-contract.cjs +63 -0
- package/dist/gpu-core/gpu-operation-contract.d.ts +30 -0
- package/dist/gpu-core/gpu-operation-contract.d.ts.map +1 -0
- package/dist/gpu-core/gpu-operation-contract.js +46 -0
- package/dist/gpu-core/gpu-operation-contract.js.map +1 -0
- package/dist/gpu-core/gpu-operation.d.ts +3 -0
- 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-predicate-conjunction.cjs +2 -2
- package/dist/gpu-core/gpu-predicate-conjunction.js +1 -1
- package/dist/gpu-core/gpu-predicate-conjunction.js.map +1 -1
- package/dist/gpu-core/gpu-reduction-substrate.cjs +2 -2
- package/dist/gpu-core/gpu-reduction-substrate.js +1 -1
- package/dist/gpu-core/gpu-reduction-substrate.js.map +1 -1
- package/dist/gpu-core/gpu-reduction.cjs +2 -2
- package/dist/gpu-core/gpu-reduction.js +1 -1
- package/dist/gpu-core/gpu-reduction.js.map +1 -1
- package/dist/gpu-core/gpu-scalar-dispatch-gate.cjs +2 -2
- package/dist/gpu-core/gpu-scalar-dispatch-gate.js +1 -1
- package/dist/gpu-core/gpu-scalar-dispatch-gate.js.map +1 -1
- package/dist/gpu-core/gpu-scalar-literal.cjs +2 -2
- package/dist/gpu-core/gpu-scalar-literal.js +1 -1
- package/dist/gpu-core/gpu-scalar-literal.js.map +1 -1
- package/dist/gpu-core/gpu-scalar-operation.cjs +2 -2
- package/dist/gpu-core/gpu-scalar-operation.js +1 -1
- package/dist/gpu-core/gpu-scalar-operation.js.map +1 -1
- package/dist/gpu-core/gpu-scan.cjs +3 -3
- package/dist/gpu-core/gpu-scan.js +1 -1
- package/dist/gpu-core/gpu-scan.js.map +1 -1
- package/dist/gpu-core/gpu-scatter.cjs +1 -1
- package/dist/gpu-core/gpu-scatter.d.ts +1 -1
- package/dist/gpu-core/gpu-scatter.js +1 -1
- package/dist/gpu-core/gpu-scene-draw-generation.cjs +2 -2
- package/dist/gpu-core/gpu-scene-draw-generation.js +1 -1
- package/dist/gpu-core/gpu-scene-draw-generation.js.map +1 -1
- package/dist/gpu-core/gpu-scene-resource-groups.cjs +2 -2
- package/dist/gpu-core/gpu-scene-resource-groups.js +1 -1
- package/dist/gpu-core/gpu-scene-resource-groups.js.map +1 -1
- package/dist/gpu-core/gpu-segment-offsets.cjs +2 -2
- package/dist/gpu-core/gpu-segment-offsets.js +1 -1
- package/dist/gpu-core/gpu-segment-offsets.js.map +1 -1
- package/dist/gpu-core/gpu-segmented-bvh.cjs +2 -2
- package/dist/gpu-core/gpu-segmented-bvh.js +1 -1
- package/dist/gpu-core/gpu-segmented-bvh.js.map +1 -1
- package/dist/gpu-core/gpu-segmented-layout.cjs +2 -2
- package/dist/gpu-core/gpu-segmented-layout.js +1 -1
- package/dist/gpu-core/gpu-segmented-layout.js.map +1 -1
- package/dist/gpu-core/gpu-segmented-reduction.cjs +2 -2
- package/dist/gpu-core/gpu-segmented-reduction.js +1 -1
- package/dist/gpu-core/gpu-segmented-reduction.js.map +1 -1
- package/dist/gpu-core/gpu-segmented-scan.cjs +2 -2
- package/dist/gpu-core/gpu-segmented-scan.js +1 -1
- package/dist/gpu-core/gpu-segmented-scan.js.map +1 -1
- package/dist/gpu-core/gpu-segmented-sort.cjs +2 -2
- package/dist/gpu-core/gpu-segmented-sort.js +1 -1
- package/dist/gpu-core/gpu-segmented-sort.js.map +1 -1
- package/dist/gpu-core/gpu-semantic-scalar-operation.cjs +9 -0
- package/dist/gpu-core/gpu-semantic-scalar-operation.d.ts +2 -0
- package/dist/gpu-core/gpu-semantic-scalar-operation.d.ts.map +1 -1
- package/dist/gpu-core/gpu-semantic-scalar-operation.js +9 -0
- package/dist/gpu-core/gpu-semantic-scalar-operation.js.map +1 -1
- package/dist/gpu-core/gpu-semantic-spmv.cjs +13 -1
- package/dist/gpu-core/gpu-semantic-spmv.d.ts +2 -0
- package/dist/gpu-core/gpu-semantic-spmv.d.ts.map +1 -1
- package/dist/gpu-core/gpu-semantic-spmv.js +13 -1
- package/dist/gpu-core/gpu-semantic-spmv.js.map +1 -1
- package/dist/gpu-core/gpu-semantic-state-operation.cjs +3 -0
- package/dist/gpu-core/gpu-semantic-state-operation.d.ts +2 -0
- package/dist/gpu-core/gpu-semantic-state-operation.d.ts.map +1 -1
- package/dist/gpu-core/gpu-semantic-state-operation.js +3 -0
- package/dist/gpu-core/gpu-semantic-state-operation.js.map +1 -1
- package/dist/gpu-core/gpu-semantic-vector-operation.cjs +24 -4
- package/dist/gpu-core/gpu-semantic-vector-operation.d.ts +3 -0
- package/dist/gpu-core/gpu-semantic-vector-operation.d.ts.map +1 -1
- package/dist/gpu-core/gpu-semantic-vector-operation.js +28 -4
- package/dist/gpu-core/gpu-semantic-vector-operation.js.map +1 -1
- package/dist/gpu-core/gpu-sort.cjs +2 -2
- package/dist/gpu-core/gpu-sort.js +1 -1
- package/dist/gpu-core/gpu-sort.js.map +1 -1
- package/dist/gpu-core/gpu-spatial-utils.cjs +2 -2
- package/dist/gpu-core/gpu-spatial-utils.js +1 -1
- package/dist/gpu-core/gpu-spatial-utils.js.map +1 -1
- package/dist/gpu-core/gpu-text-selection.cjs +4 -4
- package/dist/gpu-core/gpu-text-selection.js +1 -1
- package/dist/gpu-core/gpu-text-selection.js.map +1 -1
- package/dist/gpu-core/gpu-transpose-benchmark.cjs +2 -2
- package/dist/gpu-core/gpu-transpose-benchmark.js +1 -1
- package/dist/gpu-core/gpu-transpose-benchmark.js.map +1 -1
- package/dist/gpu-core/gpu-transpose.cjs +3 -3
- package/dist/gpu-core/gpu-transpose.js +2 -2
- package/dist/gpu-core/gpu-transpose.js.map +1 -1
- package/dist/gpu-core/gpu-uint64-scan.cjs +2 -2
- package/dist/gpu-core/gpu-uint64-scan.js +1 -1
- package/dist/gpu-core/gpu-uint64-scan.js.map +1 -1
- package/dist/gpu-core/gpu-virtual-geometry-selection.cjs +3 -3
- package/dist/gpu-core/gpu-virtual-geometry-selection.js +2 -2
- package/dist/gpu-core/gpu-virtual-geometry-selection.js.map +1 -1
- package/dist/gpu-core/gpu-visibility-workflow.cjs +2 -2
- package/dist/gpu-core/gpu-visibility-workflow.js +1 -1
- package/dist/gpu-core/gpu-visibility-workflow.js.map +1 -1
- package/dist/gpu-core/gpu-workgroup-reduction-benchmark.cjs +2 -2
- package/dist/gpu-core/gpu-workgroup-reduction-benchmark.js +1 -1
- package/dist/gpu-core/gpu-workgroup-reduction-benchmark.js.map +1 -1
- package/dist/gpu-core/gpu-workgroup-scan-benchmark.cjs +2 -2
- package/dist/gpu-core/gpu-workgroup-scan-benchmark.js +1 -1
- package/dist/gpu-core/gpu-workgroup-scan-benchmark.js.map +1 -1
- package/dist/gpu-core/graph-data-view-utils.cjs +1 -1
- package/dist/gpu-core/graph-data-view-utils.d.ts +1 -1
- package/dist/gpu-core/graph-data-view-utils.js +1 -1
- package/dist/gpu-core/graph-vector-view-utils.d.ts +1 -1
- package/dist/gpu-core/index.cjs +6 -3
- package/dist/gpu-core/index.cjs.map +3 -3
- package/dist/gpu-core/index.d.ts +6 -1
- package/dist/gpu-core/index.d.ts.map +1 -1
- package/dist/gpu-core/index.js +2 -1
- package/dist/gpu-core/index.js.map +1 -1
- package/dist/gpu-core/utils/bound-kernel.cjs +3 -3
- package/dist/gpu-core/utils/bound-kernel.d.ts +1 -1
- package/dist/gpu-core/utils/bound-kernel.d.ts.map +1 -1
- package/dist/gpu-core/utils/bound-kernel.js +1 -1
- package/dist/gpu-core/utils/bound-kernel.js.map +1 -1
- package/dist/gpu-crossfilter/gpu-selection.cjs +2 -2
- package/dist/gpu-crossfilter/gpu-selection.js +1 -1
- package/dist/gpu-crossfilter/gpu-selection.js.map +1 -1
- package/dist/gpu-crossfilter/index.cjs.map +3 -3
- package/dist/gpu-data/gpu-constant.cjs +60 -0
- package/dist/gpu-data/gpu-constant.d.ts +20 -0
- package/dist/gpu-data/gpu-constant.d.ts.map +1 -0
- package/dist/gpu-data/gpu-constant.js +39 -0
- package/dist/gpu-data/gpu-constant.js.map +1 -0
- package/dist/gpu-data/gpu-data-format.cjs +133 -0
- package/dist/gpu-data/gpu-data-format.d.ts +88 -0
- package/dist/gpu-data/gpu-data-format.d.ts.map +1 -0
- package/dist/gpu-data/gpu-data-format.js +139 -0
- package/dist/gpu-data/gpu-data-format.js.map +1 -0
- package/dist/gpu-data/gpu-data-view.cjs +98 -0
- package/dist/gpu-data/gpu-data-view.d.ts +64 -0
- package/dist/gpu-data/gpu-data-view.d.ts.map +1 -0
- package/dist/gpu-data/gpu-data-view.js +85 -0
- package/dist/gpu-data/gpu-data-view.js.map +1 -0
- package/dist/gpu-data/gpu-data.cjs +180 -0
- package/dist/gpu-data/gpu-data.d.ts +178 -0
- package/dist/gpu-data/gpu-data.d.ts.map +1 -0
- package/dist/gpu-data/gpu-data.js +186 -0
- package/dist/gpu-data/gpu-data.js.map +1 -0
- package/dist/gpu-data/gpu-sparse-matrix.cjs +77 -0
- package/dist/gpu-data/gpu-sparse-matrix.d.ts +34 -0
- package/dist/gpu-data/gpu-sparse-matrix.d.ts.map +1 -0
- package/dist/gpu-data/gpu-sparse-matrix.js +54 -0
- package/dist/gpu-data/gpu-sparse-matrix.js.map +1 -0
- package/dist/gpu-data/gpu-vector-chunks.cjs +34 -0
- package/dist/gpu-data/gpu-vector-chunks.d.ts +13 -0
- package/dist/gpu-data/gpu-vector-chunks.d.ts.map +1 -0
- package/dist/gpu-data/gpu-vector-chunks.js +13 -0
- package/dist/gpu-data/gpu-vector-chunks.js.map +1 -0
- package/dist/gpu-data/gpu-vector-format.cjs +173 -0
- package/dist/gpu-data/gpu-vector-format.d.ts +81 -0
- package/dist/gpu-data/gpu-vector-format.d.ts.map +1 -0
- package/dist/gpu-data/gpu-vector-format.js +153 -0
- package/dist/gpu-data/gpu-vector-format.js.map +1 -0
- package/dist/gpu-data/gpu-vector-like.cjs +15 -0
- package/dist/gpu-data/gpu-vector-like.d.ts +22 -0
- package/dist/gpu-data/gpu-vector-like.d.ts.map +1 -0
- package/dist/gpu-data/gpu-vector-like.js +5 -0
- package/dist/gpu-data/gpu-vector-like.js.map +1 -0
- package/dist/gpu-data/gpu-vector-utils.cjs +86 -0
- package/dist/gpu-data/gpu-vector-utils.d.ts +21 -0
- package/dist/gpu-data/gpu-vector-utils.d.ts.map +1 -0
- package/dist/gpu-data/gpu-vector-utils.js +59 -0
- package/dist/gpu-data/gpu-vector-utils.js.map +1 -0
- package/dist/gpu-data/gpu-vector.cjs +273 -0
- package/dist/gpu-data/gpu-vector.d.ts +178 -0
- package/dist/gpu-data/gpu-vector.d.ts.map +1 -0
- package/dist/gpu-data/gpu-vector.js +263 -0
- package/dist/gpu-data/gpu-vector.js.map +1 -0
- package/dist/gpu-data/index.cjs +79 -0
- package/dist/gpu-data/index.cjs.map +6 -0
- package/dist/gpu-data/index.d.ts +11 -0
- package/dist/gpu-data/index.d.ts.map +1 -0
- package/dist/gpu-data/index.js +13 -0
- package/dist/gpu-data/index.js.map +1 -0
- package/dist/gpu-dataframe/gpu-analytics-compiler-utils.cjs +3 -3
- package/dist/gpu-dataframe/gpu-analytics-compiler-utils.d.ts +1 -1
- package/dist/gpu-dataframe/gpu-analytics-compiler-utils.js +2 -2
- package/dist/gpu-dataframe/gpu-analytics-compiler-utils.js.map +1 -1
- package/dist/gpu-dataframe/gpu-data-frame.cjs +1 -1
- package/dist/gpu-dataframe/gpu-data-frame.d.ts +1 -1
- package/dist/gpu-dataframe/gpu-data-frame.js +1 -1
- package/dist/gpu-dataframe/gpu-global-sort-compiler.d.ts +1 -1
- package/dist/gpu-dataframe/gpu-group-aggregation-compiler.cjs +1 -1
- package/dist/gpu-dataframe/gpu-group-aggregation-compiler.js +1 -1
- package/dist/gpu-dataframe/gpu-join-compiler.cjs +1 -1
- package/dist/gpu-dataframe/gpu-join-compiler.d.ts +1 -1
- package/dist/gpu-dataframe/gpu-join-compiler.js +1 -1
- package/dist/gpu-dataframe/gpu-query-compiler.cjs +3 -3
- package/dist/gpu-dataframe/gpu-query-compiler.d.ts +1 -1
- package/dist/gpu-dataframe/gpu-query-compiler.js +2 -2
- package/dist/gpu-dataframe/gpu-query-compiler.js.map +1 -1
- package/dist/gpu-dataframe/index.cjs.map +3 -3
- package/dist/gpu-dggs/benchmarks.cjs.map +3 -3
- package/dist/gpu-dggs/gpu-dggs-cell-projection.cjs +4 -4
- package/dist/gpu-dggs/gpu-dggs-cell-projection.js +2 -2
- package/dist/gpu-dggs/gpu-dggs-cell-projection.js.map +1 -1
- package/dist/gpu-dggs/index.cjs.map +3 -3
- package/dist/gpu-effects/index.cjs.map +3 -3
- package/dist/gpu-geometry/index.cjs.map +3 -3
- package/dist/gpu-graph/index.cjs +2 -5
- package/dist/gpu-graph/index.cjs.map +3 -3
- package/dist/gpu-graph/index.d.ts +3 -1
- package/dist/gpu-graph/index.d.ts.map +1 -1
- package/dist/gpu-graph/index.js +0 -1
- package/dist/gpu-graph/index.js.map +1 -1
- package/dist/gpu-graph-algorithms/benchmarks.cjs.map +3 -3
- package/dist/gpu-graph-algorithms/gpu-graph-benchmark.cjs +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-benchmark.js +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-breadth-first-search-internals.cjs +2 -2
- package/dist/gpu-graph-algorithms/gpu-graph-breadth-first-search-internals.js +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-breadth-first-search-internals.js.map +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-breadth-first-search.d.ts +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-connected-components-internals.cjs +2 -2
- package/dist/gpu-graph-algorithms/gpu-graph-connected-components-internals.js +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-connected-components-internals.js.map +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-connected-components.d.ts +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-core-number-internals.cjs +2 -2
- package/dist/gpu-graph-algorithms/gpu-graph-core-number-internals.js +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-core-number-internals.js.map +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-core-number.d.ts +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-degree-internals.cjs +2 -2
- package/dist/gpu-graph-algorithms/gpu-graph-degree-internals.js +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-degree-internals.js.map +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-degree.d.ts +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-force-layout-internals.cjs +2 -2
- package/dist/gpu-graph-algorithms/gpu-graph-force-layout-internals.js +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-force-layout-internals.js.map +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-force-layout.d.ts +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-label-propagation-internals.cjs +2 -2
- package/dist/gpu-graph-algorithms/gpu-graph-label-propagation-internals.js +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-label-propagation-internals.js.map +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-label-propagation.d.ts +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-local-clustering-coefficient-internals.cjs +2 -2
- package/dist/gpu-graph-algorithms/gpu-graph-local-clustering-coefficient-internals.js +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-local-clustering-coefficient-internals.js.map +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-local-clustering-coefficient.d.ts +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-modularity-internals.cjs +2 -2
- package/dist/gpu-graph-algorithms/gpu-graph-modularity-internals.js +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-modularity-internals.js.map +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-modularity-optimization-internals.cjs +2 -2
- package/dist/gpu-graph-algorithms/gpu-graph-modularity-optimization-internals.js +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-modularity-optimization-internals.js.map +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-modularity-optimization.d.ts +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-modularity.d.ts +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-page-rank-internals.cjs +2 -2
- package/dist/gpu-graph-algorithms/gpu-graph-page-rank-internals.js +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-page-rank-internals.js.map +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-page-rank.d.ts +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-single-source-shortest-path-internals.cjs +2 -2
- package/dist/gpu-graph-algorithms/gpu-graph-single-source-shortest-path-internals.js +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-single-source-shortest-path-internals.js.map +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-single-source-shortest-path.d.ts +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-spatial-force-layout-internals.cjs +2 -2
- package/dist/gpu-graph-algorithms/gpu-graph-spatial-force-layout-internals.js +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-spatial-force-layout-internals.js.map +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-spatial-force-layout.d.ts +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-topology-internals.cjs +2 -2
- package/dist/gpu-graph-algorithms/gpu-graph-topology-internals.js +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-topology-internals.js.map +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph-topology.d.ts +1 -1
- package/dist/gpu-graph-algorithms/gpu-graph.d.ts +1 -1
- package/dist/gpu-graph-algorithms/index.cjs.map +3 -3
- package/dist/gpu-h3/index.cjs.map +3 -3
- package/dist/gpu-parse/index.cjs.map +3 -3
- package/dist/gpu-parse/parquet/gpu-parquet-bit-packed-decoder.cjs +2 -2
- package/dist/gpu-parse/parquet/gpu-parquet-bit-packed-decoder.js +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-bit-packed-decoder.js.map +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-byte-stream-split-batch-decoder.cjs +2 -2
- package/dist/gpu-parse/parquet/gpu-parquet-byte-stream-split-batch-decoder.js +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-byte-stream-split-batch-decoder.js.map +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-byte-stream-split-decoder.cjs +2 -2
- package/dist/gpu-parse/parquet/gpu-parquet-byte-stream-split-decoder.js +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-byte-stream-split-decoder.js.map +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-delta-binary-packed-int64-unpacker.cjs +2 -2
- package/dist/gpu-parse/parquet/gpu-parquet-delta-binary-packed-int64-unpacker.js +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-delta-binary-packed-int64-unpacker.js.map +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-delta-binary-packed-unpacker.cjs +2 -2
- package/dist/gpu-parse/parquet/gpu-parquet-delta-binary-packed-unpacker.js +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-delta-binary-packed-unpacker.js.map +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-delta-byte-array-decoder.cjs +2 -2
- package/dist/gpu-parse/parquet/gpu-parquet-delta-byte-array-decoder.js +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-delta-byte-array-decoder.js.map +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-dictionary-decoder.cjs +2 -2
- package/dist/gpu-parse/parquet/gpu-parquet-dictionary-decoder.js +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-dictionary-decoder.js.map +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-level-layout.cjs +2 -2
- package/dist/gpu-parse/parquet/gpu-parquet-level-layout.js +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-level-layout.js.map +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-nested-column-layout.cjs +2 -2
- package/dist/gpu-parse/parquet/gpu-parquet-nested-column-layout.js +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-nested-column-layout.js.map +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-plain-boolean-decoder.cjs +2 -2
- package/dist/gpu-parse/parquet/gpu-parquet-plain-boolean-decoder.js +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-plain-boolean-decoder.js.map +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-rle-bit-packed-decoder.cjs +2 -2
- package/dist/gpu-parse/parquet/gpu-parquet-rle-bit-packed-decoder.js +1 -1
- package/dist/gpu-parse/parquet/gpu-parquet-rle-bit-packed-decoder.js.map +1 -1
- package/dist/gpu-physics/index.cjs.map +3 -3
- package/dist/gpu-physics/rigid-body-broad-phase.cjs +2 -2
- package/dist/gpu-physics/rigid-body-broad-phase.js +1 -1
- package/dist/gpu-physics/rigid-body-broad-phase.js.map +1 -1
- package/dist/gpu-pointcloud/index.cjs.map +3 -3
- package/dist/gpu-project/benchmarks.cjs.map +3 -3
- package/dist/gpu-project/crs.cjs.map +3 -3
- package/dist/gpu-project/gpu-projection-table.cjs +1 -1
- package/dist/gpu-project/gpu-projection-table.js +1 -1
- package/dist/gpu-project/index.cjs.map +3 -3
- package/dist/gpu-project/projection-program.cjs +2 -2
- package/dist/gpu-project/projection-program.d.ts +1 -1
- package/dist/gpu-project/projection-program.d.ts.map +1 -1
- package/dist/gpu-project/projection-program.js +1 -1
- package/dist/gpu-project/projection-program.js.map +1 -1
- package/dist/gpu-project/projection-table-benchmark.cjs +1 -1
- package/dist/gpu-project/projection-table-benchmark.js +1 -1
- package/dist/gpu-raster/gpu-raster-band-math.cjs +2 -2
- package/dist/gpu-raster/gpu-raster-band-math.js +1 -1
- package/dist/gpu-raster/gpu-raster-band-math.js.map +1 -1
- package/dist/gpu-raster/gpu-raster-buffer-to-texture.cjs +2 -2
- package/dist/gpu-raster/gpu-raster-buffer-to-texture.js +1 -1
- package/dist/gpu-raster/gpu-raster-buffer-to-texture.js.map +1 -1
- package/dist/gpu-raster/gpu-raster-connected-components.cjs +2 -2
- package/dist/gpu-raster/gpu-raster-connected-components.js +1 -1
- package/dist/gpu-raster/gpu-raster-connected-components.js.map +1 -1
- package/dist/gpu-raster/gpu-raster-contours.cjs +2 -2
- package/dist/gpu-raster/gpu-raster-contours.js +1 -1
- package/dist/gpu-raster/gpu-raster-contours.js.map +1 -1
- package/dist/gpu-raster/gpu-raster-contrast.cjs +3 -3
- package/dist/gpu-raster/gpu-raster-contrast.js +1 -1
- package/dist/gpu-raster/gpu-raster-contrast.js.map +1 -1
- package/dist/gpu-raster/gpu-raster-cross-tile-components.cjs +2 -2
- package/dist/gpu-raster/gpu-raster-cross-tile-components.js +1 -1
- package/dist/gpu-raster/gpu-raster-cross-tile-components.js.map +1 -1
- package/dist/gpu-raster/gpu-raster-dense-components.cjs +2 -2
- package/dist/gpu-raster/gpu-raster-dense-components.js +1 -1
- package/dist/gpu-raster/gpu-raster-dense-components.js.map +1 -1
- package/dist/gpu-raster/gpu-raster-edges.cjs +2 -2
- package/dist/gpu-raster/gpu-raster-edges.js +1 -1
- package/dist/gpu-raster/gpu-raster-edges.js.map +1 -1
- package/dist/gpu-raster/gpu-raster-global-statistics.cjs +2 -2
- package/dist/gpu-raster/gpu-raster-global-statistics.js +1 -1
- package/dist/gpu-raster/gpu-raster-global-statistics.js.map +1 -1
- package/dist/gpu-raster/gpu-raster-histogram.cjs +2 -2
- package/dist/gpu-raster/gpu-raster-histogram.js +1 -1
- package/dist/gpu-raster/gpu-raster-histogram.js.map +1 -1
- package/dist/gpu-raster/gpu-raster-morphology.cjs +2 -2
- package/dist/gpu-raster/gpu-raster-morphology.js +1 -1
- package/dist/gpu-raster/gpu-raster-morphology.js.map +1 -1
- package/dist/gpu-raster/gpu-raster-neighborhood.cjs +2 -2
- package/dist/gpu-raster/gpu-raster-neighborhood.js +1 -1
- package/dist/gpu-raster/gpu-raster-neighborhood.js.map +1 -1
- package/dist/gpu-raster/gpu-raster-overview.cjs +2 -2
- package/dist/gpu-raster/gpu-raster-overview.js +1 -1
- package/dist/gpu-raster/gpu-raster-overview.js.map +1 -1
- package/dist/gpu-raster/gpu-raster-region-measurements.cjs +2 -2
- package/dist/gpu-raster/gpu-raster-region-measurements.js +1 -1
- package/dist/gpu-raster/gpu-raster-region-measurements.js.map +1 -1
- package/dist/gpu-raster/gpu-raster-statistics.cjs +3 -3
- package/dist/gpu-raster/gpu-raster-statistics.js +1 -1
- package/dist/gpu-raster/gpu-raster-statistics.js.map +1 -1
- package/dist/gpu-raster/gpu-raster-texture-to-buffer.cjs +2 -2
- package/dist/gpu-raster/gpu-raster-texture-to-buffer.js +1 -1
- package/dist/gpu-raster/gpu-raster-texture-to-buffer.js.map +1 -1
- package/dist/gpu-raster/gpu-raster-threshold.cjs +3 -3
- package/dist/gpu-raster/gpu-raster-threshold.js +1 -1
- package/dist/gpu-raster/gpu-raster-threshold.js.map +1 -1
- package/dist/gpu-raster/gpu-raster-tile-halo.cjs +2 -2
- package/dist/gpu-raster/gpu-raster-tile-halo.js +1 -1
- package/dist/gpu-raster/gpu-raster-tile-halo.js.map +1 -1
- package/dist/gpu-raster/index.cjs.map +3 -3
- package/dist/gpu-simple-graph/compiled-gpu-expression-graph.cjs +228 -0
- package/dist/gpu-simple-graph/compiled-gpu-expression-graph.d.ts +15 -0
- package/dist/gpu-simple-graph/compiled-gpu-expression-graph.d.ts.map +1 -0
- package/dist/gpu-simple-graph/compiled-gpu-expression-graph.js +228 -0
- package/dist/gpu-simple-graph/compiled-gpu-expression-graph.js.map +1 -0
- package/dist/gpu-simple-graph/gpu-expression-cast-operation.cjs +150 -0
- package/dist/gpu-simple-graph/gpu-expression-cast-operation.d.ts +18 -0
- package/dist/gpu-simple-graph/gpu-expression-cast-operation.d.ts.map +1 -0
- package/dist/gpu-simple-graph/gpu-expression-cast-operation.js +123 -0
- package/dist/gpu-simple-graph/gpu-expression-cast-operation.js.map +1 -0
- package/dist/gpu-simple-graph/gpu-expression-row-operation.cjs +100 -0
- package/dist/gpu-simple-graph/gpu-expression-row-operation.d.ts +15 -0
- package/dist/gpu-simple-graph/gpu-expression-row-operation.d.ts.map +1 -0
- package/dist/gpu-simple-graph/gpu-expression-row-operation.js +74 -0
- package/dist/gpu-simple-graph/gpu-expression-row-operation.js.map +1 -0
- package/dist/gpu-simple-graph/gpu-simple-graph-lowering.cjs +14 -12
- package/dist/gpu-simple-graph/gpu-simple-graph-lowering.d.ts +2 -1
- package/dist/gpu-simple-graph/gpu-simple-graph-lowering.d.ts.map +1 -1
- package/dist/gpu-simple-graph/gpu-simple-graph-lowering.js +3 -1
- package/dist/gpu-simple-graph/gpu-simple-graph-lowering.js.map +1 -1
- package/dist/gpu-simple-graph/gpu-simple-graph-operation.cjs +5 -4
- package/dist/gpu-simple-graph/gpu-simple-graph-operation.d.ts +3 -2
- package/dist/gpu-simple-graph/gpu-simple-graph-operation.d.ts.map +1 -1
- package/dist/gpu-simple-graph/gpu-simple-graph-operation.js +2 -1
- package/dist/gpu-simple-graph/gpu-simple-graph-operation.js.map +1 -1
- package/dist/gpu-simple-graph/gpu-simple-graph-transfer.cjs +7 -5
- package/dist/gpu-simple-graph/gpu-simple-graph-transfer.d.ts.map +1 -1
- package/dist/gpu-simple-graph/gpu-simple-graph-transfer.js +3 -1
- package/dist/gpu-simple-graph/gpu-simple-graph-transfer.js.map +1 -1
- package/dist/gpu-simple-graph/gpu-simple-graph-value.cjs +44 -31
- package/dist/gpu-simple-graph/gpu-simple-graph-value.d.ts +17 -3
- package/dist/gpu-simple-graph/gpu-simple-graph-value.d.ts.map +1 -1
- package/dist/gpu-simple-graph/gpu-simple-graph-value.js +15 -2
- package/dist/gpu-simple-graph/gpu-simple-graph-value.js.map +1 -1
- package/dist/gpu-simple-graph/gpu-simple-graph.cjs +39 -14
- package/dist/gpu-simple-graph/gpu-simple-graph.d.ts +22 -5
- package/dist/gpu-simple-graph/gpu-simple-graph.d.ts.map +1 -1
- package/dist/gpu-simple-graph/gpu-simple-graph.js +34 -8
- package/dist/gpu-simple-graph/gpu-simple-graph.js.map +1 -1
- package/dist/gpu-simple-graph/index.cjs +99 -2
- package/dist/gpu-simple-graph/index.cjs.map +3 -3
- package/dist/gpu-simple-graph/index.d.ts +30 -0
- package/dist/gpu-simple-graph/index.d.ts.map +1 -1
- package/dist/gpu-simple-graph/index.js +25 -0
- package/dist/gpu-simple-graph/index.js.map +1 -1
- package/dist/gpu-simple-graph/operation/backend-registry.cjs +145 -0
- package/dist/gpu-simple-graph/operation/backend-registry.d.ts +44 -0
- package/dist/gpu-simple-graph/operation/backend-registry.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operation/backend-registry.js +135 -0
- package/dist/gpu-simple-graph/operation/backend-registry.js.map +1 -0
- package/dist/gpu-simple-graph/operation/gpu-data-evaluator.cjs +707 -0
- package/dist/gpu-simple-graph/operation/gpu-data-evaluator.d.ts +248 -0
- package/dist/gpu-simple-graph/operation/gpu-data-evaluator.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operation/gpu-data-evaluator.js +731 -0
- package/dist/gpu-simple-graph/operation/gpu-data-evaluator.js.map +1 -0
- package/dist/gpu-simple-graph/operation/gpu-evaluation-scope.cjs +108 -0
- package/dist/gpu-simple-graph/operation/gpu-evaluation-scope.d.ts +39 -0
- package/dist/gpu-simple-graph/operation/gpu-evaluation-scope.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operation/gpu-evaluation-scope.js +99 -0
- package/dist/gpu-simple-graph/operation/gpu-evaluation-scope.js.map +1 -0
- package/dist/gpu-simple-graph/operation/gpu-evaluator-inspection.cjs +84 -0
- package/dist/gpu-simple-graph/operation/gpu-evaluator-inspection.d.ts +36 -0
- package/dist/gpu-simple-graph/operation/gpu-evaluator-inspection.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operation/gpu-evaluator-inspection.js +71 -0
- package/dist/gpu-simple-graph/operation/gpu-evaluator-inspection.js.map +1 -0
- package/dist/gpu-simple-graph/operation/gpu-table-format-types.cjs +15 -0
- package/dist/gpu-simple-graph/operation/gpu-table-format-types.d.ts +30 -0
- package/dist/gpu-simple-graph/operation/gpu-table-format-types.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operation/gpu-table-format-types.js +5 -0
- package/dist/gpu-simple-graph/operation/gpu-table-format-types.js.map +1 -0
- package/dist/gpu-simple-graph/operation/gpu-vector-evaluator.cjs +236 -0
- package/dist/gpu-simple-graph/operation/gpu-vector-evaluator.d.ts +107 -0
- package/dist/gpu-simple-graph/operation/gpu-vector-evaluator.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operation/gpu-vector-evaluator.js +232 -0
- package/dist/gpu-simple-graph/operation/gpu-vector-evaluator.js.map +1 -0
- package/dist/gpu-simple-graph/operation/operation.cjs +100 -0
- package/dist/gpu-simple-graph/operation/operation.d.ts +56 -0
- package/dist/gpu-simple-graph/operation/operation.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operation/operation.js +85 -0
- package/dist/gpu-simple-graph/operation/operation.js.map +1 -0
- package/dist/gpu-simple-graph/operations/arithmetic-expression.cjs +40 -0
- package/dist/gpu-simple-graph/operations/arithmetic-expression.d.ts +9 -0
- package/dist/gpu-simple-graph/operations/arithmetic-expression.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/arithmetic-expression.js +18 -0
- package/dist/gpu-simple-graph/operations/arithmetic-expression.js.map +1 -0
- package/dist/gpu-simple-graph/operations/arithmetic-operation.cjs +210 -0
- package/dist/gpu-simple-graph/operations/arithmetic-operation.d.ts +14 -0
- package/dist/gpu-simple-graph/operations/arithmetic-operation.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/arithmetic-operation.js +192 -0
- package/dist/gpu-simple-graph/operations/arithmetic-operation.js.map +1 -0
- package/dist/gpu-simple-graph/operations/arithmetic.cjs +94 -0
- package/dist/gpu-simple-graph/operations/arithmetic.d.ts +63 -0
- package/dist/gpu-simple-graph/operations/arithmetic.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/arithmetic.js +98 -0
- package/dist/gpu-simple-graph/operations/arithmetic.js.map +1 -0
- package/dist/gpu-simple-graph/operations/cast-data.cjs +61 -0
- package/dist/gpu-simple-graph/operations/cast-data.d.ts +18 -0
- package/dist/gpu-simple-graph/operations/cast-data.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/cast-data.js +41 -0
- package/dist/gpu-simple-graph/operations/cast-data.js.map +1 -0
- package/dist/gpu-simple-graph/operations/convert-colors.cjs +66 -0
- package/dist/gpu-simple-graph/operations/convert-colors.d.ts +12 -0
- package/dist/gpu-simple-graph/operations/convert-colors.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/convert-colors.js +45 -0
- package/dist/gpu-simple-graph/operations/convert-colors.js.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/arithmetic.cjs +110 -0
- package/dist/gpu-simple-graph/operations/cpu/arithmetic.d.ts +4 -0
- package/dist/gpu-simple-graph/operations/cpu/arithmetic.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/arithmetic.js +88 -0
- package/dist/gpu-simple-graph/operations/cpu/arithmetic.js.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/cast-data.cjs +83 -0
- package/dist/gpu-simple-graph/operations/cpu/cast-data.d.ts +5 -0
- package/dist/gpu-simple-graph/operations/cpu/cast-data.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/cast-data.js +62 -0
- package/dist/gpu-simple-graph/operations/cpu/cast-data.js.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/common.cjs +106 -0
- package/dist/gpu-simple-graph/operations/cpu/common.d.ts +23 -0
- package/dist/gpu-simple-graph/operations/cpu/common.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/common.js +85 -0
- package/dist/gpu-simple-graph/operations/cpu/common.js.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/convert-colors.cjs +60 -0
- package/dist/gpu-simple-graph/operations/cpu/convert-colors.d.ts +4 -0
- package/dist/gpu-simple-graph/operations/cpu/convert-colors.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/convert-colors.js +40 -0
- package/dist/gpu-simple-graph/operations/cpu/convert-colors.js.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/dot.cjs +42 -0
- package/dist/gpu-simple-graph/operations/cpu/dot.d.ts +7 -0
- package/dist/gpu-simple-graph/operations/cpu/dot.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/dot.js +20 -0
- package/dist/gpu-simple-graph/operations/cpu/dot.js.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/equal-all.cjs +45 -0
- package/dist/gpu-simple-graph/operations/cpu/equal-all.d.ts +7 -0
- package/dist/gpu-simple-graph/operations/cpu/equal-all.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/equal-all.js +23 -0
- package/dist/gpu-simple-graph/operations/cpu/equal-all.js.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/extent.cjs +62 -0
- package/dist/gpu-simple-graph/operations/cpu/extent.d.ts +6 -0
- package/dist/gpu-simple-graph/operations/cpu/extent.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/extent.js +40 -0
- package/dist/gpu-simple-graph/operations/cpu/extent.js.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/fround.cjs +44 -0
- package/dist/gpu-simple-graph/operations/cpu/fround.d.ts +6 -0
- package/dist/gpu-simple-graph/operations/cpu/fround.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/fround.js +22 -0
- package/dist/gpu-simple-graph/operations/cpu/fround.js.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/gather.cjs +54 -0
- package/dist/gpu-simple-graph/operations/cpu/gather.d.ts +7 -0
- package/dist/gpu-simple-graph/operations/cpu/gather.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/gather.js +34 -0
- package/dist/gpu-simple-graph/operations/cpu/gather.js.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/index.cjs +66 -0
- package/dist/gpu-simple-graph/operations/cpu/index.cjs.map +6 -0
- package/dist/gpu-simple-graph/operations/cpu/index.d.ts +17 -0
- package/dist/gpu-simple-graph/operations/cpu/index.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/index.js +20 -0
- package/dist/gpu-simple-graph/operations/cpu/index.js.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/interleave.cjs +41 -0
- package/dist/gpu-simple-graph/operations/cpu/interleave.d.ts +4 -0
- package/dist/gpu-simple-graph/operations/cpu/interleave.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/interleave.js +19 -0
- package/dist/gpu-simple-graph/operations/cpu/interleave.js.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/length.cjs +41 -0
- package/dist/gpu-simple-graph/operations/cpu/length.d.ts +6 -0
- package/dist/gpu-simple-graph/operations/cpu/length.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/length.js +19 -0
- package/dist/gpu-simple-graph/operations/cpu/length.js.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/segmented-map.cjs +72 -0
- package/dist/gpu-simple-graph/operations/cpu/segmented-map.d.ts +7 -0
- package/dist/gpu-simple-graph/operations/cpu/segmented-map.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/segmented-map.js +52 -0
- package/dist/gpu-simple-graph/operations/cpu/segmented-map.js.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/select.cjs +48 -0
- package/dist/gpu-simple-graph/operations/cpu/select.d.ts +8 -0
- package/dist/gpu-simple-graph/operations/cpu/select.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/select.js +29 -0
- package/dist/gpu-simple-graph/operations/cpu/select.js.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/sequence.cjs +37 -0
- package/dist/gpu-simple-graph/operations/cpu/sequence.d.ts +6 -0
- package/dist/gpu-simple-graph/operations/cpu/sequence.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/sequence.js +15 -0
- package/dist/gpu-simple-graph/operations/cpu/sequence.js.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/swizzle.cjs +40 -0
- package/dist/gpu-simple-graph/operations/cpu/swizzle.d.ts +7 -0
- package/dist/gpu-simple-graph/operations/cpu/swizzle.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/cpu/swizzle.js +18 -0
- package/dist/gpu-simple-graph/operations/cpu/swizzle.js.map +1 -0
- package/dist/gpu-simple-graph/operations/dot.cjs +58 -0
- package/dist/gpu-simple-graph/operations/dot.d.ts +3 -0
- package/dist/gpu-simple-graph/operations/dot.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/dot.js +36 -0
- package/dist/gpu-simple-graph/operations/dot.js.map +1 -0
- package/dist/gpu-simple-graph/operations/equal-all.cjs +57 -0
- package/dist/gpu-simple-graph/operations/equal-all.d.ts +3 -0
- package/dist/gpu-simple-graph/operations/equal-all.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/equal-all.js +35 -0
- package/dist/gpu-simple-graph/operations/equal-all.js.map +1 -0
- package/dist/gpu-simple-graph/operations/extent.cjs +51 -0
- package/dist/gpu-simple-graph/operations/extent.d.ts +9 -0
- package/dist/gpu-simple-graph/operations/extent.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/extent.js +36 -0
- package/dist/gpu-simple-graph/operations/extent.js.map +1 -0
- package/dist/gpu-simple-graph/operations/fround.cjs +49 -0
- package/dist/gpu-simple-graph/operations/fround.d.ts +10 -0
- package/dist/gpu-simple-graph/operations/fround.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/fround.js +35 -0
- package/dist/gpu-simple-graph/operations/fround.js.map +1 -0
- package/dist/gpu-simple-graph/operations/gather.cjs +52 -0
- package/dist/gpu-simple-graph/operations/gather.d.ts +10 -0
- package/dist/gpu-simple-graph/operations/gather.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/gather.js +38 -0
- package/dist/gpu-simple-graph/operations/gather.js.map +1 -0
- package/dist/gpu-simple-graph/operations/interleave.cjs +59 -0
- package/dist/gpu-simple-graph/operations/interleave.d.ts +9 -0
- package/dist/gpu-simple-graph/operations/interleave.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/interleave.js +44 -0
- package/dist/gpu-simple-graph/operations/interleave.js.map +1 -0
- package/dist/gpu-simple-graph/operations/length.cjs +49 -0
- package/dist/gpu-simple-graph/operations/length.d.ts +3 -0
- package/dist/gpu-simple-graph/operations/length.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/length.js +27 -0
- package/dist/gpu-simple-graph/operations/length.js.map +1 -0
- package/dist/gpu-simple-graph/operations/segmented-map.cjs +91 -0
- package/dist/gpu-simple-graph/operations/segmented-map.d.ts +10 -0
- package/dist/gpu-simple-graph/operations/segmented-map.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/segmented-map.js +78 -0
- package/dist/gpu-simple-graph/operations/segmented-map.js.map +1 -0
- package/dist/gpu-simple-graph/operations/select.cjs +61 -0
- package/dist/gpu-simple-graph/operations/select.d.ts +9 -0
- package/dist/gpu-simple-graph/operations/select.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/select.js +46 -0
- package/dist/gpu-simple-graph/operations/select.js.map +1 -0
- package/dist/gpu-simple-graph/operations/sequence.cjs +65 -0
- package/dist/gpu-simple-graph/operations/sequence.d.ts +6 -0
- package/dist/gpu-simple-graph/operations/sequence.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/sequence.js +47 -0
- package/dist/gpu-simple-graph/operations/sequence.js.map +1 -0
- package/dist/gpu-simple-graph/operations/swizzle.cjs +110 -0
- package/dist/gpu-simple-graph/operations/swizzle.d.ts +3 -0
- package/dist/gpu-simple-graph/operations/swizzle.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/swizzle.js +88 -0
- package/dist/gpu-simple-graph/operations/swizzle.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/arithmetic.cjs +77 -0
- package/dist/gpu-simple-graph/operations/webgl/arithmetic.d.ts +4 -0
- package/dist/gpu-simple-graph/operations/webgl/arithmetic.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/arithmetic.js +56 -0
- package/dist/gpu-simple-graph/operations/webgl/arithmetic.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/cast-data.cjs +27 -0
- package/dist/gpu-simple-graph/operations/webgl/cast-data.d.ts +2 -0
- package/dist/gpu-simple-graph/operations/webgl/cast-data.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/cast-data.js +6 -0
- package/dist/gpu-simple-graph/operations/webgl/cast-data.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/common/helper.cjs +147 -0
- package/dist/gpu-simple-graph/operations/webgl/common/helper.d.ts +10 -0
- package/dist/gpu-simple-graph/operations/webgl/common/helper.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/common/helper.js +114 -0
- package/dist/gpu-simple-graph/operations/webgl/common/helper.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/common/random-access-transform.cjs +68 -0
- package/dist/gpu-simple-graph/operations/webgl/common/random-access-transform.d.ts +6 -0
- package/dist/gpu-simple-graph/operations/webgl/common/random-access-transform.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/common/random-access-transform.js +44 -0
- package/dist/gpu-simple-graph/operations/webgl/common/random-access-transform.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/common/row-transform.cjs +201 -0
- package/dist/gpu-simple-graph/operations/webgl/common/row-transform.d.ts +23 -0
- package/dist/gpu-simple-graph/operations/webgl/common/row-transform.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/common/row-transform.js +173 -0
- package/dist/gpu-simple-graph/operations/webgl/common/row-transform.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/common/transform-kernel.cjs +88 -0
- package/dist/gpu-simple-graph/operations/webgl/common/transform-kernel.d.ts +22 -0
- package/dist/gpu-simple-graph/operations/webgl/common/transform-kernel.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/common/transform-kernel.js +71 -0
- package/dist/gpu-simple-graph/operations/webgl/common/transform-kernel.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/convert-colors.cjs +27 -0
- package/dist/gpu-simple-graph/operations/webgl/convert-colors.d.ts +2 -0
- package/dist/gpu-simple-graph/operations/webgl/convert-colors.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/convert-colors.js +7 -0
- package/dist/gpu-simple-graph/operations/webgl/convert-colors.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/dot.cjs +45 -0
- package/dist/gpu-simple-graph/operations/webgl/dot.d.ts +7 -0
- package/dist/gpu-simple-graph/operations/webgl/dot.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/dot.js +24 -0
- package/dist/gpu-simple-graph/operations/webgl/dot.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/equal-all.cjs +48 -0
- package/dist/gpu-simple-graph/operations/webgl/equal-all.d.ts +7 -0
- package/dist/gpu-simple-graph/operations/webgl/equal-all.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/equal-all.js +27 -0
- package/dist/gpu-simple-graph/operations/webgl/equal-all.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/extent.cjs +193 -0
- package/dist/gpu-simple-graph/operations/webgl/extent.d.ts +6 -0
- package/dist/gpu-simple-graph/operations/webgl/extent.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/extent.js +169 -0
- package/dist/gpu-simple-graph/operations/webgl/extent.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/fround.cjs +220 -0
- package/dist/gpu-simple-graph/operations/webgl/fround.d.ts +6 -0
- package/dist/gpu-simple-graph/operations/webgl/fround.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/fround.js +196 -0
- package/dist/gpu-simple-graph/operations/webgl/fround.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/gather.cjs +143 -0
- package/dist/gpu-simple-graph/operations/webgl/gather.d.ts +7 -0
- package/dist/gpu-simple-graph/operations/webgl/gather.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/gather.js +120 -0
- package/dist/gpu-simple-graph/operations/webgl/gather.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/index.cjs +66 -0
- package/dist/gpu-simple-graph/operations/webgl/index.cjs.map +6 -0
- package/dist/gpu-simple-graph/operations/webgl/index.d.ts +17 -0
- package/dist/gpu-simple-graph/operations/webgl/index.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/index.js +20 -0
- package/dist/gpu-simple-graph/operations/webgl/index.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/interleave.cjs +64 -0
- package/dist/gpu-simple-graph/operations/webgl/interleave.d.ts +4 -0
- package/dist/gpu-simple-graph/operations/webgl/interleave.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/interleave.js +47 -0
- package/dist/gpu-simple-graph/operations/webgl/interleave.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/length.cjs +45 -0
- package/dist/gpu-simple-graph/operations/webgl/length.d.ts +6 -0
- package/dist/gpu-simple-graph/operations/webgl/length.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/length.js +24 -0
- package/dist/gpu-simple-graph/operations/webgl/length.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/segmented-map.cjs +102 -0
- package/dist/gpu-simple-graph/operations/webgl/segmented-map.d.ts +7 -0
- package/dist/gpu-simple-graph/operations/webgl/segmented-map.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/segmented-map.js +82 -0
- package/dist/gpu-simple-graph/operations/webgl/segmented-map.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/select.cjs +52 -0
- package/dist/gpu-simple-graph/operations/webgl/select.d.ts +8 -0
- package/dist/gpu-simple-graph/operations/webgl/select.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/select.js +30 -0
- package/dist/gpu-simple-graph/operations/webgl/select.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/sequence.cjs +53 -0
- package/dist/gpu-simple-graph/operations/webgl/sequence.d.ts +6 -0
- package/dist/gpu-simple-graph/operations/webgl/sequence.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/sequence.js +32 -0
- package/dist/gpu-simple-graph/operations/webgl/sequence.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/swizzle.cjs +38 -0
- package/dist/gpu-simple-graph/operations/webgl/swizzle.d.ts +7 -0
- package/dist/gpu-simple-graph/operations/webgl/swizzle.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgl/swizzle.js +16 -0
- package/dist/gpu-simple-graph/operations/webgl/swizzle.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/arithmetic.cjs +79 -0
- package/dist/gpu-simple-graph/operations/webgpu/arithmetic.d.ts +4 -0
- package/dist/gpu-simple-graph/operations/webgpu/arithmetic.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/arithmetic.js +57 -0
- package/dist/gpu-simple-graph/operations/webgpu/arithmetic.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/cast-data.cjs +178 -0
- package/dist/gpu-simple-graph/operations/webgpu/cast-data.d.ts +5 -0
- package/dist/gpu-simple-graph/operations/webgpu/cast-data.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/cast-data.js +174 -0
- package/dist/gpu-simple-graph/operations/webgpu/cast-data.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/common/dispatch.cjs +54 -0
- package/dist/gpu-simple-graph/operations/webgpu/common/dispatch.d.ts +9 -0
- package/dist/gpu-simple-graph/operations/webgpu/common/dispatch.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/common/dispatch.js +29 -0
- package/dist/gpu-simple-graph/operations/webgpu/common/dispatch.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/common/helper.cjs +78 -0
- package/dist/gpu-simple-graph/operations/webgpu/common/helper.d.ts +6 -0
- package/dist/gpu-simple-graph/operations/webgpu/common/helper.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/common/helper.js +50 -0
- package/dist/gpu-simple-graph/operations/webgpu/common/helper.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/common/random-access-transform.cjs +90 -0
- package/dist/gpu-simple-graph/operations/webgpu/common/random-access-transform.d.ts +10 -0
- package/dist/gpu-simple-graph/operations/webgpu/common/random-access-transform.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/common/random-access-transform.js +58 -0
- package/dist/gpu-simple-graph/operations/webgpu/common/random-access-transform.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/common/row-transform.cjs +195 -0
- package/dist/gpu-simple-graph/operations/webgpu/common/row-transform.d.ts +19 -0
- package/dist/gpu-simple-graph/operations/webgpu/common/row-transform.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/common/row-transform.js +180 -0
- package/dist/gpu-simple-graph/operations/webgpu/common/row-transform.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/convert-colors.cjs +154 -0
- package/dist/gpu-simple-graph/operations/webgpu/convert-colors.d.ts +4 -0
- package/dist/gpu-simple-graph/operations/webgpu/convert-colors.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/convert-colors.js +130 -0
- package/dist/gpu-simple-graph/operations/webgpu/convert-colors.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/dot.cjs +47 -0
- package/dist/gpu-simple-graph/operations/webgpu/dot.d.ts +7 -0
- package/dist/gpu-simple-graph/operations/webgpu/dot.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/dot.js +26 -0
- package/dist/gpu-simple-graph/operations/webgpu/dot.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/equal-all.cjs +50 -0
- package/dist/gpu-simple-graph/operations/webgpu/equal-all.d.ts +7 -0
- package/dist/gpu-simple-graph/operations/webgpu/equal-all.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/equal-all.js +29 -0
- package/dist/gpu-simple-graph/operations/webgpu/equal-all.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/extent.cjs +235 -0
- package/dist/gpu-simple-graph/operations/webgpu/extent.d.ts +6 -0
- package/dist/gpu-simple-graph/operations/webgpu/extent.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/extent.js +215 -0
- package/dist/gpu-simple-graph/operations/webgpu/extent.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/fround.cjs +187 -0
- package/dist/gpu-simple-graph/operations/webgpu/fround.d.ts +6 -0
- package/dist/gpu-simple-graph/operations/webgpu/fround.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/fround.js +163 -0
- package/dist/gpu-simple-graph/operations/webgpu/fround.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/gather.cjs +131 -0
- package/dist/gpu-simple-graph/operations/webgpu/gather.d.ts +7 -0
- package/dist/gpu-simple-graph/operations/webgpu/gather.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/gather.js +106 -0
- package/dist/gpu-simple-graph/operations/webgpu/gather.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/index.cjs +66 -0
- package/dist/gpu-simple-graph/operations/webgpu/index.cjs.map +6 -0
- package/dist/gpu-simple-graph/operations/webgpu/index.d.ts +17 -0
- package/dist/gpu-simple-graph/operations/webgpu/index.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/index.js +20 -0
- package/dist/gpu-simple-graph/operations/webgpu/index.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/interleave.cjs +66 -0
- package/dist/gpu-simple-graph/operations/webgpu/interleave.d.ts +4 -0
- package/dist/gpu-simple-graph/operations/webgpu/interleave.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/interleave.js +49 -0
- package/dist/gpu-simple-graph/operations/webgpu/interleave.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/length.cjs +47 -0
- package/dist/gpu-simple-graph/operations/webgpu/length.d.ts +6 -0
- package/dist/gpu-simple-graph/operations/webgpu/length.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/length.js +26 -0
- package/dist/gpu-simple-graph/operations/webgpu/length.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/segmented-map.cjs +104 -0
- package/dist/gpu-simple-graph/operations/webgpu/segmented-map.d.ts +7 -0
- package/dist/gpu-simple-graph/operations/webgpu/segmented-map.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/segmented-map.js +79 -0
- package/dist/gpu-simple-graph/operations/webgpu/segmented-map.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/select.cjs +53 -0
- package/dist/gpu-simple-graph/operations/webgpu/select.d.ts +8 -0
- package/dist/gpu-simple-graph/operations/webgpu/select.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/select.js +31 -0
- package/dist/gpu-simple-graph/operations/webgpu/select.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/sequence.cjs +65 -0
- package/dist/gpu-simple-graph/operations/webgpu/sequence.d.ts +6 -0
- package/dist/gpu-simple-graph/operations/webgpu/sequence.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/sequence.js +44 -0
- package/dist/gpu-simple-graph/operations/webgpu/sequence.js.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/swizzle.cjs +40 -0
- package/dist/gpu-simple-graph/operations/webgpu/swizzle.d.ts +7 -0
- package/dist/gpu-simple-graph/operations/webgpu/swizzle.d.ts.map +1 -0
- package/dist/gpu-simple-graph/operations/webgpu/swizzle.js +18 -0
- package/dist/gpu-simple-graph/operations/webgpu/swizzle.js.map +1 -0
- package/dist/gpu-simple-graph/utils/buffer-pool.cjs +76 -0
- package/dist/gpu-simple-graph/utils/buffer-pool.d.ts +13 -0
- package/dist/gpu-simple-graph/utils/buffer-pool.d.ts.map +1 -0
- package/dist/gpu-simple-graph/utils/buffer-pool.js +57 -0
- package/dist/gpu-simple-graph/utils/buffer-pool.js.map +1 -0
- package/dist/gpu-simple-graph/utils/clean-evaluate.cjs +123 -0
- package/dist/gpu-simple-graph/utils/clean-evaluate.d.ts +22 -0
- package/dist/gpu-simple-graph/utils/clean-evaluate.d.ts.map +1 -0
- package/dist/gpu-simple-graph/utils/clean-evaluate.js +113 -0
- package/dist/gpu-simple-graph/utils/clean-evaluate.js.map +1 -0
- package/dist/gpu-simple-graph/utils/expression.cjs +91 -0
- package/dist/gpu-simple-graph/utils/expression.d.ts +56 -0
- package/dist/gpu-simple-graph/utils/expression.d.ts.map +1 -0
- package/dist/gpu-simple-graph/utils/expression.js +79 -0
- package/dist/gpu-simple-graph/utils/expression.js.map +1 -0
- package/dist/gpu-simple-graph/utils/output-props.cjs +60 -0
- package/dist/gpu-simple-graph/utils/output-props.d.ts +9 -0
- package/dist/gpu-simple-graph/utils/output-props.d.ts.map +1 -0
- package/dist/gpu-simple-graph/utils/output-props.js +42 -0
- package/dist/gpu-simple-graph/utils/output-props.js.map +1 -0
- package/dist/gpu-simple-graph/utils/uid.cjs +32 -0
- package/dist/gpu-simple-graph/utils/uid.d.ts +7 -0
- package/dist/gpu-simple-graph/utils/uid.d.ts.map +1 -0
- package/dist/gpu-simple-graph/utils/uid.js +15 -0
- package/dist/gpu-simple-graph/utils/uid.js.map +1 -0
- package/dist/gpu-simulation/index.cjs.map +3 -3
- package/dist/gpu-sql/index.cjs.map +3 -3
- package/dist/gpu-sql/lu-sql.d.ts +1 -1
- package/dist/gpu-sql/lu-sql.js +1 -1
- package/dist/gpu-tables/engine/gpu-input-schema.d.ts +3 -3
- package/dist/gpu-tables/engine/gpu-table-computation.cjs +3 -3
- package/dist/gpu-tables/engine/gpu-table-computation.d.ts +2 -2
- package/dist/gpu-tables/engine/gpu-table-computation.d.ts.map +1 -1
- package/dist/gpu-tables/engine/gpu-table-computation.js +2 -2
- package/dist/gpu-tables/engine/gpu-table-computation.js.map +1 -1
- package/dist/gpu-tables/engine/gpu-table-shader-bindings.cjs +1 -1
- package/dist/gpu-tables/engine/gpu-table-shader-bindings.d.ts +1 -1
- package/dist/gpu-tables/engine/gpu-table-shader-bindings.d.ts.map +1 -1
- package/dist/gpu-tables/engine/gpu-table-shader-bindings.js +1 -1
- package/dist/gpu-tables/index.cjs.map +3 -3
- package/dist/gpu-tables/table/gpu-record-batch.cjs +1 -1
- package/dist/gpu-tables/table/gpu-record-batch.d.ts +1 -1
- package/dist/gpu-tables/table/gpu-record-batch.js +1 -1
- package/dist/gpu-tables/table/gpu-schema.d.ts +1 -1
- package/dist/gpu-tables/table/gpu-table.cjs +4 -4
- package/dist/gpu-tables/table/gpu-table.d.ts +3 -3
- package/dist/gpu-tables/table/gpu-table.js +4 -4
- package/dist/gpu-timeseries/gpu-time-series-envelope.d.ts +1 -1
- package/dist/gpu-timeseries/gpu-time-series.d.ts +1 -1
- package/dist/gpu-timeseries/index.cjs.map +3 -3
- package/dist/gpu-trace/gpu-trace-anomaly-scoring.cjs +2 -2
- package/dist/gpu-trace/gpu-trace-anomaly-scoring.js +1 -1
- package/dist/gpu-trace/gpu-trace-anomaly-scoring.js.map +1 -1
- package/dist/gpu-trace/gpu-trace-comparison.cjs +2 -2
- package/dist/gpu-trace/gpu-trace-comparison.js +1 -1
- package/dist/gpu-trace/gpu-trace-comparison.js.map +1 -1
- package/dist/gpu-trace/gpu-trace-critical-path.cjs +2 -2
- package/dist/gpu-trace/gpu-trace-critical-path.js +1 -1
- package/dist/gpu-trace/gpu-trace-critical-path.js.map +1 -1
- package/dist/gpu-trace/gpu-trace-interaction.cjs +2 -2
- package/dist/gpu-trace/gpu-trace-interaction.js +1 -1
- package/dist/gpu-trace/gpu-trace-interaction.js.map +1 -1
- package/dist/gpu-trace/gpu-trace-lane-index-builder.cjs +2 -2
- package/dist/gpu-trace/gpu-trace-lane-index-builder.js +1 -1
- package/dist/gpu-trace/gpu-trace-lane-index-builder.js.map +1 -1
- package/dist/gpu-trace/gpu-trace-mipmap-boundaries.cjs +3 -3
- package/dist/gpu-trace/gpu-trace-mipmap-boundaries.js +1 -1
- package/dist/gpu-trace/gpu-trace-mipmap-boundaries.js.map +1 -1
- package/dist/gpu-trace/gpu-trace-pixel-mipmap.cjs +3 -3
- package/dist/gpu-trace/gpu-trace-pixel-mipmap.js +1 -1
- package/dist/gpu-trace/gpu-trace-pixel-mipmap.js.map +1 -1
- package/dist/gpu-trace/gpu-trace-range-maximum-index.cjs +2 -2
- package/dist/gpu-trace/gpu-trace-range-maximum-index.js +1 -1
- package/dist/gpu-trace/gpu-trace-range-maximum-index.js.map +1 -1
- package/dist/gpu-trace/gpu-trace-temporal-index-builder.cjs +2 -2
- package/dist/gpu-trace/gpu-trace-temporal-index-builder.js +1 -1
- package/dist/gpu-trace/gpu-trace-temporal-index-builder.js.map +1 -1
- package/dist/gpu-trace/gpu-trace-temporal-index.cjs +4 -4
- package/dist/gpu-trace/gpu-trace-temporal-index.js +1 -1
- package/dist/gpu-trace/gpu-trace-temporal-index.js.map +1 -1
- package/dist/gpu-trace/gpu-trace-time-buckets.cjs +2 -2
- package/dist/gpu-trace/gpu-trace-time-buckets.js +1 -1
- package/dist/gpu-trace/gpu-trace-time-buckets.js.map +1 -1
- package/dist/gpu-trace/index.cjs.map +3 -3
- package/dist/gpu-vector-search/embedding-matrix.cjs +1 -1
- package/dist/gpu-vector-search/embedding-matrix.d.ts +1 -1
- package/dist/gpu-vector-search/embedding-matrix.js +1 -1
- package/dist/gpu-vector-search/gpu-clustering-utils.cjs +2 -2
- package/dist/gpu-vector-search/gpu-clustering-utils.js +1 -1
- package/dist/gpu-vector-search/gpu-clustering-utils.js.map +1 -1
- package/dist/gpu-vector-search/gpu-similarity-search.cjs +2 -2
- package/dist/gpu-vector-search/gpu-similarity-search.js +1 -1
- package/dist/gpu-vector-search/gpu-similarity-search.js.map +1 -1
- package/dist/gpu-vector-search/index.cjs.map +3 -3
- package/dist/index.cjs +49 -27
- package/dist/index.cjs.map +3 -3
- package/dist/index.d.ts +21 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +11 -4
- package/dist/index.js.map +1 -1
- package/dist/lucim/gpu-volume-connected-components.cjs +2 -2
- package/dist/lucim/gpu-volume-connected-components.js +1 -1
- package/dist/lucim/gpu-volume-connected-components.js.map +1 -1
- package/dist/lucim/gpu-volume-morphology.cjs +2 -2
- package/dist/lucim/gpu-volume-morphology.js +1 -1
- package/dist/lucim/gpu-volume-morphology.js.map +1 -1
- package/dist/lucim/gpu-volume-region-measurements.cjs +2 -2
- package/dist/lucim/gpu-volume-region-measurements.js +1 -1
- package/dist/lucim/gpu-volume-region-measurements.js.map +1 -1
- package/dist/lucim/gpu-volume-threshold.cjs +2 -2
- package/dist/lucim/gpu-volume-threshold.js +1 -1
- package/dist/lucim/gpu-volume-threshold.js.map +1 -1
- package/dist/lucim/index.cjs.map +3 -3
- package/dist/utils/assemble-compute-kernel.cjs +4 -4
- package/dist/utils/assemble-compute-kernel.d.ts +3 -2
- package/dist/utils/assemble-compute-kernel.d.ts.map +1 -1
- package/dist/utils/assemble-compute-kernel.js +3 -3
- package/dist/utils/assemble-compute-kernel.js.map +1 -1
- package/dist/webgpu.cjs +53 -0
- package/dist/webgpu.d.ts +3 -0
- package/dist/webgpu.d.ts.map +1 -0
- package/dist/webgpu.js +6 -0
- package/dist/webgpu.js.map +1 -0
- package/package.json +45 -8
- package/src/arrow/arrow-colors.ts +233 -0
- package/src/arrow/arrow-utils/arrow-column-info.ts +102 -0
- package/src/arrow/arrow-utils/arrow-paths.ts +195 -0
- package/src/arrow/arrow-utils/arrow-types.ts +104 -0
- package/src/arrow/dggs/dggs-gpu-polygons.ts +820 -0
- package/src/arrow/geoarrow/arrow-geoarrow-adapter.ts +519 -0
- package/src/arrow/geoarrow/arrow-geoarrow-conversion.ts +415 -0
- package/src/arrow/geoarrow/arrow-polygon-tessellation.ts +369 -0
- package/src/arrow/gpu/arrow-column-gpu-vector.ts +157 -0
- package/src/arrow/gpu/arrow-compute-kernel.ts +31 -0
- package/src/arrow/gpu/arrow-gpu-analytics-adapters.ts +474 -0
- package/src/arrow/gpu/arrow-gpu-analytics-readback.ts +294 -0
- package/src/arrow/gpu/arrow-gpu-data.ts +828 -0
- package/src/arrow/gpu/arrow-gpu-table-adapters.ts +378 -0
- package/src/arrow/gpu/arrow-gpu-table-conversion.ts +324 -0
- package/src/arrow/gpu/arrow-gpu-vector-adapters.ts +522 -0
- package/src/arrow/gpu/arrow-gpu-vector-conversion.ts +1139 -0
- package/src/arrow/gpu/arrow-input-schema.ts +98 -0
- package/src/arrow/gpu/arrow-shader-layout.ts +405 -0
- package/src/arrow/index.ts +203 -0
- package/src/arrow/internal.ts +46 -0
- package/src/arrow/vectors/arrow-fixed-size-list.ts +172 -0
- package/src/arrow/vectors/arrow-matrix-gpu-vector.ts +396 -0
- package/src/arrow/vectors/arrow-matrix-vector.ts +370 -0
- package/src/arrow/vectors/arrow-temporal-gpu-vector.ts +864 -0
- package/src/arrow/vectors/arrow-vector-utils.ts +359 -0
- package/src/execution/compute/kernel.ts +146 -0
- package/src/execution/compute/render-kernel.ts +213 -0
- package/src/execution/dynamic-buffer/dynamic-buffer.ts +19 -0
- package/src/execution/dynamic-texture/dynamic-texture.ts +9 -0
- package/src/execution/dynamic-texture/texture-binding-source.ts +12 -0
- package/src/execution/dynamic-texture/texture-data.ts +35 -0
- package/src/execution/utils/get-platform-info.ts +19 -0
- package/src/experimental/index.ts +59 -2
- package/src/experimental/models/path/gpu/path-storage-gpu-inputs.ts +3 -3
- package/src/experimental/models/polygon/polygon-gpu-inputs.ts +3 -3
- package/src/experimental/simulation/flow-particle-simulation.ts +1 -1
- package/src/experimental/simulation/scientific-flow-compute.ts +1 -1
- package/src/experimental/simulation/scientific-flow-tracer.ts +1 -1
- package/src/geospatial/geospatial-utils.ts +6 -9
- package/src/geospatial/gpu-point-spatial-query.ts +1 -1
- package/src/gpu-core/compiled-gpu-graph.ts +128 -0
- package/src/gpu-core/dispatch-command-buffer.ts +1 -1
- package/src/gpu-core/draw-command-buffer.ts +1 -1
- package/src/gpu-core/gpu-adaptive-spmv.ts +1 -1
- package/src/gpu-core/gpu-ancestor-projection.ts +1 -1
- package/src/gpu-core/gpu-bvh-query.ts +1 -1
- package/src/gpu-core/gpu-bvh.ts +2 -2
- package/src/gpu-core/gpu-byte-range-gather.ts +2 -2
- package/src/gpu-core/gpu-chunk-utils.ts +2 -2
- package/src/gpu-core/gpu-chunked-indexed-scatter.ts +1 -1
- package/src/gpu-core/gpu-command-graph-types.ts +3 -3
- package/src/gpu-core/gpu-command-graph.ts +1 -1
- package/src/gpu-core/gpu-compaction.ts +1 -1
- package/src/gpu-core/gpu-convolution.ts +2 -2
- package/src/gpu-core/gpu-dense-utils.ts +2 -2
- package/src/gpu-core/gpu-elementwise-scalar.ts +1 -1
- package/src/gpu-core/gpu-elementwise.ts +1 -1
- package/src/gpu-core/gpu-expression-cast.ts +45 -0
- package/src/gpu-core/gpu-expression-kernel.ts +268 -0
- package/src/gpu-core/gpu-expression-operation.ts +306 -0
- package/src/gpu-core/gpu-expression-plan.ts +528 -0
- package/src/gpu-core/gpu-fft1d.ts +2 -2
- package/src/gpu-core/gpu-fft2d.ts +1 -1
- package/src/gpu-core/gpu-finite-difference-utils.ts +2 -2
- package/src/gpu-core/gpu-flag-offsets.ts +1 -1
- package/src/gpu-core/gpu-galloping-search.ts +1 -1
- package/src/gpu-core/gpu-gather.ts +2 -2
- package/src/gpu-core/gpu-graph-compiler.ts +242 -147
- package/src/gpu-core/gpu-graph-lowering.ts +14 -21
- package/src/gpu-core/gpu-graph-traversal.ts +1 -1
- package/src/gpu-core/gpu-graph-validation.ts +15 -1
- package/src/gpu-core/gpu-graph-value.ts +9 -6
- package/src/gpu-core/gpu-graph.ts +15 -2
- package/src/gpu-core/gpu-group-aggregation.ts +1 -1
- package/src/gpu-core/gpu-hash-index.ts +1 -1
- package/src/gpu-core/gpu-hash-join.ts +1 -1
- package/src/gpu-core/gpu-hierarchy-layout.ts +1 -1
- package/src/gpu-core/gpu-histogram.ts +1 -1
- package/src/gpu-core/gpu-incremental-execution.ts +1 -1
- package/src/gpu-core/gpu-index-picking-target.ts +1 -1
- package/src/gpu-core/gpu-indexed-range-compaction.ts +1 -1
- package/src/gpu-core/gpu-lz-byte-batch-decompressor.ts +1 -1
- package/src/gpu-core/gpu-lz-byte-decompressor.ts +1 -1
- package/src/gpu-core/gpu-mask.ts +1 -1
- package/src/gpu-core/gpu-operation-contract.ts +85 -0
- package/src/gpu-core/gpu-operation.ts +3 -0
- package/src/gpu-core/gpu-predicate-conjunction.ts +1 -1
- package/src/gpu-core/gpu-reduction-substrate.ts +1 -1
- package/src/gpu-core/gpu-reduction.ts +1 -1
- package/src/gpu-core/gpu-scalar-dispatch-gate.ts +1 -1
- package/src/gpu-core/gpu-scalar-literal.ts +1 -1
- package/src/gpu-core/gpu-scalar-operation.ts +1 -1
- package/src/gpu-core/gpu-scan.ts +1 -1
- package/src/gpu-core/gpu-scatter.ts +1 -1
- package/src/gpu-core/gpu-scene-draw-generation.ts +1 -1
- package/src/gpu-core/gpu-scene-resource-groups.ts +1 -1
- package/src/gpu-core/gpu-segment-offsets.ts +1 -1
- package/src/gpu-core/gpu-segmented-bvh.ts +1 -1
- package/src/gpu-core/gpu-segmented-layout.ts +1 -1
- package/src/gpu-core/gpu-segmented-reduction.ts +1 -1
- package/src/gpu-core/gpu-segmented-scan.ts +1 -1
- package/src/gpu-core/gpu-segmented-sort.ts +1 -1
- package/src/gpu-core/gpu-semantic-scalar-operation.ts +10 -0
- package/src/gpu-core/gpu-semantic-spmv.ts +14 -1
- package/src/gpu-core/gpu-semantic-state-operation.ts +4 -0
- package/src/gpu-core/gpu-semantic-vector-operation.ts +37 -4
- package/src/gpu-core/gpu-sort.ts +1 -1
- package/src/gpu-core/gpu-spatial-utils.ts +1 -1
- package/src/gpu-core/gpu-text-selection.ts +1 -1
- package/src/gpu-core/gpu-transpose-benchmark.ts +1 -1
- package/src/gpu-core/gpu-transpose.ts +2 -2
- package/src/gpu-core/gpu-uint64-scan.ts +1 -1
- package/src/gpu-core/gpu-virtual-geometry-selection.ts +2 -2
- package/src/gpu-core/gpu-visibility-workflow.ts +1 -1
- package/src/gpu-core/gpu-workgroup-reduction-benchmark.ts +1 -1
- package/src/gpu-core/gpu-workgroup-scan-benchmark.ts +1 -1
- package/src/gpu-core/graph-data-view-utils.ts +1 -1
- package/src/gpu-core/graph-vector-view-utils.ts +1 -1
- package/src/gpu-core/index.ts +17 -1
- package/src/gpu-core/utils/bound-kernel.ts +1 -1
- package/src/gpu-crossfilter/gpu-selection.ts +1 -1
- package/src/gpu-data/gpu-constant.ts +60 -0
- package/src/gpu-data/gpu-data-format.ts +249 -0
- package/src/gpu-data/gpu-data-view.ts +155 -0
- package/src/gpu-data/gpu-data.ts +459 -0
- package/src/gpu-data/gpu-sparse-matrix.ts +76 -0
- package/src/gpu-data/gpu-vector-chunks.ts +24 -0
- package/src/gpu-data/gpu-vector-format.ts +256 -0
- package/src/gpu-data/gpu-vector-like.ts +30 -0
- package/src/gpu-data/gpu-vector-utils.ts +87 -0
- package/src/gpu-data/gpu-vector.ts +461 -0
- package/src/gpu-data/index.ts +70 -0
- package/src/gpu-dataframe/gpu-analytics-compiler-utils.ts +2 -2
- package/src/gpu-dataframe/gpu-data-frame.ts +1 -1
- package/src/gpu-dataframe/gpu-global-aggregation-compiler.ts +1 -1
- package/src/gpu-dataframe/gpu-global-sort-compiler.ts +1 -1
- package/src/gpu-dataframe/gpu-group-aggregation-compiler.ts +1 -1
- package/src/gpu-dataframe/gpu-histogram-compiler.ts +1 -1
- package/src/gpu-dataframe/gpu-join-compiler.ts +1 -1
- package/src/gpu-dataframe/gpu-query-compiler.ts +2 -2
- package/src/gpu-dggs/gpu-dggs-cell-projection.ts +2 -2
- package/src/gpu-graph/index.ts +9 -1
- package/src/gpu-graph-algorithms/gpu-graph-benchmark.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-breadth-first-search-internals.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-breadth-first-search.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-connected-components-internals.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-connected-components.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-core-number-internals.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-core-number.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-degree-internals.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-degree.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-force-layout-internals.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-force-layout.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-label-propagation-internals.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-label-propagation.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-local-clustering-coefficient-internals.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-local-clustering-coefficient.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-modularity-internals.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-modularity-optimization-internals.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-modularity-optimization.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-modularity.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-page-rank-internals.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-page-rank.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-single-source-shortest-path-internals.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-single-source-shortest-path.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-spatial-force-layout-internals.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-spatial-force-layout.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-topology-internals.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph-topology.ts +1 -1
- package/src/gpu-graph-algorithms/gpu-graph.ts +1 -1
- package/src/gpu-parse/parquet/gpu-parquet-bit-packed-decoder.ts +1 -1
- package/src/gpu-parse/parquet/gpu-parquet-byte-stream-split-batch-decoder.ts +1 -1
- package/src/gpu-parse/parquet/gpu-parquet-byte-stream-split-decoder.ts +1 -1
- package/src/gpu-parse/parquet/gpu-parquet-delta-binary-packed-int64-unpacker.ts +1 -1
- package/src/gpu-parse/parquet/gpu-parquet-delta-binary-packed-unpacker.ts +1 -1
- package/src/gpu-parse/parquet/gpu-parquet-delta-byte-array-decoder.ts +1 -1
- package/src/gpu-parse/parquet/gpu-parquet-dictionary-decoder.ts +1 -1
- package/src/gpu-parse/parquet/gpu-parquet-level-layout.ts +1 -1
- package/src/gpu-parse/parquet/gpu-parquet-nested-column-layout.ts +1 -1
- package/src/gpu-parse/parquet/gpu-parquet-plain-boolean-decoder.ts +1 -1
- package/src/gpu-parse/parquet/gpu-parquet-rle-bit-packed-decoder.ts +1 -1
- package/src/gpu-physics/rigid-body-broad-phase.ts +1 -1
- package/src/gpu-project/gpu-projection-table.ts +1 -1
- package/src/gpu-project/projection-program-benchmark.ts +1 -1
- package/src/gpu-project/projection-program.ts +1 -1
- package/src/gpu-project/projection-table-benchmark.ts +1 -1
- package/src/gpu-raster/gpu-raster-band-math.ts +1 -1
- package/src/gpu-raster/gpu-raster-buffer-to-texture.ts +1 -1
- package/src/gpu-raster/gpu-raster-connected-components.ts +1 -1
- package/src/gpu-raster/gpu-raster-contours.ts +1 -1
- package/src/gpu-raster/gpu-raster-contrast.ts +1 -1
- package/src/gpu-raster/gpu-raster-cross-tile-components.ts +1 -1
- package/src/gpu-raster/gpu-raster-dense-components.ts +1 -1
- package/src/gpu-raster/gpu-raster-edges.ts +1 -1
- package/src/gpu-raster/gpu-raster-global-statistics.ts +1 -1
- package/src/gpu-raster/gpu-raster-histogram.ts +1 -1
- package/src/gpu-raster/gpu-raster-morphology.ts +1 -1
- package/src/gpu-raster/gpu-raster-neighborhood.ts +1 -1
- package/src/gpu-raster/gpu-raster-overview.ts +1 -1
- package/src/gpu-raster/gpu-raster-region-measurements.ts +1 -1
- package/src/gpu-raster/gpu-raster-statistics.ts +1 -1
- package/src/gpu-raster/gpu-raster-texture-to-buffer.ts +1 -1
- package/src/gpu-raster/gpu-raster-threshold.ts +1 -1
- package/src/gpu-raster/gpu-raster-tile-halo.ts +1 -1
- package/src/gpu-simple-graph/README.md +1 -1
- package/src/gpu-simple-graph/compiled-gpu-expression-graph.ts +303 -0
- package/src/gpu-simple-graph/gpu-expression-cast-operation.ts +149 -0
- package/src/gpu-simple-graph/gpu-expression-row-operation.ts +90 -0
- package/src/gpu-simple-graph/gpu-simple-graph-lowering.ts +3 -9
- package/src/gpu-simple-graph/gpu-simple-graph-operation.ts +4 -2
- package/src/gpu-simple-graph/gpu-simple-graph-transfer.ts +4 -6
- package/src/gpu-simple-graph/gpu-simple-graph-value.ts +18 -17
- package/src/gpu-simple-graph/gpu-simple-graph.ts +60 -16
- package/src/gpu-simple-graph/index.ts +74 -0
- package/src/gpu-simple-graph/operation/backend-registry.ts +152 -0
- package/src/gpu-simple-graph/operation/gpu-data-evaluator.ts +954 -0
- package/src/gpu-simple-graph/operation/gpu-evaluation-scope.ts +113 -0
- package/src/gpu-simple-graph/operation/gpu-evaluator-inspection.ts +105 -0
- package/src/gpu-simple-graph/operation/gpu-table-format-types.ts +255 -0
- package/src/gpu-simple-graph/operation/gpu-vector-evaluator.ts +300 -0
- package/src/gpu-simple-graph/operation/operation.ts +142 -0
- package/src/gpu-simple-graph/operations/arithmetic-expression.ts +40 -0
- package/src/gpu-simple-graph/operations/arithmetic-operation.ts +257 -0
- package/src/gpu-simple-graph/operations/arithmetic.ts +115 -0
- package/src/gpu-simple-graph/operations/cast-data.ts +67 -0
- package/src/gpu-simple-graph/operations/convert-colors.ts +76 -0
- package/src/gpu-simple-graph/operations/cpu/arithmetic.ts +121 -0
- package/src/gpu-simple-graph/operations/cpu/cast-data.ts +72 -0
- package/src/gpu-simple-graph/operations/cpu/common.ts +128 -0
- package/src/gpu-simple-graph/operations/cpu/convert-colors.ts +56 -0
- package/src/gpu-simple-graph/operations/cpu/dot.ts +29 -0
- package/src/gpu-simple-graph/operations/cpu/equal-all.ts +32 -0
- package/src/gpu-simple-graph/operations/cpu/extent.ts +50 -0
- package/src/gpu-simple-graph/operations/cpu/fround.ts +26 -0
- package/src/gpu-simple-graph/operations/cpu/gather.ts +44 -0
- package/src/gpu-simple-graph/operations/cpu/index.ts +36 -0
- package/src/gpu-simple-graph/operations/cpu/interleave.ts +23 -0
- package/src/gpu-simple-graph/operations/cpu/length.ts +24 -0
- package/src/gpu-simple-graph/operations/cpu/segmented-map.ts +79 -0
- package/src/gpu-simple-graph/operations/cpu/select.ts +40 -0
- package/src/gpu-simple-graph/operations/cpu/sequence.ts +21 -0
- package/src/gpu-simple-graph/operations/cpu/swizzle.ts +26 -0
- package/src/gpu-simple-graph/operations/dot.ts +48 -0
- package/src/gpu-simple-graph/operations/equal-all.ts +46 -0
- package/src/gpu-simple-graph/operations/extent.ts +46 -0
- package/src/gpu-simple-graph/operations/fround.ts +45 -0
- package/src/gpu-simple-graph/operations/gather.ts +51 -0
- package/src/gpu-simple-graph/operations/interleave.ts +54 -0
- package/src/gpu-simple-graph/operations/length.ts +38 -0
- package/src/gpu-simple-graph/operations/segmented-map.ts +108 -0
- package/src/gpu-simple-graph/operations/select.ts +76 -0
- package/src/gpu-simple-graph/operations/sequence.ts +60 -0
- package/src/gpu-simple-graph/operations/swizzle.ts +108 -0
- package/src/gpu-simple-graph/operations/webgl/arithmetic.ts +65 -0
- package/src/gpu-simple-graph/operations/webgl/cast-data.ts +6 -0
- package/src/gpu-simple-graph/operations/webgl/common/helper.ts +155 -0
- package/src/gpu-simple-graph/operations/webgl/common/random-access-transform.ts +60 -0
- package/src/gpu-simple-graph/operations/webgl/common/row-transform.ts +229 -0
- package/src/gpu-simple-graph/operations/webgl/common/transform-kernel.ts +101 -0
- package/src/gpu-simple-graph/operations/webgl/convert-colors.ts +7 -0
- package/src/gpu-simple-graph/operations/webgl/dot.ts +32 -0
- package/src/gpu-simple-graph/operations/webgl/equal-all.ts +35 -0
- package/src/gpu-simple-graph/operations/webgl/extent.ts +182 -0
- package/src/gpu-simple-graph/operations/webgl/fround.ts +201 -0
- package/src/gpu-simple-graph/operations/webgl/gather.ts +142 -0
- package/src/gpu-simple-graph/operations/webgl/index.ts +36 -0
- package/src/gpu-simple-graph/operations/webgl/interleave.ts +70 -0
- package/src/gpu-simple-graph/operations/webgl/length.ts +28 -0
- package/src/gpu-simple-graph/operations/webgl/segmented-map.ts +90 -0
- package/src/gpu-simple-graph/operations/webgl/select.ts +54 -0
- package/src/gpu-simple-graph/operations/webgl/sequence.ts +39 -0
- package/src/gpu-simple-graph/operations/webgl/swizzle.ts +23 -0
- package/src/gpu-simple-graph/operations/webgpu/arithmetic.ts +68 -0
- package/src/gpu-simple-graph/operations/webgpu/cast-data.ts +181 -0
- package/src/gpu-simple-graph/operations/webgpu/common/dispatch.ts +58 -0
- package/src/gpu-simple-graph/operations/webgpu/common/helper.ts +66 -0
- package/src/gpu-simple-graph/operations/webgpu/common/random-access-transform.ts +79 -0
- package/src/gpu-simple-graph/operations/webgpu/common/row-transform.ts +239 -0
- package/src/gpu-simple-graph/operations/webgpu/convert-colors.ts +147 -0
- package/src/gpu-simple-graph/operations/webgpu/dot.ts +36 -0
- package/src/gpu-simple-graph/operations/webgpu/equal-all.ts +39 -0
- package/src/gpu-simple-graph/operations/webgpu/extent.ts +277 -0
- package/src/gpu-simple-graph/operations/webgpu/fround.ts +174 -0
- package/src/gpu-simple-graph/operations/webgpu/gather.ts +137 -0
- package/src/gpu-simple-graph/operations/webgpu/index.ts +36 -0
- package/src/gpu-simple-graph/operations/webgpu/interleave.ts +73 -0
- package/src/gpu-simple-graph/operations/webgpu/length.ts +36 -0
- package/src/gpu-simple-graph/operations/webgpu/segmented-map.ts +101 -0
- package/src/gpu-simple-graph/operations/webgpu/select.ts +56 -0
- package/src/gpu-simple-graph/operations/webgpu/sequence.ts +56 -0
- package/src/gpu-simple-graph/operations/webgpu/swizzle.ts +27 -0
- package/src/gpu-simple-graph/utils/buffer-pool.ts +66 -0
- package/src/gpu-simple-graph/utils/clean-evaluate.ts +152 -0
- package/src/gpu-simple-graph/utils/expression.ts +140 -0
- package/src/gpu-simple-graph/utils/output-props.ts +50 -0
- package/src/gpu-simple-graph/utils/uid.ts +16 -0
- package/src/gpu-sql/lu-sql.ts +1 -1
- package/src/gpu-tables/engine/gpu-input-schema.ts +3 -3
- package/src/gpu-tables/engine/gpu-scene-adapters.ts +1 -1
- package/src/gpu-tables/engine/gpu-table-computation.ts +2 -2
- package/src/gpu-tables/engine/gpu-table-shader-bindings.ts +4 -4
- package/src/gpu-tables/table/gpu-record-batch.ts +2 -2
- package/src/gpu-tables/table/gpu-schema.ts +1 -1
- package/src/gpu-tables/table/gpu-table.ts +4 -4
- package/src/gpu-timeseries/gpu-time-series-envelope.ts +1 -1
- package/src/gpu-timeseries/gpu-time-series.ts +1 -1
- package/src/gpu-trace/gpu-trace-anomaly-scoring.ts +1 -1
- package/src/gpu-trace/gpu-trace-comparison.ts +1 -1
- package/src/gpu-trace/gpu-trace-critical-path.ts +1 -1
- package/src/gpu-trace/gpu-trace-interaction.ts +1 -1
- package/src/gpu-trace/gpu-trace-lane-index-builder.ts +1 -1
- package/src/gpu-trace/gpu-trace-mipmap-boundaries.ts +1 -1
- package/src/gpu-trace/gpu-trace-pixel-mipmap.ts +1 -1
- package/src/gpu-trace/gpu-trace-range-maximum-index.ts +1 -1
- package/src/gpu-trace/gpu-trace-temporal-index-builder.ts +1 -1
- package/src/gpu-trace/gpu-trace-temporal-index.ts +1 -1
- package/src/gpu-trace/gpu-trace-time-buckets.ts +1 -1
- package/src/gpu-vector-search/embedding-matrix.ts +1 -1
- package/src/gpu-vector-search/gpu-clustering-utils.ts +1 -1
- package/src/gpu-vector-search/gpu-similarity-search.ts +1 -1
- package/src/index.ts +176 -4
- package/src/lucim/gpu-volume-connected-components.ts +1 -1
- package/src/lucim/gpu-volume-morphology.ts +1 -1
- package/src/lucim/gpu-volume-region-measurements.ts +1 -1
- package/src/lucim/gpu-volume-threshold.ts +1 -1
- package/src/utils/assemble-compute-kernel.ts +5 -8
- package/src/webgpu.ts +21 -0
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
// deck.gl
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
3
|
+
// SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
|
|
4
|
+
export function runCPUTransform({ elementWise, func, inputs, output, outputBuffer }) {
|
|
5
|
+
// validate
|
|
6
|
+
const inputEvaluators = Array.isArray(inputs) ? inputs : Object.values(inputs);
|
|
7
|
+
for (const input of inputEvaluators) {
|
|
8
|
+
if (!input.value)
|
|
9
|
+
throw new Error(`${input} does not have CPU value`);
|
|
10
|
+
}
|
|
11
|
+
const vertexCount = output.length;
|
|
12
|
+
const outputSize = output.size;
|
|
13
|
+
const target = new output.ValueType(vertexCount * outputSize);
|
|
14
|
+
for (let i = 0; i < vertexCount; i++) {
|
|
15
|
+
const inputVertices = inputEvaluators.map(table => getValueAtRow(table, i));
|
|
16
|
+
if (elementWise) {
|
|
17
|
+
for (let j = 0; j < outputSize; j++) {
|
|
18
|
+
target[i * outputSize + j] = func.apply(null, inputVertices.map(v => v[j]));
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
else {
|
|
22
|
+
func.call(null, target.subarray(i * outputSize, i * outputSize + outputSize), ...inputVertices);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
const elementByteLength = output.ValueType.BYTES_PER_ELEMENT;
|
|
26
|
+
const outputOffset = output.offset / elementByteLength;
|
|
27
|
+
const outputStride = output.stride / elementByteLength;
|
|
28
|
+
const packedStride = outputSize;
|
|
29
|
+
let outputValue = target;
|
|
30
|
+
if (outputOffset !== 0 || outputStride !== packedStride) {
|
|
31
|
+
outputValue = new output.ValueType(outputOffset + output.byteLength / elementByteLength);
|
|
32
|
+
for (let rowIndex = 0; rowIndex < vertexCount; rowIndex++) {
|
|
33
|
+
const sourceOffset = rowIndex * packedStride;
|
|
34
|
+
const destinationOffset = outputOffset + rowIndex * outputStride;
|
|
35
|
+
const row = target.subarray(sourceOffset, sourceOffset + outputSize);
|
|
36
|
+
outputValue.set(row, destinationOffset);
|
|
37
|
+
outputBuffer.write(row, destinationOffset * elementByteLength);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
outputBuffer.write(target);
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
success: true,
|
|
45
|
+
value: outputValue
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
export function getValueAtRow(source, index) {
|
|
49
|
+
const value = source.value;
|
|
50
|
+
const valueSize = source.size;
|
|
51
|
+
const valueOffset = source.offset / source.ValueType.BYTES_PER_ELEMENT;
|
|
52
|
+
const valueStride = source.stride / source.ValueType.BYTES_PER_ELEMENT;
|
|
53
|
+
const rowIndex = source.isConstant ? 0 : index;
|
|
54
|
+
const startIndex = valueOffset + rowIndex * valueStride;
|
|
55
|
+
const row = value.slice(startIndex, startIndex + valueSize);
|
|
56
|
+
if (!source.normalized) {
|
|
57
|
+
return row;
|
|
58
|
+
}
|
|
59
|
+
const normalizedRow = new Float32Array(valueSize);
|
|
60
|
+
for (let valueIndex = 0; valueIndex < valueSize; valueIndex++) {
|
|
61
|
+
normalizedRow[valueIndex] = normalizeValue(row[valueIndex], source.type);
|
|
62
|
+
}
|
|
63
|
+
return normalizedRow;
|
|
64
|
+
}
|
|
65
|
+
function normalizeValue(value, type) {
|
|
66
|
+
switch (type) {
|
|
67
|
+
case 'uint8':
|
|
68
|
+
return value / 255;
|
|
69
|
+
case 'uint16':
|
|
70
|
+
return value / 65535;
|
|
71
|
+
case 'uint32':
|
|
72
|
+
return value / 4294967295;
|
|
73
|
+
case 'sint8':
|
|
74
|
+
return Math.max(value / 127, -1);
|
|
75
|
+
case 'sint16':
|
|
76
|
+
return Math.max(value / 32767, -1);
|
|
77
|
+
case 'sint32':
|
|
78
|
+
return Math.max(value / 2147483647, -1);
|
|
79
|
+
case 'float32':
|
|
80
|
+
return value;
|
|
81
|
+
default:
|
|
82
|
+
throw new Error(`Unsupported normalized source type ${type}`);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
//# sourceMappingURL=common.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../../src/gpu-simple-graph/operations/cpu/common.ts"],"names":[],"mappings":"AAAA,UAAU;AACV,+BAA+B;AAC/B,4DAA4D;AAwB5D,MAAM,UAAU,eAAe,CAAC,EAC9B,WAAW,EACX,IAAI,EACJ,MAAM,EACN,MAAM,EACN,YAAY,EACM;IAClB,WAAW;IACX,MAAM,eAAe,GAAG,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC/E,KAAK,MAAM,KAAK,IAAI,eAAe,EAAE,CAAC;QACpC,IAAI,CAAC,KAAK,CAAC,KAAK;YAAE,MAAM,IAAI,KAAK,CAAC,GAAG,KAAK,0BAA0B,CAAC,CAAC;IACxE,CAAC;IAED,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC;IAClC,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC;IAC/B,MAAM,MAAM,GAAG,IAAI,MAAM,CAAC,SAAS,CAAC,WAAW,GAAG,UAAU,CAAC,CAAC;IAC9D,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,WAAW,EAAE,CAAC,EAAE,EAAE,CAAC;QACrC,MAAM,aAAa,GAAG,eAAe,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,aAAa,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC;QAC5E,IAAI,WAAW,EAAE,CAAC;YAChB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,UAAU,EAAE,CAAC,EAAE,EAAE,CAAC;gBACpC,MAAM,CAAC,CAAC,GAAG,UAAU,GAAG,CAAC,CAAC,GAAG,IAAI,CAAC,KAAK,CACrC,IAAI,EACJ,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAC7B,CAAC;YACJ,CAAC;QACH,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,IAAI,CACP,IAAI,EACJ,MAAM,CAAC,QAAQ,CAAC,CAAC,GAAG,UAAU,EAAE,CAAC,GAAG,UAAU,GAAG,UAAU,CAAC,EAC5D,GAAG,aAAa,CACjB,CAAC;QACJ,CAAC;IACH,CAAC;IAED,MAAM,iBAAiB,GAAG,MAAM,CAAC,SAAS,CAAC,iBAAiB,CAAC;IAC7D,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,GAAG,iBAAiB,CAAC;IACvD,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,GAAG,iBAAiB,CAAC;IACvD,MAAM,YAAY,GAAG,UAAU,CAAC;IAChC,IAAI,WAAW,GAAe,MAAM,CAAC;IACrC,IAAI,YAAY,KAAK,CAAC,IAAI,YAAY,KAAK,YAAY,EAAE,CAAC;QACxD,WAAW,GAAG,IAAI,MAAM,CAAC,SAAS,CAChC,YAAY,GAAG,MAAM,CAAC,UAAU,GAAG,iBAAiB,CACvC,CAAC;QAChB,KAAK,IAAI,QAAQ,GAAG,CAAC,EAAE,QAAQ,GAAG,WAAW,EAAE,QAAQ,EAAE,EAAE,CAAC;YAC1D,MAAM,YAAY,GAAG,QAAQ,GAAG,YAAY,CAAC;YAC7C,MAAM,iBAAiB,GAAG,YAAY,GAAG,QAAQ,GAAG,YAAY,CAAC;YACjE,MAAM,GAAG,GAAG,MAAM,CAAC,QAAQ,CAAC,YAAY,EAAE,YAAY,GAAG,UAAU,CAAC,CAAC;YACrE,WAAW,CAAC,GAAG,CAAC,GAAG,EAAE,iBAAiB,CAAC,CAAC;YACxC,YAAY,CAAC,KAAK,CAAC,GAAG,EAAE,iBAAiB,GAAG,iBAAiB,CAAC,CAAC;QACjE,CAAC;IACH,CAAC;SAAM,CAAC;QACN,YAAY,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B,CAAC;IACD,OAAO;QACL,OAAO,EAAE,IAAI;QACb,KAAK,EAAE,WAAW;KACnB,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,aAAa,CAAC,MAAwB,EAAE,KAAa;IACnE,MAAM,KAAK,GAAG,MAAM,CAAC,KAAM,CAAC;IAC5B,MAAM,SAAS,GAAG,MAAM,CAAC,IAAI,CAAC;IAC9B,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,GAAG,MAAM,CAAC,SAAS,CAAC,iBAAiB,CAAC;IACvE,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,GAAG,MAAM,CAAC,SAAS,CAAC,iBAAiB,CAAC;IACvE,MAAM,QAAQ,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;IAC/C,MAAM,UAAU,GAAG,WAAW,GAAG,QAAQ,GAAG,WAAW,CAAC;IACxD,MAAM,GAAG,GAAG,KAAK,CAAC,KAAK,CAAC,UAAU,EAAE,UAAU,GAAG,SAAS,CAAC,CAAC;IAE5D,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,CAAC;QACvB,OAAO,GAAG,CAAC;IACb,CAAC;IAED,MAAM,aAAa,GAAG,IAAI,YAAY,CAAC,SAAS,CAAC,CAAC;IAClD,KAAK,IAAI,UAAU,GAAG,CAAC,EAAE,UAAU,GAAG,SAAS,EAAE,UAAU,EAAE,EAAE,CAAC;QAC9D,aAAa,CAAC,UAAU,CAAC,GAAG,cAAc,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC,IAAI,CAAC,CAAC;IAC3E,CAAC;IACD,OAAO,aAAa,CAAC;AACvB,CAAC;AAED,SAAS,cAAc,CAAC,KAAa,EAAE,IAA8B;IACnE,QAAQ,IAAI,EAAE,CAAC;QACb,KAAK,OAAO;YACV,OAAO,KAAK,GAAG,GAAG,CAAC;QACrB,KAAK,QAAQ;YACX,OAAO,KAAK,GAAG,KAAK,CAAC;QACvB,KAAK,QAAQ;YACX,OAAO,KAAK,GAAG,UAAU,CAAC;QAE5B,KAAK,OAAO;YACV,OAAO,IAAI,CAAC,GAAG,CAAC,KAAK,GAAG,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC;QACnC,KAAK,QAAQ;YACX,OAAO,IAAI,CAAC,GAAG,CAAC,KAAK,GAAG,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC;QACrC,KAAK,QAAQ;YACX,OAAO,IAAI,CAAC,GAAG,CAAC,KAAK,GAAG,UAAU,EAAE,CAAC,CAAC,CAAC,CAAC;QAE1C,KAAK,SAAS;YACZ,OAAO,KAAK,CAAC;QAEf;YACE,MAAM,IAAI,KAAK,CAAC,sCAAsC,IAAI,EAAE,CAAC,CAAC;IAClE,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var convert_colors_exports = {};
|
|
19
|
+
__export(convert_colors_exports, {
|
|
20
|
+
convertColors: () => convertColors
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(convert_colors_exports);
|
|
23
|
+
var import_shaders = require("@luma.gl/shaders");
|
|
24
|
+
const convertColors = async ({ inputs, output, target }) => {
|
|
25
|
+
const { source, inputFormat } = inputs;
|
|
26
|
+
const sourceValue = await source.ensureCPUValue();
|
|
27
|
+
const result = new output.ValueType(output.length * output.size);
|
|
28
|
+
const inputSize = inputFormat.endsWith("x3") ? 3 : 4;
|
|
29
|
+
for (let rowIndex = 0; rowIndex < output.length; rowIndex++) {
|
|
30
|
+
const inputOffset = source.offset / source.ValueType.BYTES_PER_ELEMENT + rowIndex * (source.stride / source.ValueType.BYTES_PER_ELEMENT);
|
|
31
|
+
const outputOffset = rowIndex * 4;
|
|
32
|
+
result[outputOffset] = convertColorChannel(sourceValue, inputOffset, inputFormat);
|
|
33
|
+
result[outputOffset + 1] = convertColorChannel(sourceValue, inputOffset + 1, inputFormat);
|
|
34
|
+
result[outputOffset + 2] = convertColorChannel(sourceValue, inputOffset + 2, inputFormat);
|
|
35
|
+
result[outputOffset + 3] = inputSize === 4 ? convertColorChannel(sourceValue, inputOffset + 3, inputFormat) : 255;
|
|
36
|
+
}
|
|
37
|
+
target.write(result);
|
|
38
|
+
return { success: true, value: result };
|
|
39
|
+
};
|
|
40
|
+
function convertColorChannel(values, index, inputFormat) {
|
|
41
|
+
if (inputFormat.startsWith("uint8")) {
|
|
42
|
+
return values[index];
|
|
43
|
+
}
|
|
44
|
+
const value = inputFormat.startsWith("float16") ? getFloat16Value(values, index) : values[index];
|
|
45
|
+
return Math.round(Math.min(Math.max(value, 0), 1) * 255);
|
|
46
|
+
}
|
|
47
|
+
function getFloat16Value(values, index) {
|
|
48
|
+
const Float16ArrayConstructor = getNativeFloat16ArrayConstructor();
|
|
49
|
+
if (Float16ArrayConstructor && values.constructor === Float16ArrayConstructor) {
|
|
50
|
+
return values[index];
|
|
51
|
+
}
|
|
52
|
+
return (0, import_shaders.fromHalfFloat)(values[index]);
|
|
53
|
+
}
|
|
54
|
+
function getNativeFloat16ArrayConstructor() {
|
|
55
|
+
return globalThis.Float16Array;
|
|
56
|
+
}
|
|
57
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
58
|
+
0 && (module.exports = {
|
|
59
|
+
convertColors
|
|
60
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"convert-colors.d.ts","sourceRoot":"","sources":["../../../../src/gpu-simple-graph/operations/cpu/convert-colors.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAC,gBAAgB,EAAC,qCAAkC;AAChE,OAAO,KAAK,EAAC,mBAAmB,EAAC,6BAA0B;AAE3D,eAAO,MAAM,aAAa,EAAE,gBAAgB,CAAC,mBAAmB,CAyB/D,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// luma.gl
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
3
|
+
// SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
|
|
4
|
+
import { fromHalfFloat } from '@luma.gl/shaders';
|
|
5
|
+
export const convertColors = async ({ inputs, output, target }) => {
|
|
6
|
+
const { source, inputFormat } = inputs;
|
|
7
|
+
const sourceValue = await source.ensureCPUValue();
|
|
8
|
+
const result = new output.ValueType(output.length * output.size);
|
|
9
|
+
const inputSize = inputFormat.endsWith('x3') ? 3 : 4;
|
|
10
|
+
for (let rowIndex = 0; rowIndex < output.length; rowIndex++) {
|
|
11
|
+
const inputOffset = source.offset / source.ValueType.BYTES_PER_ELEMENT +
|
|
12
|
+
rowIndex * (source.stride / source.ValueType.BYTES_PER_ELEMENT);
|
|
13
|
+
const outputOffset = rowIndex * 4;
|
|
14
|
+
result[outputOffset] = convertColorChannel(sourceValue, inputOffset, inputFormat);
|
|
15
|
+
result[outputOffset + 1] = convertColorChannel(sourceValue, inputOffset + 1, inputFormat);
|
|
16
|
+
result[outputOffset + 2] = convertColorChannel(sourceValue, inputOffset + 2, inputFormat);
|
|
17
|
+
result[outputOffset + 3] =
|
|
18
|
+
inputSize === 4 ? convertColorChannel(sourceValue, inputOffset + 3, inputFormat) : 255;
|
|
19
|
+
}
|
|
20
|
+
target.write(result);
|
|
21
|
+
return { success: true, value: result };
|
|
22
|
+
};
|
|
23
|
+
function convertColorChannel(values, index, inputFormat) {
|
|
24
|
+
if (inputFormat.startsWith('uint8')) {
|
|
25
|
+
return values[index];
|
|
26
|
+
}
|
|
27
|
+
const value = inputFormat.startsWith('float16') ? getFloat16Value(values, index) : values[index];
|
|
28
|
+
return Math.round(Math.min(Math.max(value, 0), 1) * 255);
|
|
29
|
+
}
|
|
30
|
+
function getFloat16Value(values, index) {
|
|
31
|
+
const Float16ArrayConstructor = getNativeFloat16ArrayConstructor();
|
|
32
|
+
if (Float16ArrayConstructor && values.constructor === Float16ArrayConstructor) {
|
|
33
|
+
return values[index];
|
|
34
|
+
}
|
|
35
|
+
return fromHalfFloat(values[index]);
|
|
36
|
+
}
|
|
37
|
+
function getNativeFloat16ArrayConstructor() {
|
|
38
|
+
return globalThis.Float16Array;
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=convert-colors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"convert-colors.js","sourceRoot":"","sources":["../../../../src/gpu-simple-graph/operations/cpu/convert-colors.ts"],"names":[],"mappings":"AAAA,UAAU;AACV,+BAA+B;AAC/B,4DAA4D;AAE5D,OAAO,EAAC,aAAa,EAAC,MAAM,kBAAkB,CAAC;AAK/C,MAAM,CAAC,MAAM,aAAa,GAA0C,KAAK,EAAE,EACzE,MAAM,EACN,MAAM,EACN,MAAM,EACP,EAAE,EAAE;IACH,MAAM,EAAC,MAAM,EAAE,WAAW,EAAC,GAAG,MAAM,CAAC;IACrC,MAAM,WAAW,GAAG,MAAM,MAAM,CAAC,cAAc,EAAE,CAAC;IAClD,MAAM,MAAM,GAAG,IAAI,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC;IACjE,MAAM,SAAS,GAAG,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAErD,KAAK,IAAI,QAAQ,GAAG,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,QAAQ,EAAE,EAAE,CAAC;QAC5D,MAAM,WAAW,GACf,MAAM,CAAC,MAAM,GAAG,MAAM,CAAC,SAAS,CAAC,iBAAiB;YAClD,QAAQ,GAAG,CAAC,MAAM,CAAC,MAAM,GAAG,MAAM,CAAC,SAAS,CAAC,iBAAiB,CAAC,CAAC;QAClE,MAAM,YAAY,GAAG,QAAQ,GAAG,CAAC,CAAC;QAElC,MAAM,CAAC,YAAY,CAAC,GAAG,mBAAmB,CAAC,WAAW,EAAE,WAAW,EAAE,WAAW,CAAC,CAAC;QAClF,MAAM,CAAC,YAAY,GAAG,CAAC,CAAC,GAAG,mBAAmB,CAAC,WAAW,EAAE,WAAW,GAAG,CAAC,EAAE,WAAW,CAAC,CAAC;QAC1F,MAAM,CAAC,YAAY,GAAG,CAAC,CAAC,GAAG,mBAAmB,CAAC,WAAW,EAAE,WAAW,GAAG,CAAC,EAAE,WAAW,CAAC,CAAC;QAC1F,MAAM,CAAC,YAAY,GAAG,CAAC,CAAC;YACtB,SAAS,KAAK,CAAC,CAAC,CAAC,CAAC,mBAAmB,CAAC,WAAW,EAAE,WAAW,GAAG,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;IAC3F,CAAC;IAED,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACrB,OAAO,EAAC,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAC,CAAC;AACxC,CAAC,CAAC;AAEF,SAAS,mBAAmB,CAAC,MAAkB,EAAE,KAAa,EAAE,WAAmB;IACjF,IAAI,WAAW,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE,CAAC;QACpC,OAAO,MAAM,CAAC,KAAK,CAAC,CAAC;IACvB,CAAC;IAED,MAAM,KAAK,GAAG,WAAW,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IACjG,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC;AAC3D,CAAC;AAED,SAAS,eAAe,CAAC,MAAkB,EAAE,KAAa;IACxD,MAAM,uBAAuB,GAAG,gCAAgC,EAAE,CAAC;IACnE,IAAI,uBAAuB,IAAI,MAAM,CAAC,WAAW,KAAK,uBAAuB,EAAE,CAAC;QAC9E,OAAO,MAAM,CAAC,KAAK,CAAC,CAAC;IACvB,CAAC;IACD,OAAO,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;AACtC,CAAC;AAED,SAAS,gCAAgC;IACvC,OAAQ,UAA2D,CAAC,YAAY,CAAC;AACnF,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var dot_exports = {};
|
|
19
|
+
__export(dot_exports, {
|
|
20
|
+
dot: () => dot
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(dot_exports);
|
|
23
|
+
var import_common = require("./common.cjs");
|
|
24
|
+
const dot = ({ inputs, output, target }) => {
|
|
25
|
+
const { x, y } = inputs;
|
|
26
|
+
const result = new output.ValueType(output.length);
|
|
27
|
+
for (let rowIndex = 0; rowIndex < output.length; rowIndex++) {
|
|
28
|
+
const xRow = (0, import_common.getValueAtRow)(x, rowIndex);
|
|
29
|
+
const yRow = (0, import_common.getValueAtRow)(y, rowIndex);
|
|
30
|
+
let sum = 0;
|
|
31
|
+
for (let laneIndex = 0; laneIndex < x.size; laneIndex++) {
|
|
32
|
+
sum += xRow[laneIndex] * yRow[laneIndex];
|
|
33
|
+
}
|
|
34
|
+
result[rowIndex] = sum;
|
|
35
|
+
}
|
|
36
|
+
target.write(result);
|
|
37
|
+
return { success: true, value: result };
|
|
38
|
+
};
|
|
39
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
40
|
+
0 && (module.exports = {
|
|
41
|
+
dot
|
|
42
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { OperationHandler } from "../../operation/operation.js";
|
|
2
|
+
import { GPUDataEvaluator } from "../../operation/gpu-data-evaluator.js";
|
|
3
|
+
export declare const dot: OperationHandler<{
|
|
4
|
+
x: GPUDataEvaluator;
|
|
5
|
+
y: GPUDataEvaluator;
|
|
6
|
+
}>;
|
|
7
|
+
//# sourceMappingURL=dot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dot.d.ts","sourceRoot":"","sources":["../../../../src/gpu-simple-graph/operations/cpu/dot.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,gBAAgB,EAAC,qCAAkC;AAC3D,OAAO,EAAC,gBAAgB,EAAC,8CAA2C;AAGpE,eAAO,MAAM,GAAG,EAAE,gBAAgB,CAAC;IAAC,CAAC,EAAE,gBAAgB,CAAC;IAAC,CAAC,EAAE,gBAAgB,CAAA;CAAC,CAoB5E,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// luma.gl
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
3
|
+
// SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
|
|
4
|
+
import { getValueAtRow } from "./common.js";
|
|
5
|
+
export const dot = ({ inputs, output, target }) => {
|
|
6
|
+
const { x, y } = inputs;
|
|
7
|
+
const result = new output.ValueType(output.length);
|
|
8
|
+
for (let rowIndex = 0; rowIndex < output.length; rowIndex++) {
|
|
9
|
+
const xRow = getValueAtRow(x, rowIndex);
|
|
10
|
+
const yRow = getValueAtRow(y, rowIndex);
|
|
11
|
+
let sum = 0;
|
|
12
|
+
for (let laneIndex = 0; laneIndex < x.size; laneIndex++) {
|
|
13
|
+
sum += xRow[laneIndex] * yRow[laneIndex];
|
|
14
|
+
}
|
|
15
|
+
result[rowIndex] = sum;
|
|
16
|
+
}
|
|
17
|
+
target.write(result);
|
|
18
|
+
return { success: true, value: result };
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=dot.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dot.js","sourceRoot":"","sources":["../../../../src/gpu-simple-graph/operations/cpu/dot.ts"],"names":[],"mappings":"AAAA,UAAU;AACV,+BAA+B;AAC/B,4DAA4D;AAI5D,OAAO,EAAC,aAAa,EAAC,oBAAiB;AAEvC,MAAM,CAAC,MAAM,GAAG,GAAiE,CAAC,EAChF,MAAM,EACN,MAAM,EACN,MAAM,EACP,EAAE,EAAE;IACH,MAAM,EAAC,CAAC,EAAE,CAAC,EAAC,GAAG,MAAM,CAAC;IACtB,MAAM,MAAM,GAAG,IAAI,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAEnD,KAAK,IAAI,QAAQ,GAAG,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,QAAQ,EAAE,EAAE,CAAC;QAC5D,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC;QACxC,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC;QACxC,IAAI,GAAG,GAAG,CAAC,CAAC;QACZ,KAAK,IAAI,SAAS,GAAG,CAAC,EAAE,SAAS,GAAG,CAAC,CAAC,IAAI,EAAE,SAAS,EAAE,EAAE,CAAC;YACxD,GAAG,IAAI,IAAI,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC;QAC3C,CAAC;QACD,MAAM,CAAC,QAAQ,CAAC,GAAG,GAAG,CAAC;IACzB,CAAC;IAED,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACrB,OAAO,EAAC,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAC,CAAC;AACxC,CAAC,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var equal_all_exports = {};
|
|
19
|
+
__export(equal_all_exports, {
|
|
20
|
+
equalAll: () => equalAll
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(equal_all_exports);
|
|
23
|
+
var import_common = require("./common.cjs");
|
|
24
|
+
const equalAll = ({ inputs, output, target }) => {
|
|
25
|
+
const { x, y } = inputs;
|
|
26
|
+
const result = new output.ValueType(output.length);
|
|
27
|
+
for (let rowIndex = 0; rowIndex < output.length; rowIndex++) {
|
|
28
|
+
const xRow = (0, import_common.getValueAtRow)(x, rowIndex);
|
|
29
|
+
const yRow = (0, import_common.getValueAtRow)(y, rowIndex);
|
|
30
|
+
let allEqual = 1;
|
|
31
|
+
for (let laneIndex = 0; laneIndex < x.size; laneIndex++) {
|
|
32
|
+
if (xRow[laneIndex] !== yRow[laneIndex]) {
|
|
33
|
+
allEqual = 0;
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
result[rowIndex] = allEqual;
|
|
38
|
+
}
|
|
39
|
+
target.write(result);
|
|
40
|
+
return { success: true, value: result };
|
|
41
|
+
};
|
|
42
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
43
|
+
0 && (module.exports = {
|
|
44
|
+
equalAll
|
|
45
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { OperationHandler } from "../../operation/operation.js";
|
|
2
|
+
import { GPUDataEvaluator } from "../../operation/gpu-data-evaluator.js";
|
|
3
|
+
export declare const equalAll: OperationHandler<{
|
|
4
|
+
x: GPUDataEvaluator;
|
|
5
|
+
y: GPUDataEvaluator;
|
|
6
|
+
}>;
|
|
7
|
+
//# sourceMappingURL=equal-all.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"equal-all.d.ts","sourceRoot":"","sources":["../../../../src/gpu-simple-graph/operations/cpu/equal-all.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,gBAAgB,EAAC,qCAAkC;AAC3D,OAAO,EAAC,gBAAgB,EAAC,8CAA2C;AAGpE,eAAO,MAAM,QAAQ,EAAE,gBAAgB,CAAC;IAAC,CAAC,EAAE,gBAAgB,CAAC;IAAC,CAAC,EAAE,gBAAgB,CAAA;CAAC,CAuBjF,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// luma.gl
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
3
|
+
// SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
|
|
4
|
+
import { getValueAtRow } from "./common.js";
|
|
5
|
+
export const equalAll = ({ inputs, output, target }) => {
|
|
6
|
+
const { x, y } = inputs;
|
|
7
|
+
const result = new output.ValueType(output.length);
|
|
8
|
+
for (let rowIndex = 0; rowIndex < output.length; rowIndex++) {
|
|
9
|
+
const xRow = getValueAtRow(x, rowIndex);
|
|
10
|
+
const yRow = getValueAtRow(y, rowIndex);
|
|
11
|
+
let allEqual = 1;
|
|
12
|
+
for (let laneIndex = 0; laneIndex < x.size; laneIndex++) {
|
|
13
|
+
if (xRow[laneIndex] !== yRow[laneIndex]) {
|
|
14
|
+
allEqual = 0;
|
|
15
|
+
break;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
result[rowIndex] = allEqual;
|
|
19
|
+
}
|
|
20
|
+
target.write(result);
|
|
21
|
+
return { success: true, value: result };
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=equal-all.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"equal-all.js","sourceRoot":"","sources":["../../../../src/gpu-simple-graph/operations/cpu/equal-all.ts"],"names":[],"mappings":"AAAA,UAAU;AACV,+BAA+B;AAC/B,4DAA4D;AAI5D,OAAO,EAAC,aAAa,EAAC,oBAAiB;AAEvC,MAAM,CAAC,MAAM,QAAQ,GAAiE,CAAC,EACrF,MAAM,EACN,MAAM,EACN,MAAM,EACP,EAAE,EAAE;IACH,MAAM,EAAC,CAAC,EAAE,CAAC,EAAC,GAAG,MAAM,CAAC;IACtB,MAAM,MAAM,GAAG,IAAI,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAEnD,KAAK,IAAI,QAAQ,GAAG,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,QAAQ,EAAE,EAAE,CAAC;QAC5D,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC;QACxC,MAAM,IAAI,GAAG,aAAa,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAC;QACxC,IAAI,QAAQ,GAAG,CAAC,CAAC;QACjB,KAAK,IAAI,SAAS,GAAG,CAAC,EAAE,SAAS,GAAG,CAAC,CAAC,IAAI,EAAE,SAAS,EAAE,EAAE,CAAC;YACxD,IAAI,IAAI,CAAC,SAAS,CAAC,KAAK,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC;gBACxC,QAAQ,GAAG,CAAC,CAAC;gBACb,MAAM;YACR,CAAC;QACH,CAAC;QACD,MAAM,CAAC,QAAQ,CAAC,GAAG,QAAQ,CAAC;IAC9B,CAAC;IAED,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACrB,OAAO,EAAC,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAC,CAAC;AACxC,CAAC,CAAC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var extent_exports = {};
|
|
19
|
+
__export(extent_exports, {
|
|
20
|
+
extent: () => extent
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(extent_exports);
|
|
23
|
+
var import_common = require("./common.cjs");
|
|
24
|
+
const extent = ({ inputs, output, target }) => {
|
|
25
|
+
const { sourceValues } = inputs;
|
|
26
|
+
const values = sourceValues.value;
|
|
27
|
+
if (!values) {
|
|
28
|
+
throw new Error(`${sourceValues} does not have CPU value`);
|
|
29
|
+
}
|
|
30
|
+
const result = new output.ValueType(output.length * output.size);
|
|
31
|
+
if (sourceValues.length === 0) {
|
|
32
|
+
return {
|
|
33
|
+
success: false,
|
|
34
|
+
error: new Error(`${sourceValues} is empty`)
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
for (let channelIndex = 0; channelIndex < sourceValues.size; channelIndex++) {
|
|
38
|
+
const firstValue = (0, import_common.getValueAtRow)(sourceValues, 0)[channelIndex];
|
|
39
|
+
const minIndex = channelIndex * output.size;
|
|
40
|
+
const maxIndex = minIndex + 1;
|
|
41
|
+
result[minIndex] = firstValue;
|
|
42
|
+
result[maxIndex] = firstValue;
|
|
43
|
+
for (let rowIndex = 1; rowIndex < sourceValues.length; rowIndex++) {
|
|
44
|
+
const value = (0, import_common.getValueAtRow)(sourceValues, rowIndex)[channelIndex];
|
|
45
|
+
if (value < result[minIndex]) {
|
|
46
|
+
result[minIndex] = value;
|
|
47
|
+
}
|
|
48
|
+
if (value > result[maxIndex]) {
|
|
49
|
+
result[maxIndex] = value;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
target.write(result);
|
|
54
|
+
return {
|
|
55
|
+
success: true,
|
|
56
|
+
value: result
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
60
|
+
0 && (module.exports = {
|
|
61
|
+
extent
|
|
62
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"extent.d.ts","sourceRoot":"","sources":["../../../../src/gpu-simple-graph/operations/cpu/extent.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,gBAAgB,EAAC,qCAAkC;AAC3D,OAAO,EAAC,gBAAgB,EAAC,8CAA2C;AAGpE,eAAO,MAAM,MAAM,EAAE,gBAAgB,CAAC;IAAC,YAAY,EAAE,gBAAgB,CAAA;CAAC,CAyCrE,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// luma.gl
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
3
|
+
// SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
|
|
4
|
+
import { getValueAtRow } from "./common.js";
|
|
5
|
+
export const extent = ({ inputs, output, target }) => {
|
|
6
|
+
const { sourceValues } = inputs;
|
|
7
|
+
const values = sourceValues.value;
|
|
8
|
+
if (!values) {
|
|
9
|
+
throw new Error(`${sourceValues} does not have CPU value`);
|
|
10
|
+
}
|
|
11
|
+
const result = new output.ValueType(output.length * output.size);
|
|
12
|
+
if (sourceValues.length === 0) {
|
|
13
|
+
return {
|
|
14
|
+
success: false,
|
|
15
|
+
error: new Error(`${sourceValues} is empty`)
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
for (let channelIndex = 0; channelIndex < sourceValues.size; channelIndex++) {
|
|
19
|
+
const firstValue = getValueAtRow(sourceValues, 0)[channelIndex];
|
|
20
|
+
const minIndex = channelIndex * output.size;
|
|
21
|
+
const maxIndex = minIndex + 1;
|
|
22
|
+
result[minIndex] = firstValue;
|
|
23
|
+
result[maxIndex] = firstValue;
|
|
24
|
+
for (let rowIndex = 1; rowIndex < sourceValues.length; rowIndex++) {
|
|
25
|
+
const value = getValueAtRow(sourceValues, rowIndex)[channelIndex];
|
|
26
|
+
if (value < result[minIndex]) {
|
|
27
|
+
result[minIndex] = value;
|
|
28
|
+
}
|
|
29
|
+
if (value > result[maxIndex]) {
|
|
30
|
+
result[maxIndex] = value;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
target.write(result);
|
|
35
|
+
return {
|
|
36
|
+
success: true,
|
|
37
|
+
value: result
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=extent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"extent.js","sourceRoot":"","sources":["../../../../src/gpu-simple-graph/operations/cpu/extent.ts"],"names":[],"mappings":"AAAA,UAAU;AACV,+BAA+B;AAC/B,4DAA4D;AAI5D,OAAO,EAAC,aAAa,EAAC,oBAAiB;AAEvC,MAAM,CAAC,MAAM,MAAM,GAAuD,CAAC,EACzE,MAAM,EACN,MAAM,EACN,MAAM,EACP,EAAE,EAAE;IACH,MAAM,EAAC,YAAY,EAAC,GAAG,MAAM,CAAC;IAC9B,MAAM,MAAM,GAAG,YAAY,CAAC,KAAK,CAAC;IAClC,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,MAAM,IAAI,KAAK,CAAC,GAAG,YAAY,0BAA0B,CAAC,CAAC;IAC7D,CAAC;IAED,MAAM,MAAM,GAAG,IAAI,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC;IACjE,IAAI,YAAY,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC9B,OAAO;YACL,OAAO,EAAE,KAAK;YACd,KAAK,EAAE,IAAI,KAAK,CAAC,GAAG,YAAY,WAAW,CAAC;SAC7C,CAAC;IACJ,CAAC;IAED,KAAK,IAAI,YAAY,GAAG,CAAC,EAAE,YAAY,GAAG,YAAY,CAAC,IAAI,EAAE,YAAY,EAAE,EAAE,CAAC;QAC5E,MAAM,UAAU,GAAG,aAAa,CAAC,YAAY,EAAE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC;QAChE,MAAM,QAAQ,GAAG,YAAY,GAAG,MAAM,CAAC,IAAI,CAAC;QAC5C,MAAM,QAAQ,GAAG,QAAQ,GAAG,CAAC,CAAC;QAC9B,MAAM,CAAC,QAAQ,CAAC,GAAG,UAAU,CAAC;QAC9B,MAAM,CAAC,QAAQ,CAAC,GAAG,UAAU,CAAC;QAC9B,KAAK,IAAI,QAAQ,GAAG,CAAC,EAAE,QAAQ,GAAG,YAAY,CAAC,MAAM,EAAE,QAAQ,EAAE,EAAE,CAAC;YAClE,MAAM,KAAK,GAAG,aAAa,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC,YAAY,CAAC,CAAC;YAClE,IAAI,KAAK,GAAG,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC;gBAC7B,MAAM,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC;YAC3B,CAAC;YACD,IAAI,KAAK,GAAG,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC;gBAC7B,MAAM,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC;YAC3B,CAAC;QACH,CAAC;IACH,CAAC;IAED,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACrB,OAAO;QACL,OAAO,EAAE,IAAI;QACb,KAAK,EAAE,MAAM;KACd,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var fround_exports = {};
|
|
19
|
+
__export(fround_exports, {
|
|
20
|
+
fround: () => fround
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(fround_exports);
|
|
23
|
+
var import_common = require("./common.cjs");
|
|
24
|
+
const fround = ({ inputs, output, target }) => {
|
|
25
|
+
return (0, import_common.runCPUTransform)({
|
|
26
|
+
func: (out, x) => {
|
|
27
|
+
const vertexSize = out.length / 2;
|
|
28
|
+
const f64Arr = new Float64Array(x.buffer);
|
|
29
|
+
for (let i = 0; i < vertexSize; i++) {
|
|
30
|
+
const value = f64Arr[i];
|
|
31
|
+
out[i] = Math.fround(value);
|
|
32
|
+
out[i + vertexSize] = value - out[i];
|
|
33
|
+
}
|
|
34
|
+
return out;
|
|
35
|
+
},
|
|
36
|
+
inputs,
|
|
37
|
+
output,
|
|
38
|
+
outputBuffer: target
|
|
39
|
+
});
|
|
40
|
+
};
|
|
41
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
42
|
+
0 && (module.exports = {
|
|
43
|
+
fround
|
|
44
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fround.d.ts","sourceRoot":"","sources":["../../../../src/gpu-simple-graph/operations/cpu/fround.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,gBAAgB,EAAC,qCAAkC;AAC3D,OAAO,EAAC,gBAAgB,EAAC,8CAA2C;AAIpE,eAAO,MAAM,MAAM,EAAE,gBAAgB,CAAC;IAAC,CAAC,EAAE,gBAAgB,CAAA;CAAC,CAgB1D,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// luma.gl
|
|
2
|
+
// SPDX-License-Identifier: MIT
|
|
3
|
+
// SPDX-FileCopyrightText: Copyright (c) vis.gl contributors
|
|
4
|
+
import { runCPUTransform } from "./common.js";
|
|
5
|
+
export const fround = ({ inputs, output, target }) => {
|
|
6
|
+
return runCPUTransform({
|
|
7
|
+
func: (out, x) => {
|
|
8
|
+
const vertexSize = out.length / 2;
|
|
9
|
+
const f64Arr = new Float64Array(x.buffer);
|
|
10
|
+
for (let i = 0; i < vertexSize; i++) {
|
|
11
|
+
const value = f64Arr[i];
|
|
12
|
+
out[i] = Math.fround(value);
|
|
13
|
+
out[i + vertexSize] = value - out[i];
|
|
14
|
+
}
|
|
15
|
+
return out;
|
|
16
|
+
},
|
|
17
|
+
inputs,
|
|
18
|
+
output,
|
|
19
|
+
outputBuffer: target
|
|
20
|
+
});
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=fround.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fround.js","sourceRoot":"","sources":["../../../../src/gpu-simple-graph/operations/cpu/fround.ts"],"names":[],"mappings":"AAAA,UAAU;AACV,+BAA+B;AAC/B,4DAA4D;AAI5D,OAAO,EAAC,eAAe,EAAC,oBAAiB;AAGzC,MAAM,CAAC,MAAM,MAAM,GAA4C,CAAC,EAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAC,EAAE,EAAE;IAC1F,OAAO,eAAe,CAAC;QACrB,IAAI,EAAE,CAAC,GAAe,EAAE,CAAa,EAAE,EAAE;YACvC,MAAM,UAAU,GAAG,GAAG,CAAC,MAAM,GAAG,CAAC,CAAC;YAClC,MAAM,MAAM,GAAG,IAAI,YAAY,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;YAC1C,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,UAAU,EAAE,CAAC,EAAE,EAAE,CAAC;gBACpC,MAAM,KAAK,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC;gBACxB,GAAG,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;gBAC5B,GAAG,CAAC,CAAC,GAAG,UAAU,CAAC,GAAG,KAAK,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC;YACvC,CAAC;YACD,OAAO,GAAG,CAAC;QACb,CAAC;QACD,MAAM;QACN,MAAM;QACN,YAAY,EAAE,MAAM;KACrB,CAAC,CAAC;AACL,CAAC,CAAC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var gather_exports = {};
|
|
19
|
+
__export(gather_exports, {
|
|
20
|
+
gather: () => gather
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(gather_exports);
|
|
23
|
+
var import_common = require("./common.cjs");
|
|
24
|
+
const gather = async ({ inputs, output, target }) => {
|
|
25
|
+
const { ids, sourceValues } = inputs;
|
|
26
|
+
const idsValue = ids.value;
|
|
27
|
+
const sourceValue = sourceValues.value;
|
|
28
|
+
if (!idsValue) {
|
|
29
|
+
throw new Error(`${ids} does not have CPU value`);
|
|
30
|
+
}
|
|
31
|
+
if (!sourceValue) {
|
|
32
|
+
throw new Error(`${sourceValues} does not have CPU value`);
|
|
33
|
+
}
|
|
34
|
+
const result = new output.ValueType(output.length * output.size);
|
|
35
|
+
const zeroRow = new Array(output.size).fill(0);
|
|
36
|
+
for (let rowIndex = 0; rowIndex < output.length; rowIndex++) {
|
|
37
|
+
const idRow = (0, import_common.getValueAtRow)(ids, rowIndex);
|
|
38
|
+
const sourceIndex = Number(idRow[0]);
|
|
39
|
+
const row = isValidSourceIndex(sourceIndex, sourceValues.length) ? (0, import_common.getValueAtRow)(sourceValues, sourceIndex) : zeroRow;
|
|
40
|
+
result.set(row, rowIndex * output.size);
|
|
41
|
+
}
|
|
42
|
+
target.write(result);
|
|
43
|
+
return {
|
|
44
|
+
success: true,
|
|
45
|
+
value: result
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
function isValidSourceIndex(sourceIndex, length) {
|
|
49
|
+
return Number.isInteger(sourceIndex) && sourceIndex >= 0 && sourceIndex < length;
|
|
50
|
+
}
|
|
51
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
52
|
+
0 && (module.exports = {
|
|
53
|
+
gather
|
|
54
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { OperationHandler } from "../../operation/operation.js";
|
|
2
|
+
import { GPUDataEvaluator } from "../../operation/gpu-data-evaluator.js";
|
|
3
|
+
export declare const gather: OperationHandler<{
|
|
4
|
+
ids: GPUDataEvaluator;
|
|
5
|
+
sourceValues: GPUDataEvaluator;
|
|
6
|
+
}>;
|
|
7
|
+
//# sourceMappingURL=gather.d.ts.map
|