Skip to content

Minimal example of using rust-gpu and wgpu to dispatch compute shaders written in rust.

License

Notifications You must be signed in to change notification settings

pema99/rust-gpu-compute-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-gpu-compute-example

Minimal example of using rust-gpu and wgpu to dispatch compute shaders written in rust.

Adapted from rust-gpu example source.

To run, simply cargo run. A build script will compile all kernel crates in the kernels directory. The function execute_kernel in src/main.rs shows how to run such a compiled kernel.

About

Minimal example of using rust-gpu and wgpu to dispatch compute shaders written in rust.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages