pub struct QuantumGpuConfig {
pub enable_gpu_acceleration: bool,
pub gpu_device_index: usize,
pub cuda_block_size: usize,
pub parallel_streams: usize,
pub gpu_memory_pool_size: usize,
pub enable_mixed_precision: bool,
pub tensor_core_level: u8,
}Expand description
GPU-optimized quantum computation configuration
Fields§
§enable_gpu_acceleration: boolEnable GPU acceleration for quantum operations
gpu_device_index: usizePreferred GPU device index
cuda_block_size: usizeCUDA block size for parallel quantum operations
parallel_streams: usizeNumber of parallel quantum streams
gpu_memory_pool_size: usizeGPU memory pool size in bytes
enable_mixed_precision: boolEnable mixed precision computation
tensor_core_level: u8Tensor core utilization level (0-3)
Trait Implementations§
Source§impl Clone for QuantumGpuConfig
impl Clone for QuantumGpuConfig
Source§fn clone(&self) -> QuantumGpuConfig
fn clone(&self) -> QuantumGpuConfig
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 QuantumGpuConfig
impl Debug for QuantumGpuConfig
Auto Trait Implementations§
impl Freeze for QuantumGpuConfig
impl RefUnwindSafe for QuantumGpuConfig
impl Send for QuantumGpuConfig
impl Sync for QuantumGpuConfig
impl Unpin for QuantumGpuConfig
impl UnsafeUnpin for QuantumGpuConfig
impl UnwindSafe for QuantumGpuConfig
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