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
fn concurrent_managed_access(&self) -> Result<bool>
fn concurrent_managed_access(&self) -> Result<bool>
Returns true
if concurrent managed access is supported by the device
fn clock_rate(&self) -> Result<u32>
fn clock_rate(&self) -> Result<u32>
Returns the default clock rate of the streaming multiprocessor in megahertz
fn memory_clock_rate(&self) -> Result<u32>
fn memory_clock_rate(&self) -> Result<u32>
Returns the default memory clock rate of the GPU in megahertz