pub struct CudaDeviceProperties {Show 16 fields
pub device_id: u32,
pub name: String,
pub compute_capability: (u32, u32),
pub total_global_memory: usize,
pub shared_memory_per_block: usize,
pub warp_size: u32,
pub max_threads_per_block: u32,
pub max_blocks_per_multiprocessor: u32,
pub multiprocessor_count: u32,
pub memory_clock_rate: u32,
pub memory_bus_width: u32,
pub l2_cache_size: usize,
pub unified_addressing: bool,
pub managed_memory: bool,
pub concurrent_kernels: bool,
pub async_engine_count: u32,
}Expand description
CUDA device properties
Fields§
§device_id: u32§name: String§compute_capability: (u32, u32)§total_global_memory: usize§warp_size: u32§max_threads_per_block: u32§max_blocks_per_multiprocessor: u32§multiprocessor_count: u32§memory_clock_rate: u32§memory_bus_width: u32§l2_cache_size: usize§unified_addressing: bool§managed_memory: bool§concurrent_kernels: bool§async_engine_count: u32Trait Implementations§
Source§impl Clone for CudaDeviceProperties
impl Clone for CudaDeviceProperties
Source§fn clone(&self) -> CudaDeviceProperties
fn clone(&self) -> CudaDeviceProperties
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 moreAuto 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> 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