mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-25 08:13:27 +00:00
939d54f88d
* Creation of max compute workgroup size limits * Implemented for Vulkan and Dx12 * Follow up of gfx-rs/wgpu#1808 * Check if current dispatch operation is under the limit * Typos and some forgotten fixes * Port to GLES * Port to Metal with default limits * Change Vulkan max_workroup_size_per_dims to pick the min of the reported dimensions Co-authored-by: Dzmitry Malyshau <kvark@fastmail.com> Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |
wgpu-info
This is a command line utility that does two different functions.
Listing Adapters
When called with no arguments, wgpu-info will list all adapters visible to wgpu and all the information about them we have.
cargo run --bin wgpu-info
Running Test on many Adapters
When called with any amount of arguments it will interpret all of the arguments as a command to run. It will run this command N different times, one for every combination of adapter and backend on the system.
For every command invocation, it will set WGPU_ADAPTER_NAME
to the name of the adapter name and WGPU_BACKEND
to the name of the backend. This is used as the primary means of testing across many adapters.