#[repr(C)]pub struct cudaFuncAttributes {Show 17 fields
pub shared_size_bytes: usize,
pub const_size_bytes: usize,
pub local_size_bytes: usize,
pub max_threads_per_block: c_int,
pub num_regs: c_int,
pub ptx_version: c_int,
pub binary_version: c_int,
pub cache_mode_ca: c_int,
pub max_dynamic_shared_size_bytes: c_int,
pub preferred_shmem_carveout: c_int,
pub cluster_dim_must_be_set: c_int,
pub required_cluster_width: c_int,
pub required_cluster_height: c_int,
pub required_cluster_depth: c_int,
pub cluster_scheduling_policy_preference: c_int,
pub non_portable_cluster_size_allowed: c_int,
pub reserved: [c_int; 16],
}Expand description
cudaFuncAttributes — kernel metadata (36 bytes in C).
Fields§
§const_size_bytes: usize§local_size_bytes: usize§max_threads_per_block: c_int§num_regs: c_int§ptx_version: c_int§binary_version: c_int§cache_mode_ca: c_int§preferred_shmem_carveout: c_int§cluster_dim_must_be_set: c_int§required_cluster_width: c_int§required_cluster_height: c_int§required_cluster_depth: c_int§cluster_scheduling_policy_preference: c_int§non_portable_cluster_size_allowed: c_int§reserved: [c_int; 16]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 (const: unstable) · 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
impl Copy 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 UnsafeUnpin 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