[−][src]Struct dynamic_ocl::queue::KernelCmd
A partially built command to execute a kernel
Methods
impl<'q, T: KernelArgList, W: WorkDims> KernelCmd<'q, T, W>
[src]
pub fn global_work_offset(
self,
global_work_offset: impl Into<Option<W>>
) -> Self
[src]
self,
global_work_offset: impl Into<Option<W>>
) -> Self
Set the global work offset
pub fn local_work_size(self, local_work_size: impl Into<Option<W>>) -> Self
[src]
Set the local work size
pub fn exec_ndrange(self, global_work_size: W) -> Result<()>
[src]
Execute this kernel with the given global work size, blocking until completion.
Auto Trait Implementations
impl<'q, T, W> RefUnwindSafe for KernelCmd<'q, T, W> where
W: RefUnwindSafe,
<T as KernelArgList>::Bound: RefUnwindSafe,
W: RefUnwindSafe,
<T as KernelArgList>::Bound: RefUnwindSafe,
impl<'q, T, W> !Send for KernelCmd<'q, T, W>
impl<'q, T, W> !Sync for KernelCmd<'q, T, W>
impl<'q, T, W> Unpin for KernelCmd<'q, T, W> where
W: Unpin,
W: Unpin,
impl<'q, T, W> UnwindSafe for KernelCmd<'q, T, W> where
W: UnwindSafe,
<T as KernelArgList>::Bound: RefUnwindSafe,
W: UnwindSafe,
<T as KernelArgList>::Bound: RefUnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,