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