#[non_exhaustive]pub struct CompileOptions {}Expand description
Options for Client::compile_with_options.
Programs are always compiled for one replica and one partition, without a fixed device.
XLA’s debug options cannot be overridden one by one: if the proto carries
any debug_options, XLA replaces all of the plugin’s defaults with it, and
unset fields become zero (which, for example, makes the CPU compiler fail
with parallel_codegen_split_count (0)). Behavior that would need a debug
option is therefore handled in the lowering instead (see
ruxla_ir::lowering::Target).
Implementations§
Trait Implementations§
Source§impl Clone for CompileOptions
impl Clone for CompileOptions
Source§impl Debug for CompileOptions
impl Debug for CompileOptions
Source§impl Default for CompileOptions
impl Default for CompileOptions
impl Eq for CompileOptions
Source§impl PartialEq for CompileOptions
impl PartialEq for CompileOptions
impl StructuralPartialEq for CompileOptions
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