Struct rcudnn_sys::cudaDeviceProp
source · #[repr(C)]pub struct cudaDeviceProp {Show 80 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 clockRate: c_int,
pub totalConstMem: usize,
pub major: c_int,
pub minor: c_int,
pub textureAlignment: usize,
pub texturePitchAlignment: usize,
pub deviceOverlap: c_int,
pub multiProcessorCount: c_int,
pub kernelExecTimeoutEnabled: c_int,
pub integrated: c_int,
pub canMapHostMemory: c_int,
pub computeMode: c_int,
pub maxTexture1D: c_int,
pub maxTexture1DMipmap: c_int,
pub maxTexture1DLinear: 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 memoryClockRate: 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 singleToDoublePrecisionPerfRatio: c_int,
pub pageableMemoryAccess: c_int,
pub concurrentManagedAccess: c_int,
pub computePreemptionSupported: c_int,
pub canUseHostPointerForRegisteredMem: c_int,
pub cooperativeLaunch: c_int,
pub cooperativeMultiDeviceLaunch: c_int,
pub sharedMemPerBlockOptin: usize,
pub pageableMemoryAccessUsesHostPageTables: c_int,
pub directManagedMemAccessFromHost: c_int,
pub maxBlocksPerMultiProcessor: c_int,
pub accessPolicyMaxWindowSize: c_int,
pub reservedSharedMemPerBlock: usize,
}
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]
§clockRate: c_int
§totalConstMem: usize
§major: c_int
§minor: c_int
§textureAlignment: usize
§texturePitchAlignment: usize
§deviceOverlap: c_int
§multiProcessorCount: c_int
§kernelExecTimeoutEnabled: c_int
§integrated: c_int
§canMapHostMemory: c_int
§computeMode: c_int
§maxTexture1D: c_int
§maxTexture1DMipmap: c_int
§maxTexture1DLinear: 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
§memoryClockRate: 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
§singleToDoublePrecisionPerfRatio: c_int
§pageableMemoryAccess: c_int
§concurrentManagedAccess: c_int
§computePreemptionSupported: c_int
§canUseHostPointerForRegisteredMem: c_int
§cooperativeLaunch: c_int
§cooperativeMultiDeviceLaunch: c_int
§pageableMemoryAccessUsesHostPageTables: c_int
§directManagedMemAccessFromHost: c_int
§maxBlocksPerMultiProcessor: c_int
§accessPolicyMaxWindowSize: c_int
Trait Implementations§
source§impl Clone for cudaDeviceProp
impl Clone for cudaDeviceProp
source§fn clone(&self) -> cudaDeviceProp
fn clone(&self) -> cudaDeviceProp
Returns a copy 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
impl Copy for cudaDeviceProp
Auto Trait Implementations§
impl RefUnwindSafe for cudaDeviceProp
impl Send for cudaDeviceProp
impl Sync for cudaDeviceProp
impl Unpin 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