Enum cudaDeviceAttr

Source
#[repr(u32)]
pub enum cudaDeviceAttr {
Show 96 variants MaxThreadsPerBlock = 1, MaxBlockDimX = 2, MaxBlockDimY = 3, MaxBlockDimZ = 4, MaxGridDimX = 5, MaxGridDimY = 6, MaxGridDimZ = 7, MaxSharedMemoryPerBlock = 8, TotalConstantMemory = 9, WarpSize = 10, MaxPitch = 11, MaxRegistersPerBlock = 12, ClockRate = 13, TextureAlignment = 14, GpuOverlap = 15, MultiProcessorCount = 16, KernelExecTimeout = 17, Integrated = 18, CanMapHostMemory = 19, ComputeMode = 20, MaxTexture1DWidth = 21, MaxTexture2DWidth = 22, MaxTexture2DHeight = 23, MaxTexture3DWidth = 24, MaxTexture3DHeight = 25, MaxTexture3DDepth = 26, MaxTexture2DLayeredWidth = 27, MaxTexture2DLayeredHeight = 28, MaxTexture2DLayeredLayers = 29, SurfaceAlignment = 30, ConcurrentKernels = 31, EccEnabled = 32, PciBusId = 33, PciDeviceId = 34, TccDriver = 35, MemoryClockRate = 36, GlobalMemoryBusWidth = 37, L2CacheSize = 38, MaxThreadsPerMultiProcessor = 39, AsyncEngineCount = 40, UnifiedAddressing = 41, MaxTexture1DLayeredWidth = 42, MaxTexture1DLayeredLayers = 43, MaxTexture2DGatherWidth = 45, MaxTexture2DGatherHeight = 46, MaxTexture3DWidthAlt = 47, MaxTexture3DHeightAlt = 48, MaxTexture3DDepthAlt = 49, PciDomainId = 50, TexturePitchAlignment = 51, MaxTextureCubemapWidth = 52, MaxTextureCubemapLayeredWidth = 53, MaxTextureCubemapLayeredLayers = 54, MaxSurface1DWidth = 55, MaxSurface2DWidth = 56, MaxSurface2DHeight = 57, MaxSurface3DWidth = 58, MaxSurface3DHeight = 59, MaxSurface3DDepth = 60, MaxSurface1DLayeredWidth = 61, MaxSurface1DLayeredLayers = 62, MaxSurface2DLayeredWidth = 63, MaxSurface2DLayeredHeight = 64, MaxSurface2DLayeredLayers = 65, MaxSurfaceCubemapWidth = 66, MaxSurfaceCubemapLayeredWidth = 67, MaxSurfaceCubemapLayeredLayers = 68, MaxTexture1DLinearWidth = 69, MaxTexture2DLinearWidth = 70, MaxTexture2DLinearHeight = 71, MaxTexture2DLinearPitch = 72, MaxTexture2DMipmappedWidth = 73, MaxTexture2DMipmappedHeight = 74, ComputeCapabilityMajor = 75, ComputeCapabilityMinor = 76, MaxTexture1DMipmappedWidth = 77, StreamPrioritiesSupported = 78, GlobalL1CacheSupported = 79, LocalL1CacheSupported = 80, MaxSharedMemoryPerMultiprocessor = 81, MaxRegistersPerMultiprocessor = 82, ManagedMemory = 83, IsMultiGpuBoard = 84, MultiGpuBoardGroupID = 85, HostNativeAtomicSupported = 86, SingleToDoublePrecisionPerfRatio = 87, PageableMemoryAccess = 88, ConcurrentManagedAccess = 89, ComputePreemptionSupported = 90, CanUseHostPointerForRegisteredMem = 91, Reserved92 = 92, Reserved93 = 93, Reserved94 = 94, CooperativeLaunch = 95, CooperativeMultiDeviceLaunch = 96, MaxSharedMemoryPerBlockOptin = 97,
}

Variants§

§

MaxThreadsPerBlock = 1

§

MaxBlockDimX = 2

§

MaxBlockDimY = 3

§

MaxBlockDimZ = 4

§

MaxGridDimX = 5

§

MaxGridDimY = 6

§

MaxGridDimZ = 7

§

MaxSharedMemoryPerBlock = 8

§

TotalConstantMemory = 9

§

WarpSize = 10

§

MaxPitch = 11

§

MaxRegistersPerBlock = 12

§

ClockRate = 13

§

TextureAlignment = 14

§

GpuOverlap = 15

§

MultiProcessorCount = 16

§

KernelExecTimeout = 17

§

Integrated = 18

§

CanMapHostMemory = 19

§

ComputeMode = 20

§

MaxTexture1DWidth = 21

§

MaxTexture2DWidth = 22

§

MaxTexture2DHeight = 23

§

MaxTexture3DWidth = 24

§

MaxTexture3DHeight = 25

§

MaxTexture3DDepth = 26

§

MaxTexture2DLayeredWidth = 27

§

MaxTexture2DLayeredHeight = 28

§

MaxTexture2DLayeredLayers = 29

§

SurfaceAlignment = 30

§

ConcurrentKernels = 31

§

EccEnabled = 32

§

PciBusId = 33

§

PciDeviceId = 34

§

TccDriver = 35

§

MemoryClockRate = 36

§

GlobalMemoryBusWidth = 37

§

L2CacheSize = 38

§

MaxThreadsPerMultiProcessor = 39

§

AsyncEngineCount = 40

§

UnifiedAddressing = 41

§

MaxTexture1DLayeredWidth = 42

§

MaxTexture1DLayeredLayers = 43

§

MaxTexture2DGatherWidth = 45

§

MaxTexture2DGatherHeight = 46

§

MaxTexture3DWidthAlt = 47

§

MaxTexture3DHeightAlt = 48

§

MaxTexture3DDepthAlt = 49

§

PciDomainId = 50

§

TexturePitchAlignment = 51

§

MaxTextureCubemapWidth = 52

§

MaxTextureCubemapLayeredWidth = 53

§

MaxTextureCubemapLayeredLayers = 54

§

MaxSurface1DWidth = 55

§

MaxSurface2DWidth = 56

§

MaxSurface2DHeight = 57

§

MaxSurface3DWidth = 58

§

MaxSurface3DHeight = 59

§

MaxSurface3DDepth = 60

§

MaxSurface1DLayeredWidth = 61

§

MaxSurface1DLayeredLayers = 62

§

MaxSurface2DLayeredWidth = 63

§

MaxSurface2DLayeredHeight = 64

§

MaxSurface2DLayeredLayers = 65

§

MaxSurfaceCubemapWidth = 66

§

MaxSurfaceCubemapLayeredWidth = 67

§

MaxSurfaceCubemapLayeredLayers = 68

§

MaxTexture1DLinearWidth = 69

§

MaxTexture2DLinearWidth = 70

§

MaxTexture2DLinearHeight = 71

§

MaxTexture2DLinearPitch = 72

§

MaxTexture2DMipmappedWidth = 73

§

MaxTexture2DMipmappedHeight = 74

§

ComputeCapabilityMajor = 75

§

ComputeCapabilityMinor = 76

§

MaxTexture1DMipmappedWidth = 77

§

StreamPrioritiesSupported = 78

§

GlobalL1CacheSupported = 79

§

LocalL1CacheSupported = 80

§

MaxSharedMemoryPerMultiprocessor = 81

§

MaxRegistersPerMultiprocessor = 82

§

ManagedMemory = 83

§

IsMultiGpuBoard = 84

§

MultiGpuBoardGroupID = 85

§

HostNativeAtomicSupported = 86

§

SingleToDoublePrecisionPerfRatio = 87

§

PageableMemoryAccess = 88

§

ConcurrentManagedAccess = 89

§

ComputePreemptionSupported = 90

§

CanUseHostPointerForRegisteredMem = 91

§

Reserved92 = 92

§

Reserved93 = 93

§

Reserved94 = 94

§

CooperativeLaunch = 95

§

CooperativeMultiDeviceLaunch = 96

§

MaxSharedMemoryPerBlockOptin = 97

Trait Implementations§

Source§

impl Clone for cudaDeviceAttr

Source§

fn clone(&self) -> cudaDeviceAttr

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for cudaDeviceAttr

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.