pub struct KernelSettings {
pub cube_dim: CubeDim,
pub options: KernelOptions,
}
Fields§
§cube_dim: CubeDim
§options: KernelOptions
Implementations§
Source§impl KernelSettings
impl KernelSettings
Sourcepub fn kernel_name<S: AsRef<str>>(self, name: S) -> Self
pub fn kernel_name<S: AsRef<str>>(self, name: S) -> Self
Set kernel name.
Sourcepub fn debug_symbols(self) -> Self
pub fn debug_symbols(self) -> Self
Activate debug symbols
Sourcepub fn fp_math_mode(self, mode: FastMath) -> Self
pub fn fp_math_mode(self, mode: FastMath) -> Self
Set FP math mode
Sourcepub fn cluster_dim(self, cluster_dim: CubeDim) -> Self
pub fn cluster_dim(self, cluster_dim: CubeDim) -> Self
Set cluster dim
Trait Implementations§
Source§impl Clone for KernelSettings
impl Clone for KernelSettings
Source§fn clone(&self) -> KernelSettings
fn clone(&self) -> KernelSettings
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 KernelSettings
impl Debug for KernelSettings
Source§impl Default for KernelSettings
impl Default for KernelSettings
Source§fn default() -> KernelSettings
fn default() -> KernelSettings
Returns the “default value” for a type. Read more
Source§impl Hash for KernelSettings
impl Hash for KernelSettings
Source§impl PartialEq for KernelSettings
impl PartialEq for KernelSettings
impl Eq for KernelSettings
impl StructuralPartialEq for KernelSettings
Auto Trait Implementations§
impl Freeze for KernelSettings
impl RefUnwindSafe for KernelSettings
impl Send for KernelSettings
impl Sync for KernelSettings
impl Unpin for KernelSettings
impl UnwindSafe for KernelSettings
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