#[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§sharedMemPerBlock: 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§sharedMemPerMultiprocessor: usize§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§sharedMemPerBlockOptin: usize§pageableMemoryAccessUsesHostPageTables: c_int§directManagedMemAccessFromHost: c_int§maxBlocksPerMultiProcessor: c_int§accessPolicyMaxWindowSize: c_int§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

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.