Skip to content

A demonstration of how one might make a more ergonomic wrapper for doing compute shaders in webgpu

License

Notifications You must be signed in to change notification settings

petar-andrejic/webgpu-compute

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webgpu-compute

While quite nice and ergonomic compared to say Vulkan, webGPU still has a decent amount of boilerplate involved compared with something like CUDA. In this repo I've sketched out a fairly minimal wrapper for wgpu in Rust around common tasks such as synchronising a GPU to CPU and vice versa, and store and dispatch pipelines on buffers. This isn't intended to be serious library code, more a helpful resource for getting started on your own custom wgpu compute code

About

A demonstration of how one might make a more ergonomic wrapper for doing compute shaders in webgpu

Topics

Resources

License

Stars

Watchers

Forks