Enum cuda_oxide::device::DeviceAttribute[][src]

#[repr(u32)]
pub enum DeviceAttribute {
Show variants MaxThreadsPerBlock, MaxBlockDimX, MaxBlockDimY, MaxBlockDimZ, MaxGridDimX, MaxGridDimY, MaxGridDimZ, SharedMemoryPerBlock, TotalConstantMemory, WarpSize, MaxPitch, RegistersPerBlock, ClockRate, TextureAlignment, GpuOverlap, MultiprocessorCount, KernelExecTimeout, Integrated, CanMapHostMemory, ComputeMode, MaximumTexture1dWidth, MaximumTexture2dWidth, MaximumTexture2dHeight, MaximumTexture3dWidth, MaximumTexture3dHeight, MaximumTexture3dDepth, MaximumTexture2dArrayWidth, MaximumTexture2dArrayHeight, MaximumTexture2dArrayNumslices, SurfaceAlignment, ConcurrentKernels, EccEnabled, PciBusId, PciDeviceId, TccDriver, MemoryClockRate, GlobalMemoryBusWidth, L2CacheSize, MaxThreadsPerMultiprocessor, AsyncEngineCount, UnifiedAddressing, MaximumTexture1dLayeredWidth, MaximumTexture1dLayeredLayers, CanTex2dGather, MaximumTexture2dGatherWidth45, MaximumTexture2dGatherHeight, MaximumTexture3dWidthAlternate, MaximumTexture3dHeightAlternate, MaximumTexture3dDepthAlternate, PciDomainId, TexturePitchAlignment, MaximumTexturecubemapWidth, MaximumTexturecubemapLayeredWidth, MaximumTexturecubemapLayeredLayers, MaximumSurface1dWidth, MaximumSurface2dWidth, MaximumSurface2dHeight, MaximumSurface3dWidth, MaximumSurface3dHeight, MaximumSurface3dDepth, MaximumSurface1dLayeredWidth, MaximumSurface1dLayeredLayers, MaximumSurface2dLayeredWidth, MaximumSurface2dLayeredHeight, MaximumSurface2dLayeredLayers, MaximumSurfacecubemapWidth, MaximumSurfacecubemapLayeredWidth, MaximumSurfacecubemapLayeredLayers, MaximumTexture1dLinearWidth, MaximumTexture2dLinearWidth, MaximumTexture2dLinearHeight, MaximumTexture2dLinearPitch, MaximumTexture2dMipmappedWidth, MaximumTexture2dMipmappedHeight, ComputeCapabilityMajor, ComputeCapabilityMinor, MaximumTexture1dMipmappedWidth, StreamPrioritiesSupported, GlobalL1CacheSupported, LocalL1CacheSupported, MaxSharedMemoryPerMultiprocessor, MaxRegistersPerMultiprocessor, ManagedMemory, MultiGpuBoard, MultiGpuBoardGroupId, HostNativeAtomicSupported, SingleToDoublePrecisionPerfRatio, PageableMemoryAccess, ConcurrentManagedAccess, ComputePreemptionSupported, CanUseHostPointerForRegisteredMem, CanUseStreamMemOps, CanUse64BitStreamMemOps, CanUseStreamWaitValueNor, CooperativeLaunch, CooperativeMultiDeviceLaunch, MaxSharedMemoryPerBlockOptin, CanFlushRemoteWrites, HostRegisterSupported, PageableMemoryAccessUsesHostPageTables, DirectManagedMemAccessFromHost, VirtualMemoryManagementSupported, HandleTypePosixFileDescriptorSupported, HandleTypeWin32HandleSupported, HandleTypeWin32KmtHandleSupported, MaxBlocksPerMultiprocessor, GenericCompressionSupported, MaxPersistingL2CacheSize, MaxAccessPolicyWindowSize, GpuDirectRdmaWithCudaVmmSupported, ReservedSharedMemoryPerBlock, SparseCudaArraySupported, ReadOnlyHostRegisterSupported, TimelineSemaphoreInteropSupported, MemoryPoolsSupported, GpuDirectRdmaSupported, GpuDirectRdmaFlushWritesOptions, GpuDirectRdmaWritesOrdering, MempoolSupportedHandleTypes,
}
Expand description

A Device-specific attribute type

Variants

MaxThreadsPerBlock
MaxBlockDimX
MaxBlockDimY
MaxBlockDimZ
MaxGridDimX
MaxGridDimY
MaxGridDimZ
SharedMemoryPerBlock
TotalConstantMemory
WarpSize
MaxPitch
RegistersPerBlock
ClockRate
TextureAlignment
GpuOverlap
MultiprocessorCount
KernelExecTimeout
Integrated
CanMapHostMemory
ComputeMode
MaximumTexture1dWidth
MaximumTexture2dWidth
MaximumTexture2dHeight
MaximumTexture3dWidth
MaximumTexture3dHeight
MaximumTexture3dDepth
MaximumTexture2dArrayWidth
MaximumTexture2dArrayHeight
MaximumTexture2dArrayNumslices
SurfaceAlignment
ConcurrentKernels
EccEnabled
PciBusId
PciDeviceId
TccDriver
MemoryClockRate
GlobalMemoryBusWidth
L2CacheSize
MaxThreadsPerMultiprocessor
AsyncEngineCount
UnifiedAddressing
MaximumTexture1dLayeredWidth
MaximumTexture1dLayeredLayers
CanTex2dGather
MaximumTexture2dGatherWidth45
MaximumTexture2dGatherHeight
MaximumTexture3dWidthAlternate
MaximumTexture3dHeightAlternate
MaximumTexture3dDepthAlternate
PciDomainId
TexturePitchAlignment
MaximumTexturecubemapWidth
MaximumTexturecubemapLayeredWidth
MaximumTexturecubemapLayeredLayers
MaximumSurface1dWidth
MaximumSurface2dWidth
MaximumSurface2dHeight
MaximumSurface3dWidth
MaximumSurface3dHeight
MaximumSurface3dDepth
MaximumSurface1dLayeredWidth
MaximumSurface1dLayeredLayers
MaximumSurface2dLayeredWidth
MaximumSurface2dLayeredHeight
MaximumSurface2dLayeredLayers
MaximumSurfacecubemapWidth
MaximumSurfacecubemapLayeredWidth
MaximumSurfacecubemapLayeredLayers
MaximumTexture1dLinearWidth
MaximumTexture2dLinearWidth
MaximumTexture2dLinearHeight
MaximumTexture2dLinearPitch
MaximumTexture2dMipmappedWidth
MaximumTexture2dMipmappedHeight
ComputeCapabilityMajor
ComputeCapabilityMinor
MaximumTexture1dMipmappedWidth
StreamPrioritiesSupported
GlobalL1CacheSupported
LocalL1CacheSupported
MaxSharedMemoryPerMultiprocessor
MaxRegistersPerMultiprocessor
ManagedMemory
MultiGpuBoard
MultiGpuBoardGroupId
HostNativeAtomicSupported
SingleToDoublePrecisionPerfRatio
PageableMemoryAccess
ConcurrentManagedAccess
ComputePreemptionSupported
CanUseHostPointerForRegisteredMem
CanUseStreamMemOps
CanUse64BitStreamMemOps
CanUseStreamWaitValueNor
CooperativeLaunch
CooperativeMultiDeviceLaunch
MaxSharedMemoryPerBlockOptin
CanFlushRemoteWrites
HostRegisterSupported
PageableMemoryAccessUsesHostPageTables
DirectManagedMemAccessFromHost
VirtualMemoryManagementSupported
HandleTypePosixFileDescriptorSupported
HandleTypeWin32HandleSupported
HandleTypeWin32KmtHandleSupported
MaxBlocksPerMultiprocessor
GenericCompressionSupported
MaxPersistingL2CacheSize
MaxAccessPolicyWindowSize
GpuDirectRdmaWithCudaVmmSupported
ReservedSharedMemoryPerBlock
SparseCudaArraySupported
ReadOnlyHostRegisterSupported
TimelineSemaphoreInteropSupported
MemoryPoolsSupported
GpuDirectRdmaSupported
GpuDirectRdmaFlushWritesOptions
GpuDirectRdmaWritesOrdering
MempoolSupportedHandleTypes

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

The type returned in the event of a conversion error.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.