Struct rcudnn::cudaDeviceProp

source ·
#[repr(C)]
pub struct cudaDeviceProp {
Show 80 fields pub name: [i8; 256], pub uuid: CUuuid_st, pub luid: [i8; 8], pub luidDeviceNodeMask: u32, pub totalGlobalMem: usize, pub sharedMemPerBlock: usize, pub regsPerBlock: i32, pub warpSize: i32, pub memPitch: usize, pub maxThreadsPerBlock: i32, pub maxThreadsDim: [i32; 3], pub maxGridSize: [i32; 3], pub clockRate: i32, pub totalConstMem: usize, pub major: i32, pub minor: i32, pub textureAlignment: usize, pub texturePitchAlignment: usize, pub deviceOverlap: i32, pub multiProcessorCount: i32, pub kernelExecTimeoutEnabled: i32, pub integrated: i32, pub canMapHostMemory: i32, pub computeMode: i32, pub maxTexture1D: i32, pub maxTexture1DMipmap: i32, pub maxTexture1DLinear: i32, pub maxTexture2D: [i32; 2], pub maxTexture2DMipmap: [i32; 2], pub maxTexture2DLinear: [i32; 3], pub maxTexture2DGather: [i32; 2], pub maxTexture3D: [i32; 3], pub maxTexture3DAlt: [i32; 3], pub maxTextureCubemap: i32, pub maxTexture1DLayered: [i32; 2], pub maxTexture2DLayered: [i32; 3], pub maxTextureCubemapLayered: [i32; 2], pub maxSurface1D: i32, pub maxSurface2D: [i32; 2], pub maxSurface3D: [i32; 3], pub maxSurface1DLayered: [i32; 2], pub maxSurface2DLayered: [i32; 3], pub maxSurfaceCubemap: i32, pub maxSurfaceCubemapLayered: [i32; 2], pub surfaceAlignment: usize, pub concurrentKernels: i32, pub ECCEnabled: i32, pub pciBusID: i32, pub pciDeviceID: i32, pub pciDomainID: i32, pub tccDriver: i32, pub asyncEngineCount: i32, pub unifiedAddressing: i32, pub memoryClockRate: i32, pub memoryBusWidth: i32, pub l2CacheSize: i32, pub persistingL2CacheMaxSize: i32, pub maxThreadsPerMultiProcessor: i32, pub streamPrioritiesSupported: i32, pub globalL1CacheSupported: i32, pub localL1CacheSupported: i32, pub sharedMemPerMultiprocessor: usize, pub regsPerMultiprocessor: i32, pub managedMemory: i32, pub isMultiGpuBoard: i32, pub multiGpuBoardGroupID: i32, pub hostNativeAtomicSupported: i32, pub singleToDoublePrecisionPerfRatio: i32, pub pageableMemoryAccess: i32, pub concurrentManagedAccess: i32, pub computePreemptionSupported: i32, pub canUseHostPointerForRegisteredMem: i32, pub cooperativeLaunch: i32, pub cooperativeMultiDeviceLaunch: i32, pub sharedMemPerBlockOptin: usize, pub pageableMemoryAccessUsesHostPageTables: i32, pub directManagedMemAccessFromHost: i32, pub maxBlocksPerMultiProcessor: i32, pub accessPolicyMaxWindowSize: i32, pub reservedSharedMemPerBlock: usize,
}

Fields§

§name: [i8; 256]§uuid: CUuuid_st§luid: [i8; 8]§luidDeviceNodeMask: u32§totalGlobalMem: usize§sharedMemPerBlock: usize§regsPerBlock: i32§warpSize: i32§memPitch: usize§maxThreadsPerBlock: i32§maxThreadsDim: [i32; 3]§maxGridSize: [i32; 3]§clockRate: i32§totalConstMem: usize§major: i32§minor: i32§textureAlignment: usize§texturePitchAlignment: usize§deviceOverlap: i32§multiProcessorCount: i32§kernelExecTimeoutEnabled: i32§integrated: i32§canMapHostMemory: i32§computeMode: i32§maxTexture1D: i32§maxTexture1DMipmap: i32§maxTexture1DLinear: i32§maxTexture2D: [i32; 2]§maxTexture2DMipmap: [i32; 2]§maxTexture2DLinear: [i32; 3]§maxTexture2DGather: [i32; 2]§maxTexture3D: [i32; 3]§maxTexture3DAlt: [i32; 3]§maxTextureCubemap: i32§maxTexture1DLayered: [i32; 2]§maxTexture2DLayered: [i32; 3]§maxTextureCubemapLayered: [i32; 2]§maxSurface1D: i32§maxSurface2D: [i32; 2]§maxSurface3D: [i32; 3]§maxSurface1DLayered: [i32; 2]§maxSurface2DLayered: [i32; 3]§maxSurfaceCubemap: i32§maxSurfaceCubemapLayered: [i32; 2]§surfaceAlignment: usize§concurrentKernels: i32§ECCEnabled: i32§pciBusID: i32§pciDeviceID: i32§pciDomainID: i32§tccDriver: i32§asyncEngineCount: i32§unifiedAddressing: i32§memoryClockRate: i32§memoryBusWidth: i32§l2CacheSize: i32§persistingL2CacheMaxSize: i32§maxThreadsPerMultiProcessor: i32§streamPrioritiesSupported: i32§globalL1CacheSupported: i32§localL1CacheSupported: i32§sharedMemPerMultiprocessor: usize§regsPerMultiprocessor: i32§managedMemory: i32§isMultiGpuBoard: i32§multiGpuBoardGroupID: i32§hostNativeAtomicSupported: i32§singleToDoublePrecisionPerfRatio: i32§pageableMemoryAccess: i32§concurrentManagedAccess: i32§computePreemptionSupported: i32§canUseHostPointerForRegisteredMem: i32§cooperativeLaunch: i32§cooperativeMultiDeviceLaunch: i32§sharedMemPerBlockOptin: usize§pageableMemoryAccessUsesHostPageTables: i32§directManagedMemAccessFromHost: i32§maxBlocksPerMultiProcessor: i32§accessPolicyMaxWindowSize: i32§reservedSharedMemPerBlock: usize

Trait Implementations§

source§

impl Clone for cudaDeviceProp

source§

fn clone(&self) -> cudaDeviceProp

Returns a copy 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 Debug for cudaDeviceProp

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
source§

impl Copy for cudaDeviceProp

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> 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,

§

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>,

§

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>,

§

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.