pub struct KernelInfo {
pub name: String,
pub params: Vec<Parameter>,
pub attributes: Vec<KernelAttribute>,
pub uses_shared_memory: bool,
pub uses_sync_threads: bool,
pub referenced_builtins: Vec<String>,
pub called_functions: Vec<String>,
}Expand description
Information about an extracted kernel
Fields§
§name: StringKernel name
params: Vec<Parameter>Kernel parameters
attributes: Vec<KernelAttribute>Kernel attributes (launch bounds, etc.)
Whether the kernel uses shared memory
uses_sync_threads: boolWhether the kernel uses syncthreads
referenced_builtins: Vec<String>Set of CUDA builtins referenced (threadIdx, blockIdx, etc.)
called_functions: Vec<String>Names of functions called from within the kernel
Trait Implementations§
Source§impl Clone for KernelInfo
impl Clone for KernelInfo
Source§fn clone(&self) -> KernelInfo
fn clone(&self) -> KernelInfo
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 moreAuto Trait Implementations§
impl Freeze for KernelInfo
impl RefUnwindSafe for KernelInfo
impl Send for KernelInfo
impl Sync for KernelInfo
impl Unpin for KernelInfo
impl UnwindSafe for KernelInfo
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