Skip to main content

dispatch_float

Macro dispatch_float 

Source
macro_rules! dispatch_float {
    ($storage:expr, |$data:ident| $body:expr) => { ... };
}
Expand description

Run $body with $data bound to the inner &Vec<t> of a CpuFloatStorage, then wrap the returned Vec<t> back into a CpuFloatStorage.