[][src]Struct cuda_runtime_sys::cudaDeviceProp

#[repr(C)]
pub struct cudaDeviceProp {
    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 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,
}

Fields

name: [c_char; 256]uuid: cudaUUID_tluid: [c_char; 8]luidDeviceNodeMask: c_uinttotalGlobalMem: usizesharedMemPerBlock: usizeregsPerBlock: c_intwarpSize: c_intmemPitch: usizemaxThreadsPerBlock: c_intmaxThreadsDim: [c_int; 3]maxGridSize: [c_int; 3]clockRate: c_inttotalConstMem: usizemajor: c_intminor: c_inttextureAlignment: usizetexturePitchAlignment: usizedeviceOverlap: c_intmultiProcessorCount: c_intkernelExecTimeoutEnabled: c_intintegrated: c_intcanMapHostMemory: c_intcomputeMode: c_intmaxTexture1D: c_intmaxTexture1DMipmap: c_intmaxTexture1DLinear: c_intmaxTexture2D: [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_intmaxTexture1DLayered: [c_int; 2]maxTexture2DLayered: [c_int; 3]maxTextureCubemapLayered: [c_int; 2]maxSurface1D: c_intmaxSurface2D: [c_int; 2]maxSurface3D: [c_int; 3]maxSurface1DLayered: [c_int; 2]maxSurface2DLayered: [c_int; 3]maxSurfaceCubemap: c_intmaxSurfaceCubemapLayered: [c_int; 2]surfaceAlignment: usizeconcurrentKernels: c_intECCEnabled: c_intpciBusID: c_intpciDeviceID: c_intpciDomainID: c_inttccDriver: c_intasyncEngineCount: c_intunifiedAddressing: c_intmemoryClockRate: c_intmemoryBusWidth: c_intl2CacheSize: c_intmaxThreadsPerMultiProcessor: c_intstreamPrioritiesSupported: c_intglobalL1CacheSupported: c_intlocalL1CacheSupported: c_intsharedMemPerMultiprocessor: usizeregsPerMultiprocessor: c_intmanagedMemory: c_intisMultiGpuBoard: c_intmultiGpuBoardGroupID: c_inthostNativeAtomicSupported: c_intsingleToDoublePrecisionPerfRatio: c_intpageableMemoryAccess: c_intconcurrentManagedAccess: c_intcomputePreemptionSupported: c_intcanUseHostPointerForRegisteredMem: c_intcooperativeLaunch: c_intcooperativeMultiDeviceLaunch: c_intsharedMemPerBlockOptin: usizepageableMemoryAccessUsesHostPageTables: c_intdirectManagedMemAccessFromHost: c_int

Trait Implementations

impl Clone for cudaDeviceProp[src]

impl Copy for cudaDeviceProp[src]

impl Default for cudaDeviceProp[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.