Struct cuda_oxide::device::Device [−][src]
pub struct Device { /* fields omitted */ }
Expand description
A reference to a CUDA-enabled device
Implementations
Fetches a human-readable name from the device
Gets a UUID from the device
Gets the total available memory size of the device, in bytes
Gets a current attribute value for the device
Gets the compute capability of the device
pub fn get_texture_1d_linear_max_width(
&self,
format: CudaArrayFormat,
channels: u32
) -> CudaResult<usize>
[src]
pub fn get_texture_1d_linear_max_width(
&self,
format: CudaArrayFormat,
channels: u32
) -> CudaResult<usize>
[src]Calculates the linear max width of 1D textures for a given native array format
Auto Trait Implementations
impl RefUnwindSafe for Device
impl UnwindSafe for Device