pub struct HelloBackend;Expand description
Marker for the diagnostic hello kernel.
Trait Implementations§
Source§impl Kernel for HelloBackend
impl Kernel for HelloBackend
Source§type Input<'a> = HelloBackendInput
type Input<'a> = HelloBackendInput
Input type for this kernel. The lifetime parameter allows borrowing
host data (records, schema) without copying.
Source§type Output = HelloBackendOutput
type Output = HelloBackendOutput
Output type produced after the kernel completes and results are
downloaded back to host memory.
Source§impl KernelDispatch<HelloBackend> for CpuDevice
impl KernelDispatch<HelloBackend> for CpuDevice
fn dispatch( &self, _input: HelloBackendInput, ) -> Result<HelloBackendOutput, GpuError>
Source§impl KernelDispatch<HelloBackend> for DeviceBackend
impl KernelDispatch<HelloBackend> for DeviceBackend
fn dispatch( &self, input: HelloBackendInput, ) -> Result<HelloBackendOutput, GpuError>
Auto Trait Implementations§
impl Freeze for HelloBackend
impl RefUnwindSafe for HelloBackend
impl Send for HelloBackend
impl Sync for HelloBackend
impl Unpin for HelloBackend
impl UnsafeUnpin for HelloBackend
impl UnwindSafe for HelloBackend
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more