Skip to main content

Module adapters

Module adapters 

Source
Expand description

What GPUs wgpu can see on this machine, and a quick correctness check of the kernels on the one Ferrotensor uses.

ferrotensor info prints list_adapters and, with --check, runs self_check. Both are meant for bug reports and for trying Ferrotensor on hardware it has not been tested on yet.

Structs§

AdapterReport
One adapter wgpu found, with the limits that matter for the kernels.
CheckResult
Result of one kernel compared against a CPU reference.

Functions§

list_adapters
Every adapter wgpu can open on this machine, across all backends, with the one WgpuContext::new would pick marked selected.
self_check
Run matmul (odd, non-square sizes), softmax and RMSNorm on ctx’s GPU and compare each with a CPU reference computed in f64.
vendor_name
Vendor name for a PCI vendor id.