#[repr(C)]pub struct cudaDeviceProp {Show 93 fields
pub name: [c_char; 256],
pub uuid: cudaUUID_t,
pub luid: [c_char; 8],
pub luidDeviceNodeMask: c_uint,
pub totalGlobalMem: usize,
pub sharedMemPerBlock: usize,
pub regsPerBlock: c_int,
pub warpSize: c_int,
pub memPitch: usize,
pub maxThreadsPerBlock: c_int,
pub maxThreadsDim: [c_int; 3],
pub maxGridSize: [c_int; 3],
pub totalConstMem: usize,
pub major: c_int,
pub minor: c_int,
pub textureAlignment: usize,
pub texturePitchAlignment: usize,
pub multiProcessorCount: c_int,
pub integrated: c_int,
pub canMapHostMemory: c_int,
pub maxTexture1D: c_int,
pub maxTexture1DMipmap: c_int,
pub maxTexture2D: [c_int; 2],
pub maxTexture2DMipmap: [c_int; 2],
pub maxTexture2DLinear: [c_int; 3],
pub maxTexture2DGather: [c_int; 2],
pub maxTexture3D: [c_int; 3],
pub maxTexture3DAlt: [c_int; 3],
pub maxTextureCubemap: c_int,
pub maxTexture1DLayered: [c_int; 2],
pub maxTexture2DLayered: [c_int; 3],
pub maxTextureCubemapLayered: [c_int; 2],
pub maxSurface1D: c_int,
pub maxSurface2D: [c_int; 2],
pub maxSurface3D: [c_int; 3],
pub maxSurface1DLayered: [c_int; 2],
pub maxSurface2DLayered: [c_int; 3],
pub maxSurfaceCubemap: c_int,
pub maxSurfaceCubemapLayered: [c_int; 2],
pub surfaceAlignment: usize,
pub concurrentKernels: c_int,
pub ECCEnabled: c_int,
pub pciBusID: c_int,
pub pciDeviceID: c_int,
pub pciDomainID: c_int,
pub tccDriver: c_int,
pub asyncEngineCount: c_int,
pub unifiedAddressing: c_int,
pub memoryBusWidth: c_int,
pub l2CacheSize: c_int,
pub persistingL2CacheMaxSize: c_int,
pub maxThreadsPerMultiProcessor: c_int,
pub streamPrioritiesSupported: c_int,
pub globalL1CacheSupported: c_int,
pub localL1CacheSupported: c_int,
pub sharedMemPerMultiprocessor: usize,
pub regsPerMultiprocessor: c_int,
pub managedMemory: c_int,
pub isMultiGpuBoard: c_int,
pub multiGpuBoardGroupID: c_int,
pub hostNativeAtomicSupported: c_int,
pub pageableMemoryAccess: c_int,
pub concurrentManagedAccess: c_int,
pub computePreemptionSupported: c_int,
pub canUseHostPointerForRegisteredMem: c_int,
pub cooperativeLaunch: c_int,
pub sharedMemPerBlockOptin: usize,
pub pageableMemoryAccessUsesHostPageTables: c_int,
pub directManagedMemAccessFromHost: c_int,
pub maxBlocksPerMultiProcessor: c_int,
pub accessPolicyMaxWindowSize: c_int,
pub reservedSharedMemPerBlock: usize,
pub hostRegisterSupported: c_int,
pub sparseCudaArraySupported: c_int,
pub hostRegisterReadOnlySupported: c_int,
pub timelineSemaphoreInteropSupported: c_int,
pub memoryPoolsSupported: c_int,
pub gpuDirectRDMASupported: c_int,
pub gpuDirectRDMAFlushWritesOptions: c_uint,
pub gpuDirectRDMAWritesOrdering: c_int,
pub memoryPoolSupportedHandleTypes: c_uint,
pub deferredMappingCudaArraySupported: c_int,
pub ipcEventSupported: c_int,
pub clusterLaunch: c_int,
pub unifiedFunctionPointers: c_int,
pub deviceNumaConfig: c_int,
pub deviceNumaId: c_int,
pub mpsEnabled: c_int,
pub hostNumaId: c_int,
pub gpuPciDeviceID: c_uint,
pub gpuPciSubsystemID: c_uint,
pub hostNumaMultinodeIpcSupported: c_int,
pub reserved: [c_int; 56],
}Fields§
§name: [c_char; 256]§uuid: cudaUUID_t§luid: [c_char; 8]§luidDeviceNodeMask: c_uint§totalGlobalMem: usize§regsPerBlock: c_int§warpSize: c_int§memPitch: usize§maxThreadsPerBlock: c_int§maxThreadsDim: [c_int; 3]§maxGridSize: [c_int; 3]§totalConstMem: usize§major: c_int§minor: c_int§textureAlignment: usize§texturePitchAlignment: usize§multiProcessorCount: c_int§integrated: c_int§canMapHostMemory: c_int§maxTexture1D: c_int§maxTexture1DMipmap: c_int§maxTexture2D: [c_int; 2]§maxTexture2DMipmap: [c_int; 2]§maxTexture2DLinear: [c_int; 3]§maxTexture2DGather: [c_int; 2]§maxTexture3D: [c_int; 3]§maxTexture3DAlt: [c_int; 3]§maxTextureCubemap: c_int§maxTexture1DLayered: [c_int; 2]§maxTexture2DLayered: [c_int; 3]§maxTextureCubemapLayered: [c_int; 2]§maxSurface1D: c_int§maxSurface2D: [c_int; 2]§maxSurface3D: [c_int; 3]§maxSurface1DLayered: [c_int; 2]§maxSurface2DLayered: [c_int; 3]§maxSurfaceCubemap: c_int§maxSurfaceCubemapLayered: [c_int; 2]§surfaceAlignment: usize§concurrentKernels: c_int§ECCEnabled: c_int§pciBusID: c_int§pciDeviceID: c_int§pciDomainID: c_int§tccDriver: c_int§asyncEngineCount: c_int§unifiedAddressing: c_int§memoryBusWidth: c_int§l2CacheSize: c_int§persistingL2CacheMaxSize: c_int§maxThreadsPerMultiProcessor: c_int§streamPrioritiesSupported: c_int§globalL1CacheSupported: c_int§localL1CacheSupported: c_int§regsPerMultiprocessor: c_int§managedMemory: c_int§isMultiGpuBoard: c_int§multiGpuBoardGroupID: c_int§hostNativeAtomicSupported: c_int§pageableMemoryAccess: c_int§concurrentManagedAccess: c_int§computePreemptionSupported: c_int§canUseHostPointerForRegisteredMem: c_int§cooperativeLaunch: c_int§pageableMemoryAccessUsesHostPageTables: c_int§directManagedMemAccessFromHost: c_int§maxBlocksPerMultiProcessor: c_int§accessPolicyMaxWindowSize: c_int§hostRegisterSupported: c_int§sparseCudaArraySupported: c_int§hostRegisterReadOnlySupported: c_int§timelineSemaphoreInteropSupported: c_int§memoryPoolsSupported: c_int§gpuDirectRDMASupported: c_int§gpuDirectRDMAFlushWritesOptions: c_uint§gpuDirectRDMAWritesOrdering: c_int§memoryPoolSupportedHandleTypes: c_uint§deferredMappingCudaArraySupported: c_int§ipcEventSupported: c_int§clusterLaunch: c_int§unifiedFunctionPointers: c_int§deviceNumaConfig: c_int§deviceNumaId: c_int§mpsEnabled: c_int§hostNumaId: c_int§gpuPciDeviceID: c_uint§gpuPciSubsystemID: c_uint§hostNumaMultinodeIpcSupported: c_int§reserved: [c_int; 56]Trait Implementations§
Source§impl Clone for cudaDeviceProp
impl Clone for cudaDeviceProp
Source§fn clone(&self) -> cudaDeviceProp
fn clone(&self) -> cudaDeviceProp
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for cudaDeviceProp
impl Debug for cudaDeviceProp
Source§impl Hash for cudaDeviceProp
impl Hash for cudaDeviceProp
Source§impl Ord for cudaDeviceProp
impl Ord for cudaDeviceProp
Source§fn cmp(&self, other: &cudaDeviceProp) -> Ordering
fn cmp(&self, other: &cudaDeviceProp) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for cudaDeviceProp
impl PartialEq for cudaDeviceProp
Source§impl PartialOrd for cudaDeviceProp
impl PartialOrd for cudaDeviceProp
impl Copy for cudaDeviceProp
impl Eq for cudaDeviceProp
impl StructuralPartialEq for cudaDeviceProp
Auto Trait Implementations§
impl Freeze for cudaDeviceProp
impl RefUnwindSafe for cudaDeviceProp
impl Send for cudaDeviceProp
impl Sync for cudaDeviceProp
impl Unpin for cudaDeviceProp
impl UnsafeUnpin for cudaDeviceProp
impl UnwindSafe for cudaDeviceProp
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more