Conversation
Codecov Report
@@ Coverage Diff @@
## master #167 +/- ##
==========================================
- Coverage 50.25% 49.37% -0.89%
==========================================
Files 42 44 +2
Lines 7223 7360 +137
==========================================
+ Hits 3630 3634 +4
- Misses 3593 3726 +133
Continue to review full report at Codecov.
|
works only for arrays of size BLOCK_SIZE^n, n > 0
it seems that all the invocation of a shader that lie in the same wave-front on opencl advance at the same time so we can use multiplication instead of if/else. not sure if webgpu uphold this property though
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.
Trying things out with wgpu and wgsl to compute the split position at each iteration
Right now there is a new main.rs file that compute the sum of [1..128], the matching shader file in src/algorithms/recursive_bisection.wgsl and a useless src/gpu.rs that would hold utilities as they are needed.
refs