#[non_exhaustive]pub struct CudaHost {
pub compute_capability: ComputeCapability,
pub driver_version: CudaVersion,
}Expand description
Host-wide CUDA properties reported by the NVIDIA driver.
These describe the host and its driver rather than any one GPU, which is why
they are separate from the per-GPU GpuInfo. Consumers typically use them
to select a prebuilt artifact compatible with the host.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.compute_capability: ComputeCapabilityCompute capability of device 0.
driver_version: CudaVersionVersion of the installed CUDA driver.
Trait Implementations§
impl Copy for CudaHost
impl Eq for CudaHost
impl StructuralPartialEq for CudaHost
Auto Trait Implementations§
impl Freeze for CudaHost
impl RefUnwindSafe for CudaHost
impl Send for CudaHost
impl Sync for CudaHost
impl Unpin for CudaHost
impl UnsafeUnpin for CudaHost
impl UnwindSafe for CudaHost
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