pub struct RudaReferences<T: RudaRecord, I: RudaAddress<T>> {
pub input: I,
pub marker: PhantomData<T>,
}Fields§
§input: I§marker: PhantomData<T>Trait Implementations§
Source§impl<T: Clone + RudaRecord, I: Clone + RudaAddress<T>> Clone for RudaReferences<T, I>
impl<T: Clone + RudaRecord, I: Clone + RudaAddress<T>> Clone for RudaReferences<T, I>
Source§impl<T: RudaRecord, I> LaunchArg for RudaReferences<T, I>
impl<T: RudaRecord, I> LaunchArg for RudaReferences<T, I>
Source§type RuntimeArg<R: Runtime> = RudaReferencesLaunch<T, I, R>
type RuntimeArg<R: Runtime> = RudaReferencesLaunch<T, I, R>
The runtime argument for the kernel.
Source§type CompilationArg = RudaReferencesCompilationArg<T, I>
type CompilationArg = RudaReferencesCompilationArg<T, I>
Compilation argument.
fn register<R: Runtime>( arg: Self::RuntimeArg<R>, launcher: &mut KernelLauncher<R>, ) -> Self::CompilationArg
Source§fn expand(
arg: &Self::CompilationArg,
builder: &mut KernelBuilder,
) -> <Self as RudaType>::ExpandType
fn expand( arg: &Self::CompilationArg, builder: &mut KernelBuilder, ) -> <Self as RudaType>::ExpandType
Register an input variable during compilation that fill the
KernelBuilder.Source§fn expand_output(
arg: &Self::CompilationArg,
builder: &mut KernelBuilder,
) -> <Self as RudaType>::ExpandType
fn expand_output( arg: &Self::CompilationArg, builder: &mut KernelBuilder, ) -> <Self as RudaType>::ExpandType
Register an output variable during compilation that fill the
KernelBuilder.Source§impl<T: RudaRecord, I: RudaAddress<T>> RudaRead<RudaReference<T>> for RudaReferences<T, I>
impl<T: RudaRecord, I: RudaAddress<T>> RudaRead<RudaReference<T>> for RudaReferences<T, I>
fn read(&self, index: usize) -> RudaReference<T>
fn __expand_read( scope: &mut Scope, this: <Self as RudaType>::ExpandType, index: <usize as RudaType>::ExpandType, ) -> <T as RudaType>::ExpandType
Source§impl<T: RudaRecord, I: RudaAddress<T>> RudaType for RudaReferences<T, I>
impl<T: RudaRecord, I: RudaAddress<T>> RudaType for RudaReferences<T, I>
type ExpandType = RudaReferencesExpand<T, I>
Auto Trait Implementations§
impl<T, I> Freeze for RudaReferences<T, I>
impl<T, I> RefUnwindSafe for RudaReferences<T, I>
impl<T, I> Send for RudaReferences<T, I>
impl<T, I> Sync for RudaReferences<T, I>
impl<T, I> Unpin for RudaReferences<T, I>
impl<T, I> UnsafeUnpin for RudaReferences<T, I>
impl<T, I> UnwindSafe for RudaReferences<T, I>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<C> CloneExpand for Cwhere
C: Clone,
impl<C> CloneExpand for Cwhere
C: Clone,
fn __expand_clone_method(&self, _scope: &mut Scope) -> C
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> TuneInputs for T
impl<T> TuneInputs for T
Source§impl<T> ViewLayoutLaunchArg for Twhere
T: LaunchArg,
impl<T> ViewLayoutLaunchArg for Twhere
T: LaunchArg,
Source§type RuntimeArg<R: Runtime> = <T as LaunchArg>::RuntimeArg<R>
type RuntimeArg<R: Runtime> = <T as LaunchArg>::RuntimeArg<R>
The runtime argument for the kernel.
Source§type CompilationArg = <T as LaunchArg>::CompilationArg
type CompilationArg = <T as LaunchArg>::CompilationArg
Compilation argument.
fn register<R, B>( arg: <T as ViewLayoutLaunchArg>::RuntimeArg<R>, _buffer: &B, _ty: Type, launcher: &mut KernelLauncher<R>, ) -> <T as ViewLayoutLaunchArg>::CompilationArg
Source§fn expand(
arg: &<T as ViewLayoutLaunchArg>::CompilationArg,
_ty: Type,
builder: &mut KernelBuilder,
) -> <T as RudaType>::ExpandType
fn expand( arg: &<T as ViewLayoutLaunchArg>::CompilationArg, _ty: Type, builder: &mut KernelBuilder, ) -> <T as RudaType>::ExpandType
Register an input variable during compilation that fill the
KernelBuilder.Source§fn expand_output(
arg: &<T as ViewLayoutLaunchArg>::CompilationArg,
_ty: Type,
builder: &mut KernelBuilder,
) -> <T as RudaType>::ExpandType
fn expand_output( arg: &<T as ViewLayoutLaunchArg>::CompilationArg, _ty: Type, builder: &mut KernelBuilder, ) -> <T as RudaType>::ExpandType
Register an output variable during compilation that fill the
KernelBuilder.