Struct rust_cuda::kernel::RawPtxKernel
source · pub struct RawPtxKernel { /* private fields */ }
Available on crate feature
host
only.Implementations§
source§impl RawPtxKernel
impl RawPtxKernel
sourcepub fn new(ptx: &CStr, entry_point: &CStr) -> CudaResult<Self>
pub fn new(ptx: &CStr, entry_point: &CStr) -> CudaResult<Self>
pub fn get_function(&self) -> &Function<'_>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RawPtxKernel
impl !PortableBitSemantics for RawPtxKernel
impl RefUnwindSafe for RawPtxKernel
impl !Send for RawPtxKernel
impl !StackOnly for RawPtxKernel
impl !Sync for RawPtxKernel
impl Unpin for RawPtxKernel
impl UnwindSafe for RawPtxKernel
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
source§impl<T> ExtractDiscriminant for T
impl<T> ExtractDiscriminant for T
§type Discriminant = <T as ExtractDiscriminantSpec<<T as DiscriminantKind>::Discriminant>>::Ty
type Discriminant = <T as ExtractDiscriminantSpec<<T as DiscriminantKind>::Discriminant>>::Ty
The type of the discriminant, which must satisfy the trait bounds
required by
core::mem::Discriminant
. Read more