[−][src]Enum rustacuda::device::DeviceAttribute
All supported device attributes for Device::get_attribute
Variants
Maximum number of threads per block
Maximum x-dimension of a block
Maximum y-dimension of a block
Maximum z-dimension of a block
Maximum x-dimension of a grid
Maximum y-dimension of a grid
Maximum z-dimension of a grid
Maximum amount of shared memory available to a thread block in bytes
Memory available on device for constant variables in a kernel in bytes
Warp size in threads
Maximum pitch in bytes allowed by the memory copy functions that involve memory regions allocated through cuMemAllocPitch()
Maximum number of 32-bit registers available to a thread block
Typical clock frequency in kilohertz
Alignment requirement for textures
Number of multiprocessors on device.
Specifies whether there is a run time limit on kernels
Device is integrated with host memory
Device can map host memory into CUDA address space
Compute Mode
Maximum 1D texture width
Maximum 2D texture width
Maximum 2D texture height
Maximum 3D texture width
Maximum 3D texture height
Maximum 3D texture depth
Maximum 2D layered texture width
Maximum 2D layered texture height
Maximum layers in a 2D layered texture
Alignment requirement for surfaces
Device can possibly execute multiple kernels concurrently
Device has ECC support enabled
PCI bus ID of the device
PCI device ID of the device
Device is using TCC driver model
Peak memory clock frequency in kilohertz
Global memory bus width in bits
Size of L2 cache in bytes.
Maximum resident threads per multiprocessor
Number of asynchronous engines
Device shares a unified address space with the host
Maximum 1D layered texture width
Maximum layers in a 1D layered texture
Maximum 2D texture width if CUDA_ARRAY3D_TEXTURE_GATHER is set
Maximum 2D texture height if CUDA_ARRAY3D_TEXTURE_GATHER is set
Alternate maximum 3D texture width
Alternate maximum 3D texture height
Alternate maximum 3D texture depth
PCI domain ID of the device
Pitch alignment requirement for textures
Maximum cubemap texture width/height
Maximum cubemap layered texture width/height
Maximum layers in a cubemap layered texture
Maximum 1D surface width
Maximum 2D surface width
Maximum 2D surface height
Maximum 3D surface width
Maximum 3D surface height
Maximum 3D surface depth
Maximum 1D layered surface width
Maximum layers in a 1D layered surface
Maximum 2D layered surface width
Maximum 2D layered surface height
Maximum layers in a 2D layered surface
Maximum cubemap surface width
Maximum cubemap layered surface width
Maximum layers in a cubemap layered surface
Maximum 1D linear texture width
Maximum 2D linear texture width
Maximum 2D linear texture height
Maximum 2D linear texture pitch in bytes
Maximum mipmapped 2D texture height
Maximum mipmapped 2D texture width
Major compute capability version number
Minor compute capability version number
Maximum mipammed 1D texture width
Device supports stream priorities
Device supports caching globals in L1
Device supports caching locals in L1
Maximum shared memory available per multiprocessor in bytes
Maximum number of 32-bit registers available per multiprocessor
Device can allocate managed memory on this system
Device is on a multi-GPU board
Unique ID for a group of devices on the same multi-GPU board
Link between the device and the host supports native atomic operations (this is a placeholder attribute and is not supported on any current hardware)
Ratio of single precision performance (in floating-point operations per second) to double precision performance
Device supports coherently accessing pageable memory without calling cudaHostRegister on it.
Device can coherently access managed memory concurrently with the CPU
Device supports compute preemption
Device can access host registered memory at the same virtual address as the CPU
Trait Implementations
impl Clone for DeviceAttribute
[src]
fn clone(&self) -> DeviceAttribute
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for DeviceAttribute
[src]
impl Debug for DeviceAttribute
[src]
impl Eq for DeviceAttribute
[src]
impl Hash for DeviceAttribute
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<DeviceAttribute> for DeviceAttribute
[src]
fn eq(&self, other: &DeviceAttribute) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for DeviceAttribute
[src]
impl StructuralPartialEq for DeviceAttribute
[src]
Auto Trait Implementations
impl RefUnwindSafe for DeviceAttribute
impl Send for DeviceAttribute
impl Sync for DeviceAttribute
impl Unpin for DeviceAttribute
impl UnwindSafe for DeviceAttribute
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,