#[repr(C)]pub struct cudaFuncAttributes {
pub sharedSizeBytes: usize,
pub constSizeBytes: usize,
pub localSizeBytes: usize,
pub maxThreadsPerBlock: c_int,
pub numRegs: c_int,
pub ptxVersion: c_int,
pub binaryVersion: c_int,
pub cacheModeCA: c_int,
pub maxDynamicSharedSizeBytes: c_int,
pub preferredShmemCarveout: c_int,
}
Fields§
§constSizeBytes: usize
§localSizeBytes: usize
§maxThreadsPerBlock: c_int
§numRegs: c_int
§ptxVersion: c_int
§binaryVersion: c_int
§cacheModeCA: c_int
§preferredShmemCarveout: c_int
Trait Implementations§
Source§impl Clone for cudaFuncAttributes
impl Clone for cudaFuncAttributes
Source§fn clone(&self) -> cudaFuncAttributes
fn clone(&self) -> cudaFuncAttributes
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 cudaFuncAttributes
impl Debug for cudaFuncAttributes
Source§impl Default for cudaFuncAttributes
impl Default for cudaFuncAttributes
Source§fn default() -> cudaFuncAttributes
fn default() -> cudaFuncAttributes
Returns the “default value” for a type. Read more
Source§impl Hash for cudaFuncAttributes
impl Hash for cudaFuncAttributes
Source§impl Ord for cudaFuncAttributes
impl Ord for cudaFuncAttributes
Source§fn cmp(&self, other: &cudaFuncAttributes) -> Ordering
fn cmp(&self, other: &cudaFuncAttributes) -> Ordering
1.21.0 · 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
Source§impl PartialEq for cudaFuncAttributes
impl PartialEq for cudaFuncAttributes
Source§impl PartialOrd for cudaFuncAttributes
impl PartialOrd for cudaFuncAttributes
impl Copy for cudaFuncAttributes
impl Eq for cudaFuncAttributes
impl StructuralPartialEq for cudaFuncAttributes
Auto Trait Implementations§
impl Freeze for cudaFuncAttributes
impl RefUnwindSafe for cudaFuncAttributes
impl Send for cudaFuncAttributes
impl Sync for cudaFuncAttributes
impl Unpin for cudaFuncAttributes
impl UnwindSafe for cudaFuncAttributes
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