pub struct GpuChunkSettings {
pub gpu_memory_ratio: f64,
pub gpu_min_chunk: usize,
pub overlap_compute: bool,
pub gpu_bandwidth: Option<u64>,
pub transfer_bandwidth: Option<u64>,
}
Expand description
GPU chunking settings
Fields§
§gpu_memory_ratio: f64
Target GPU memory usage ratio (0.0 to 1.0)
gpu_min_chunk: usize
Minimum chunk size for GPU transfer efficiency
overlap_compute: bool
Whether to overlap CPU/GPU computation
gpu_bandwidth: Option<u64>
GPU memory bandwidth (bytes/second)
transfer_bandwidth: Option<u64>
CPU-GPU transfer bandwidth (bytes/second)
Trait Implementations§
Source§impl Clone for GpuChunkSettings
impl Clone for GpuChunkSettings
Source§fn clone(&self) -> GpuChunkSettings
fn clone(&self) -> GpuChunkSettings
Returns a duplicate 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 GpuChunkSettings
impl Debug for GpuChunkSettings
Auto Trait Implementations§
impl Freeze for GpuChunkSettings
impl RefUnwindSafe for GpuChunkSettings
impl Send for GpuChunkSettings
impl Sync for GpuChunkSettings
impl Unpin for GpuChunkSettings
impl UnwindSafe for GpuChunkSettings
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more