Skip to main content

CUdevprop_v1

Type Alias CUdevprop_v1 

Source
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: 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.

§sharedMemPerBlock: i32

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.