#[repr(C)]pub struct CUdevprop_st {
pub maxThreadsPerBlock: c_int,
pub maxThreadsDim: [c_int; 3],
pub maxGridSize: [c_int; 3],
pub sharedMemPerBlock: c_int,
pub totalConstantMemory: c_int,
pub SIMDWidth: c_int,
pub memPitch: c_int,
pub regsPerBlock: c_int,
pub clockRate: c_int,
pub textureAlign: c_int,
}Expand description
Legacy device properties.
Fields§
§maxThreadsPerBlock: c_intMaximum number of threads per block.
maxThreadsDim: [c_int; 3]Maximum size of each dimension of a block.
maxGridSize: [c_int; 3]Maximum size of each dimension of a grid.
Shared memory available per block in bytes.
totalConstantMemory: c_intConstant memory available on device in bytes.
SIMDWidth: c_intWarp size in threads.
memPitch: c_intMaximum pitch in bytes allowed by memory copies.
regsPerBlock: c_int32-bit registers available per block.
clockRate: c_intClock frequency in kilohertz.
textureAlign: c_intAlignment requirement for textures.
Trait Implementations§
Source§impl Clone for CUdevprop_st
impl Clone for CUdevprop_st
impl Copy for CUdevprop_st
Source§impl Debug for CUdevprop_st
impl Debug for CUdevprop_st
Source§impl Default for CUdevprop_st
impl Default for CUdevprop_st
impl Eq for CUdevprop_st
Source§impl Hash for CUdevprop_st
impl Hash for CUdevprop_st
Source§impl Ord for CUdevprop_st
impl Ord for CUdevprop_st
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CUdevprop_st
impl PartialEq for CUdevprop_st
Source§impl PartialOrd for CUdevprop_st
impl PartialOrd for CUdevprop_st
impl StructuralPartialEq for CUdevprop_st
Auto Trait Implementations§
impl Forget for CUdevprop_st
impl Freeze for CUdevprop_st
impl Move for CUdevprop_st
impl RefUnwindSafe for CUdevprop_st
impl Send for CUdevprop_st
impl Sync for CUdevprop_st
impl Unpin for CUdevprop_st
impl UnsafeUnpin for CUdevprop_st
impl UnwindSafe for CUdevprop_st
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more