#[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_int
< Maximum 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_int
< Constant memory available on device in bytes
SIMDWidth: c_int
< Warp size in threads
memPitch: c_int
< Maximum pitch in bytes allowed by memory copies
regsPerBlock: c_int
< 32-bit registers available per block
clockRate: c_int
< Clock frequency in kilohertz
textureAlign: c_int
< Alignment requirement for textures
Trait Implementations§
Source§impl Clone for CUdevprop_st
impl Clone for CUdevprop_st
Source§fn clone(&self) -> CUdevprop_st
fn clone(&self) -> CUdevprop_st
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CUdevprop_st
impl Debug for CUdevprop_st
impl Copy for CUdevprop_st
Auto Trait Implementations§
impl Freeze for CUdevprop_st
impl RefUnwindSafe for CUdevprop_st
impl Send for CUdevprop_st
impl Sync for CUdevprop_st
impl Unpin 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