Skip to content

Examples: Add Compute Reduction Example #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

Open
wants to merge 6 commits into
base: dev
Choose a base branch
from

Conversation

cmhhelgeson
Copy link
Contributor

@cmhhelgeson cmhhelgeson commented Jul 6, 2025

Adds an example demonstrating some very simple GPGPU reduction algorithms, with the intention 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.

image

@WestLangley
Copy link
Collaborator

Ephemeral test link
https://raw.githack.com/cmhhelgeson/three.js/webgpu_compute_reduce/examples/webgpu_compute_reduce.html

@cmhhelgeson cmhhelgeson marked this pull request as ready for review July 8, 2025 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants