Struct ocl::builders::KernelCmd
[−]
[src]
pub struct KernelCmd<'k> { /* fields omitted */ }A kernel command builder used to queue a kernel with a mix of default and optionally specified arguments.
Methods
impl<'k> KernelCmd<'k>[src]
[UNSTABLE]: All methods still being tuned.
fn queue<Q: AsRef<CommandQueueCore>>(self, queue: &'k Q) -> KernelCmd<'k>
Specifies a queue to use for this call only.
fn gwo<D: Into<SpatialDims>>(self, gwo: D) -> KernelCmd<'k>
Specifies a global work offset for this call only.
fn gws<D: Into<SpatialDims>>(self, gws: D) -> KernelCmd<'k>
Specifies a global work size for this call only.
fn lws<D: Into<SpatialDims>>(self, lws: D) -> KernelCmd<'k>
Specifies a local work size for this call only.
fn ewait(self, wait_list: &'k ClWaitList) -> KernelCmd<'k>
Specifies the list of events to wait on before the command will run.
fn ewait_opt(self, wait_list: Option<&'k ClWaitList>) -> KernelCmd<'k>
Specifies a list of events to wait on before the command will run.
fn enew(self, new_event_dest: &'k mut ClEventPtrNew) -> KernelCmd<'k>
Specifies the destination list or empty event for a new, optionally created event associated with this command.
fn enew_opt(self,
new_event_list: Option<&'k mut ClEventPtrNew>)
-> KernelCmd<'k>
new_event_list: Option<&'k mut ClEventPtrNew>)
-> KernelCmd<'k>
Specifies a destination list for a new, optionally created event associated with this command.
fn enq(self) -> OclResult<()>
Enqueues this kernel command.