Struct numa_gpu::runtime::dispatcher::HetMorselExecutorBuilder
source · [−]pub struct HetMorselExecutorBuilder { /* private fields */ }
Implementations
sourceimpl HetMorselExecutorBuilder
impl HetMorselExecutorBuilder
pub fn new() -> Self
pub fn morsel_spec(self, morsel_spec: MorselSpec) -> Self
pub fn cpu_threads(self, threads: usize) -> Self
pub fn worker_cpu_affinity(self, _: WorkerCpuAffinity) -> Self
pub fn gpu_ids(self, gpu_ids: Vec<u16>) -> Self
pub fn build(self) -> Result<HetMorselExecutor>
Auto Trait Implementations
impl RefUnwindSafe for HetMorselExecutorBuilder
impl Send for HetMorselExecutorBuilder
impl Sync for HetMorselExecutorBuilder
impl Unpin for HetMorselExecutorBuilder
impl UnwindSafe for HetMorselExecutorBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more