Skip to main content

available_backends

Function available_backends 

Source
pub fn available_backends() -> Vec<Backend>
Expand description

Returns a list of all backends that were compiled into this build.

Useful for CLI tools, logging, or dynamically selecting a backend.

ยงExample

for b in gpu_fft::available_backends() {
    println!("{b:?}");
}