-
-
Notifications
You must be signed in to change notification settings - Fork 36.1k
Examples/TSL: Add SubgroupFunctionNode with Compute Reduction Demonstration #31378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
e0caebb to
58e25ac
Compare
📦 Bundle sizeFull ESM build, minified and gzipped.
🌳 Bundle size after tree-shakingMinimal build including a renderer, camera, empty scene, and dependencies.
|
|
Converting to draft till #31531 is properly implemented. |
…dArray instead of storage)
…ng stored in a var
d15ca48 to
ba5438f
Compare
|
New test link with updated build |
|
@sunag This should be ready to go now. I've updated the title and description to explain that this PR both adds SubgroupFunctionNode and provides a demonstration of subgroup operations within the reduction examples. The current load time for the page is rather slow, so I was wondering if it would be better to only present one data display. |
|
Not sure why DeepScan's been running for 2 hrs (now half the day 👀) |
Adds SubgroupFunctionNode for subgroup/warp operations for compatible Threejs backends (currently only WebGPU). Adds an example demonstrating some GPGPU reduction algorithms, including some that make use of subgroup operations, with the potential to add more as time goes on. I'd love to take any suggestions for demonstrating reduction in a more visually appealing way beyond the standard buffer grid approach that's been used in webgpu_compute_sort_bitonic and webgpu_storage_buffer.