Skip to main content

Module gpu

Module gpu 

Source

Re-exports§

pub use manager::GpuPolicy;
pub use manager::set_gpu_policy;
pub use manager::get_gpu_policy;
pub use manager::select_best_backend;

Modules§

manager
opencl
opengl
vulkan

Structs§

DisabledBackend

Traits§

GpuBackend

Functions§

add
Convenience: Executes addition on the active GPU backend.
add_async
Convenience: Executes async addition on the active GPU backend.
dot
Convenience: Executes dot product on the active GPU backend.
get_active_backend_name
mul
Convenience: Executes multiplication on the active GPU backend.
register_backend
sub
Convenience: Executes subtraction on the active GPU backend.
with_backend
Executes a closure with the currently active GPU backend.