pub trait KernelFactoryExt {
// Required methods
fn can_use_tensor_cores(&self) -> bool;
fn get_optimal_config(
&self,
signal_size: usize,
algorithm: SparseFFTAlgorithm,
window_function: WindowFunction,
) -> KernelConfig;
}Expand description
Extension trait for KernelFactory
Required Methods§
Sourcefn can_use_tensor_cores(&self) -> bool
fn can_use_tensor_cores(&self) -> bool
Check if the GPU can use tensor cores
Sourcefn get_optimal_config(
&self,
signal_size: usize,
algorithm: SparseFFTAlgorithm,
window_function: WindowFunction,
) -> KernelConfig
fn get_optimal_config( &self, signal_size: usize, algorithm: SparseFFTAlgorithm, window_function: WindowFunction, ) -> KernelConfig
Get optimal configuration for a specific algorithm and signal size
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".