pub struct FunctionAttributes {Show 16 fields
pub shared_size_bytes: usize,
pub const_size_bytes: usize,
pub local_size_bytes: usize,
pub max_threads_per_block: i32,
pub num_regs: i32,
pub ptx_version: i32,
pub binary_version: i32,
pub cache_mode_ca: bool,
pub max_dynamic_shared_size_bytes: i32,
pub preferred_shared_memory_carveout: i32,
pub cluster_dim_must_be_set: bool,
pub required_cluster_width: i32,
pub required_cluster_height: i32,
pub required_cluster_depth: i32,
pub cluster_scheduling_policy_preference: i32,
pub non_portable_cluster_size_allowed: bool,
}Fields§
§const_size_bytes: usize§local_size_bytes: usize§max_threads_per_block: i32§num_regs: i32§ptx_version: i32§binary_version: i32§cache_mode_ca: bool§cluster_dim_must_be_set: bool§required_cluster_width: i32§required_cluster_height: i32§required_cluster_depth: i32§cluster_scheduling_policy_preference: i32§non_portable_cluster_size_allowed: boolTrait Implementations§
Source§impl Clone for FunctionAttributes
impl Clone for FunctionAttributes
Source§fn clone(&self) -> FunctionAttributes
fn clone(&self) -> FunctionAttributes
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FunctionAttributes
Source§impl Debug for FunctionAttributes
impl Debug for FunctionAttributes
impl Eq for FunctionAttributes
Source§impl PartialEq for FunctionAttributes
impl PartialEq for FunctionAttributes
Source§fn eq(&self, other: &FunctionAttributes) -> bool
fn eq(&self, other: &FunctionAttributes) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FunctionAttributes
Auto Trait Implementations§
impl Freeze for FunctionAttributes
impl RefUnwindSafe for FunctionAttributes
impl Send for FunctionAttributes
impl Sync for FunctionAttributes
impl Unpin for FunctionAttributes
impl UnsafeUnpin for FunctionAttributes
impl UnwindSafe for FunctionAttributes
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