Repository navigation
HeatmapLayer: accept borrowed GPUVector inputs - #11061
Merged
Merged
Conversation
[Medium impact] The PR appears safe to merge; no new actionable issues were found. Summary
Reviews (6) · Last reviewed commit: "Document Heatmap GPU columns with the la..." · Reviewed by Greptile |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit c5d050b. Configure here.
ibgreen
force-pushed
the
codex/heatmap-gpu-columns
branch
from
November 7, 2026 19:28
5de152e to
aa9e274
Compare
ibgreen
force-pushed
the
codex/heatmap-gpu-columns
branch
from
November 8, 2026 13:29
aa9e274 to
6ab4985
Compare
chrisgervang
approved these changes
Nov 8, 2026
This was referenced Nov 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Follow up of #11044.
Background
HeatmapLayer accepts accessor and binary inputs but cannot consume borrowed GPU columns directly. Add position and weight GPUVectors to its existing weight-texture path, preserving offsets and strides without readback.
Change List
positionsand single-channelweightscolumnsCI passes: package build, lint, coverage, WebGPU tests, website, Python, and projection example. Initial scope: float32x3 positions, float32 weights, no extensions or CPU preprojection. Focused tests verify actual buffer bindings, offsets, strides, and borrowed ownership.
Note
Low Risk
Low risk as this introduces an opt-in GPU vector path on WebGPU without modifying the default accessor and attribute pipelines.
Overview
Adds support for borrowed
positionsandweightsGPUVectorprops inHeatmapLayerwhen running on WebGPU. This allows callers to bypass CPU accessors and supply pre-allocated GPU column buffers directly while preserving byte offsets and strides.The layer derives instance counts from vector lengths or
numInstancesprefixes, configuring explicit buffer layouts and managing zeroed low-precision position buffers for weight-transform aggregation. When GPU vector props are omitted, standard attribute updates and accessor pathways remain unchanged.Reviewed by Cursor Bugbot for commit b5f04dc. Bugbot is set up for automated code reviews on this repo. Configure here.