raph,
@raph@mastodon.online avatar

Are you interested in working on parallel sorting algorithms in ? If so, get in touch. I'm especially interested in segmented merge sort (https://moderngpu.github.io/segsort.html), but other classic parallel sort algorithms including bitonic and radix are on the table.

I would find this fascinating to work on myself (and that still might happen), but my time is pretty packed. Even so, I'm excited about the prospects to where I might be able to fund some work out of my own pocket. Let's discuss.

raph,
@raph@mastodon.online avatar

I got a bunch of responses to this, some private. Thanks for those!

I also did a bit of an exploration myself, including a bit of a fusion of FidelityFX sort and Onesweep ported to WebGPU, with the warp-local multi-split adapted to use shared memory instead of subgroups (warp operations). Details are in this Zulip thread: https://xi.zulipchat.com/#narrow/stream/197075-gpu/topic/Sorting.20revisited

This is a preliminary investigation, which shows that performant WebGPU sorting is likely feasible. I hope it gets that conversation started.

Az,
@Az@mastodon.gamedev.place avatar

@raph Funny, I wrote a (naive) bitonic sort in no later than on Tuesday! Two resources that helped me were the webgpu sample (in typescript) https://webgpu.github.io/webgpu-samples/samples/bitonicSort and a great blogpost by @tgfrerer https://poniesandlight.co.uk/reflect/bitonic_merge_sort/
Have fun, seeing those pixels getting sorted is really satisfying.

dneto,
@dneto@mastodon.gamedev.place avatar

@raph it would be awesome to have a bunch of mostly adaptable demos of key algorithms.
Matrix multiply seems important.
And performance tuning across devices.

There is a nifty little project that does a few things like this for Vulkan compute.

https://github.com/google/uVkCompute

And a nice demo of NVidia's cooperative matrix Vulkan extension.

https://github.com/jeffbolznv/vk_cooperative_matrix_perf

  • All
  • Subscribed
  • Moderated
  • Favorites
  • webgpu
  • tacticalgear
  • DreamBathrooms
  • cisconetworking
  • khanakhh
  • mdbf
  • magazineikmin
  • modclub
  • InstantRegret
  • rosin
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • ngwrru68w68
  • JUstTest
  • everett
  • tester
  • cubers
  • normalnudes
  • thenastyranch
  • osvaldo12
  • GTA5RPClips
  • ethstaker
  • Leos
  • provamag3
  • anitta
  • megavids
  • lostlight
  • All magazines