Struct rust_cuda::kernel::param::PtxJit

source ·
pub struct PtxJit<T> { /* private fields */ }

Trait Implementations§

source§

impl<'a, T: Sync + RustToCuda> CudaKernelParameter for &'a PtxJit<DeepPerThreadBorrow<T>>

§

type AsyncHostType<'stream, 'b> = <&'a DeepPerThreadBorrow<T> as CudaKernelParameter>::AsyncHostType<'stream, 'b> where Self: 'b

Available on crate feature host only.
§

type DeviceType<'b> = <&'a DeepPerThreadBorrow<T> as CudaKernelParameter>::DeviceType<'b> where Self: 'b

Available on crate feature device only.
§

type SyncHostType = <&'a DeepPerThreadBorrow<T> as CudaKernelParameter>::SyncHostType

Available on crate feature host only.
source§

fn with_new_async<'stream, 'b, O, E: From<CudaError>>( param: Self::SyncHostType, stream: Stream<'stream>, inner: impl FnOnce(Self::AsyncHostType<'stream, 'b>) -> Result<O, E> ) -> Result<O, E>
where Self: 'b,

Available on crate feature host only.
source§

impl<'a, T: Sync + StackOnly + PortableBitSemantics + TypeGraphLayout> CudaKernelParameter for &'a PtxJit<PerThreadShallowCopy<T>>

§

type AsyncHostType<'stream, 'b> = <&'a PerThreadShallowCopy<T> as CudaKernelParameter>::AsyncHostType<'stream, 'b> where Self: 'b

Available on crate feature host only.
§

type DeviceType<'b> = <&'a PerThreadShallowCopy<T> as CudaKernelParameter>::DeviceType<'b> where Self: 'b

Available on crate feature device only.
§

type SyncHostType = <&'a PerThreadShallowCopy<T> as CudaKernelParameter>::SyncHostType

Available on crate feature host only.
source§

fn with_new_async<'stream, 'b, O, E: From<CudaError>>( param: Self::SyncHostType, stream: Stream<'stream>, inner: impl FnOnce(Self::AsyncHostType<'stream, 'b>) -> Result<O, E> ) -> Result<O, E>
where Self: 'b,

Available on crate feature host only.
source§

impl<'a, T: Sync + RustToCuda + SafeMutableAliasing> CudaKernelParameter for &'a mut PtxJit<DeepPerThreadBorrow<T>>

§

type AsyncHostType<'stream, 'b> = <&'a mut DeepPerThreadBorrow<T> as CudaKernelParameter>::AsyncHostType<'stream, 'b> where Self: 'b

Available on crate feature host only.
§

type DeviceType<'b> = <&'a mut DeepPerThreadBorrow<T> as CudaKernelParameter>::DeviceType<'b> where Self: 'b

Available on crate feature device only.
§

type SyncHostType = <&'a mut DeepPerThreadBorrow<T> as CudaKernelParameter>::SyncHostType

Available on crate feature host only.
source§

fn with_new_async<'stream, 'b, O, E: From<CudaError>>( param: Self::SyncHostType, stream: Stream<'stream>, inner: impl FnOnce(Self::AsyncHostType<'stream, 'b>) -> Result<O, E> ) -> Result<O, E>
where Self: 'b,

Available on crate feature host only.
source§

impl<T: Send + Clone + RustToCuda<CudaRepresentation: StackOnly, CudaAllocation: EmptyCudaAlloc>> CudaKernelParameter for PtxJit<DeepPerThreadBorrow<T>>

§

type AsyncHostType<'stream, 'b> = <DeepPerThreadBorrow<T> as CudaKernelParameter>::AsyncHostType<'stream, 'b> where Self: 'b

Available on crate feature host only.
§

type DeviceType<'b> = <DeepPerThreadBorrow<T> as CudaKernelParameter>::DeviceType<'b> where Self: 'b

Available on crate feature device only.
§

type SyncHostType = <DeepPerThreadBorrow<T> as CudaKernelParameter>::SyncHostType

Available on crate feature host only.
source§

fn with_new_async<'stream, 'b, O, E: From<CudaError>>( param: Self::SyncHostType, stream: Stream<'stream>, inner: impl FnOnce(Self::AsyncHostType<'stream, 'b>) -> Result<O, E> ) -> Result<O, E>
where Self: 'b,

Available on crate feature host only.
source§

impl<T> Deref for PtxJit<T>

§

type Target = T

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<T> DerefMut for PtxJit<T>

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.

Auto Trait Implementations§

§

impl<T> Freeze for PtxJit<T>

§

impl<T> PortableBitSemantics for PtxJit<T>

§

impl<T> RefUnwindSafe for PtxJit<T>
where T: RefUnwindSafe,

§

impl<T> Send for PtxJit<T>
where T: Send,

§

impl<T> StackOnly for PtxJit<T>

§

impl<T> Sync for PtxJit<T>
where T: Sync,

§

impl<T> Unpin for PtxJit<T>
where T: Unpin,

§

impl<T> UnwindSafe for PtxJit<T>
where T: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> ExtractDiscriminant for T

§

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
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> Erased for T