Type Alias kn_cuda_sys::bindings::CUdevprop
source · pub type CUdevprop = CUdevprop_v1;Expand description
Legacy device properties
Aliased Type§
struct CUdevprop {
pub maxThreadsPerBlock: i32,
pub maxThreadsDim: [i32; 3],
pub maxGridSize: [i32; 3],
pub sharedMemPerBlock: i32,
pub totalConstantMemory: i32,
pub SIMDWidth: i32,
pub memPitch: i32,
pub regsPerBlock: i32,
pub clockRate: i32,
pub textureAlign: i32,
}Fields§
§maxThreadsPerBlock: i32< Maximum number of threads per block
maxThreadsDim: [i32; 3]< Maximum size of each dimension of a block
maxGridSize: [i32; 3]< Maximum size of each dimension of a grid
< Shared memory available per block in bytes
totalConstantMemory: i32< Constant memory available on device in bytes
SIMDWidth: i32< Warp size in threads
memPitch: i32< Maximum pitch in bytes allowed by memory copies
regsPerBlock: i32< 32-bit registers available per block
clockRate: i32< Clock frequency in kilohertz
textureAlign: i32< Alignment requirement for textures