pub struct RudaSubtract;Trait Implementations§
Source§impl Clone for RudaSubtract
impl Clone for RudaSubtract
impl Copy for RudaSubtract
Source§impl Debug for RudaSubtract
impl Debug for RudaSubtract
Source§impl LaunchArg for RudaSubtract
impl LaunchArg for RudaSubtract
Source§type RuntimeArg<R: LaunchMarker> = RudaSubtractLaunch<R>
type RuntimeArg<R: LaunchMarker> = RudaSubtractLaunch<R>
The runtime argument for the kernel.
Source§type CompilationArg = RudaSubtractCompilationArg
type CompilationArg = RudaSubtractCompilationArg
Compilation argument.
fn register<R: LaunchMarker>( 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: Numeric> RudaBinaryOp<T> for RudaSubtract
impl<T: Numeric> RudaBinaryOp<T> for RudaSubtract
fn combine(&self, left: T, right: T) -> T
fn __expand_combine( scope: &mut Scope, this: <Self as RudaType>::ExpandType, left: <T as RudaType>::ExpandType, right: <T as RudaType>::ExpandType, ) -> <T as RudaType>::ExpandType
Source§impl RudaType for RudaSubtract
impl RudaType for RudaSubtract
type ExpandType = RudaSubtractExpand
fn __expand_inactive_value(scope: &mut Scope) -> Self::ExpandType
fn __expand_absent_reference( _scope: &mut Scope, _writable: bool, ) -> Self::ExpandType
Auto Trait Implementations§
impl Freeze for RudaSubtract
impl RefUnwindSafe for RudaSubtract
impl Send for RudaSubtract
impl Sync for RudaSubtract
impl Unpin for RudaSubtract
impl UnsafeUnpin for RudaSubtract
impl UnwindSafe for RudaSubtract
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> LaunchMarker for T
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: LaunchMarker> = <T as LaunchArg>::RuntimeArg<R>
type RuntimeArg<R: LaunchMarker> = <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>::CompilationArgwhere
R: LaunchMarker,
B: BufferArg,
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.