#[repr(C)]pub struct cpu_params {
pub n_threads: c_int,
pub cpumask: [bool; 512],
pub mask_valid: bool,
pub priority: ggml_sched_priority,
pub strict_cpu: bool,
pub poll: u32,
}
Fields§
§n_threads: c_int
§cpumask: [bool; 512]
§mask_valid: bool
§priority: ggml_sched_priority
§strict_cpu: bool
§poll: u32
Trait Implementations§
Source§impl Clone for cpu_params
impl Clone for cpu_params
Source§fn clone(&self) -> cpu_params
fn clone(&self) -> cpu_params
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 cpu_params
impl Debug for cpu_params
Source§impl PartialEq for cpu_params
impl PartialEq for cpu_params
impl Copy for cpu_params
impl StructuralPartialEq for cpu_params
Auto Trait Implementations§
impl Freeze for cpu_params
impl RefUnwindSafe for cpu_params
impl Send for cpu_params
impl Sync for cpu_params
impl Unpin for cpu_params
impl UnwindSafe for cpu_params
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