pub struct KernelModuleSpec {
pub cu_name: &'static str,
pub module_name: &'static str,
pub kernels: &'static [&'static str],
}Expand description
Describes a single CUDA module: the .cu file name, the runtime module name used by cudarc, and the list of kernel function entry points within.
Fields§
§cu_name: &'static str§module_name: &'static str§kernels: &'static [&'static str]Auto Trait Implementations§
impl Freeze for KernelModuleSpec
impl RefUnwindSafe for KernelModuleSpec
impl Send for KernelModuleSpec
impl Sync for KernelModuleSpec
impl Unpin for KernelModuleSpec
impl UnsafeUnpin for KernelModuleSpec
impl UnwindSafe for KernelModuleSpec
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