pub struct CudaDeviceProperties {
pub name: String,
pub compute_capability: (i32, i32),
pub total_memory_bytes: usize,
pub multiprocessor_count: i32,
pub max_threads_per_block: i32,
pub max_shared_memory_per_block: usize,
}Expand description
CUDA device properties
Fields§
§name: String§compute_capability: (i32, i32)§total_memory_bytes: usize§multiprocessor_count: i32§max_threads_per_block: i32Trait Implementations§
Source§impl Clone for CudaDeviceProperties
impl Clone for CudaDeviceProperties
Auto Trait Implementations§
impl Freeze for CudaDeviceProperties
impl RefUnwindSafe for CudaDeviceProperties
impl Send for CudaDeviceProperties
impl Sync for CudaDeviceProperties
impl Unpin for CudaDeviceProperties
impl UnsafeUnpin for CudaDeviceProperties
impl UnwindSafe for CudaDeviceProperties
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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