pub trait CudaDeviceInfo {
    fn sm_cores(&self) -> Result<u32>;
fn cores(&self) -> Result<u32>;
fn concurrent_managed_access(&self) -> Result<bool>;
fn clock_rate(&self) -> Result<u32>;
fn memory_clock_rate(&self) -> Result<u32>; }
Expand description

Extends Rustacuda’s Device with methods that provide additional hardware information.

Required methods

Returns the number of cores per streaming multiprocessor

Returns the total number of cores that are in the device

Returns true if concurrent managed access is supported by the device

Returns the default clock rate of the streaming multiprocessor in megahertz

Returns the default memory clock rate of the GPU in megahertz

Implementations on Foreign Types

Implementors