pub struct KernelOptions {
pub kernel_name: String,
pub debug_symbols: bool,
pub fp_math_mode: FastMath,
pub cluster_dim: Option<CubeDim>,
}
Fields§
§kernel_name: String
§debug_symbols: bool
§fp_math_mode: FastMath
§cluster_dim: Option<CubeDim>
Trait Implementations§
Source§impl Clone for KernelOptions
impl Clone for KernelOptions
Source§fn clone(&self) -> KernelOptions
fn clone(&self) -> KernelOptions
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for KernelOptions
impl Debug for KernelOptions
Source§impl Default for KernelOptions
impl Default for KernelOptions
Source§fn default() -> KernelOptions
fn default() -> KernelOptions
Returns the “default value” for a type. Read more
Source§impl Hash for KernelOptions
impl Hash for KernelOptions
Source§impl PartialEq for KernelOptions
impl PartialEq for KernelOptions
impl Eq for KernelOptions
impl StructuralPartialEq for KernelOptions
Auto Trait Implementations§
impl Freeze for KernelOptions
impl RefUnwindSafe for KernelOptions
impl Send for KernelOptions
impl Sync for KernelOptions
impl Unpin for KernelOptions
impl UnwindSafe for KernelOptions
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