pub type CUdevprop_v1 = CUdevprop_st;Expand description
Legacy device properties.
Aliased Type§
#[repr(C)]pub struct CUdevprop_v1 {
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: i32Maximum 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: i32Constant memory available on device in bytes.
SIMDWidth: i32Warp size in threads.
memPitch: i32Maximum pitch in bytes allowed by memory copies.
regsPerBlock: i3232-bit registers available per block.
clockRate: i32Clock frequency in kilohertz.
textureAlign: i32Alignment requirement for textures.