docs: Simplify concurrent chart example #2169
Merged
reczkok merged 1 commit intofeat/concurrent-sum-debugfrom Feb 16, 2026
Merged
docs: Simplify concurrent chart example #2169reczkok merged 1 commit intofeat/concurrent-sum-debugfrom
reczkok merged 1 commit intofeat/concurrent-sum-debugfrom
Conversation
509ec53 to
c712586
Compare
📊 Bundle Size Comparison
👀 Notable resultsStatic test results:No major changes. Dynamic test results:No major changes. 📋 All resultsClick to reveal the results table (335 entries).
If you wish to run a comparison for other, slower bundlers, run the 'Tree-shake test' from the GitHub Actions menu. |
|
pkg.pr.new packages benchmark commit |
iwoplaza
added a commit
that referenced
this pull request
Feb 20, 2026
* concurrent sum module * compute shader blueprint * endeavour to run compute shader * introduced std log and std log2 * log now supports vectors * removed redundant files * log in vectorops * added tests * complete tests * updated to main * Fixes - compute shader runs * alg fixes * working presum * introduced concurrent-sum example * concurrent sum in math examples * finally somewhat parallel * Fixed exceeding workgroup size * One function to wrap the compute shader * packed whole concurrent-sum * Added quicker concurrentSum algorithm - shared memory * each thread copies two values into shared memory, instead of one * Found workGroupSize buffer * Introduced sums scan * Compute shader used for sums * export fixes * incrementSHader * Found copy bug * alg fix * Dynamic buffer length support * Now supporting optional buffer as output * no more consts * Divided into upPass and downPass * Refmt * work in progress * Fixed * reintroduced down pass * warning fixes * Fully working impl * example for testing * clean layouts * fully working recursive step * Dispatching multiple workgroups * supporting optional buffer * stash the cache * buffer cache * nits * performance inprovements * alternative cache * gpu time * refactor of types * 🦕 * basic support for any operation * concurrent sum supports all operators now * example tidy up * removed unnecessary flush * example improvements * types * Support for single element sum * example sanity changes' * filenames * 🦕 * fixes * 🦕 * 🦕 * flex example * lines * speed up isntead of time * some improvements * tailwind baby * 3 values * working example * pr fixes * html simplifiaction * other operators fix * typo * length is now chooseable * fixed on mobile * tgpu callable * profile pic mod * copilot * buttons cleanup * introduced calculate index * got rid of ugly casts * Major rename * Removed old concurrent sum example * 🦕 * typo * better cache * oppsies * html changes * height control * looking goood on mobile * 🦕 * dynamic y axis * rename * 🦕 * PR fixes 1 * fix * single element scan fix * 🦕 * proper private values * docs and tests * farewell buffer cache * 🦕 * Merge fixes * docs: Tests for prefix scan (#1804) * jsdocs example * implicit single scan conv * fix timestamp queries * 🦕🦕🦕 * tgpu bump 0.6 -> 0.8 * API option 4 * 🦕🦕🦕 * 🦕🦕🦕🦕 * tgpu version bump * PR fixes 1 * Code duplication with scan (only difference is true vs false), this body can be extracted to a helper function. * outputBuffer does not work in scan (there is always a new one-element buffer returned) * fix faulty test * ordering of lines * removed number cast * simplified array init * bars opacity in loop * readme change * .with update * better pipeline if * removed tgpu callable * uniformAdd -> uniformOp * fix, simplify, modernize (#2164) * simplify (#2169) * COMBINE (#2182) * add -> op * export computer for *advanced* usage I guess :P * two level cache * fixes * better wording imp --------- Co-authored-by: Iwo Plaza <iwoplaza@gmail.com> Co-authored-by: Aleksander Katan <56294622+aleksanderkatan@users.noreply.github.com> Co-authored-by: Aleksander Katan <aleksander.katan@swmansion.com> Co-authored-by: Konrad Reczko <reczkok@gmail.com> Co-authored-by: Konrad Reczko <66403540+reczkok@users.noreply.github.com>
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.
In my experience reading the code it was hard to actually comprehend what is going on and how the library is used. This PR strips the array size insertion logic in favor of simplicity