Struct numa_gpu::runtime::dispatcher::StatefulHetMorselIterator2
source · [−]Implementations
sourceimpl<'a, R, S, CWS: Send, GWS: Send> StatefulHetMorselIterator2<'a, R, S, CWS, GWS>
impl<'a, R, S, CWS: Send, GWS: Send> StatefulHetMorselIterator2<'a, R, S, CWS, GWS>
pub fn fold<CpuF, GpuF>(&mut self, cpu_f: CpuF, gpu_f: GpuF) -> Result<()> where
R: Copy + DeviceCopy + Send + Sync,
S: Copy + DeviceCopy + Send + Sync,
CpuF: Fn((&[R], &[S]), &mut CWS) -> Result<()> + Send + Sync,
GpuF: Fn((LaunchableSlice<'_, R>, LaunchableSlice<'_, S>), &mut GWS, &Stream) -> Result<()> + Send + Sync,
Trait Implementations
Auto Trait Implementations
impl<'a, R, S, CWS, GWS> !RefUnwindSafe for StatefulHetMorselIterator2<'a, R, S, CWS, GWS>
impl<'a, R, S, CWS, GWS> Send for StatefulHetMorselIterator2<'a, R, S, CWS, GWS> where
R: Send,
S: Send,
impl<'a, R, S, CWS, GWS> !Sync for StatefulHetMorselIterator2<'a, R, S, CWS, GWS>
impl<'a, R, S, CWS, GWS> Unpin for StatefulHetMorselIterator2<'a, R, S, CWS, GWS> where
CWS: Unpin,
GWS: Unpin,
impl<'a, R, S, CWS, GWS> !UnwindSafe for StatefulHetMorselIterator2<'a, R, S, CWS, GWS>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more