pub struct CompileOptions {
pub lower_gathers: bool,
pub recompute_depths: bool,
}Fields§
§lower_gathers: boolLower masked sums over declared one-hot groups to gather reads. On by default.
recompute_depths: boolPlace each operation one layer after the deepest value it reads in the compiled program, instead of at its build-time depth, so a gather read stops waiting for the products it replaced. Off by default.
Trait Implementations§
Source§impl Clone for CompileOptions
impl Clone for CompileOptions
impl Copy for CompileOptions
Source§impl Debug for CompileOptions
impl Debug for CompileOptions
Source§impl Default for CompileOptions
impl Default for CompileOptions
Source§fn default() -> CompileOptions
fn default() -> CompileOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CompileOptions
impl RefUnwindSafe for CompileOptions
impl Send for CompileOptions
impl Sync for CompileOptions
impl Unpin for CompileOptions
impl UnsafeUnpin for CompileOptions
impl UnwindSafe for CompileOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more