[−][src]Struct dynamic_ocl::kernel::Kernel
An executable OpenCL kernel, with arguments set.
Methods
impl<T: KernelArgList> Kernel<T>
[src]
pub fn arguments<'a>(&'a mut self) -> <T::Bound as BindProject<'a>>::Projected where
T::Bound: BindProject<'a>,
[src]
T::Bound: BindProject<'a>,
Get mutable references to the arguments of this kernel.
For safety reasons, the bound arguments are pinned, and must not be moved.
Trait Implementations
impl<T: KernelArgList> Debug for Kernel<T>
[src]
impl<T: Eq + KernelArgList> Eq for Kernel<T> where
T::Bound: Eq,
[src]
T::Bound: Eq,
impl<T: Hash + KernelArgList> Hash for Kernel<T> where
T::Bound: Hash,
[src]
T::Bound: Hash,
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<T: KernelArgList> KernelInfo for Kernel<T>
[src]
fn as_unbound(&self) -> &UnboundKernel
[src]
fn function_name(&self) -> Result<CString>
[src]
fn num_args(&self) -> Result<cl_uint>
[src]
fn reference_count(&self) -> Result<cl_uint>
[src]
fn context_raw(&self) -> Result<cl_context>
[src]
fn program_raw(&self) -> Result<cl_program>
[src]
fn attributes(&self) -> Result<CString>
[src]
fn info_fmt(&self, f: &mut Formatter) -> Result
[src]
fn arg_info(&self, idx: cl_uint) -> KernelArgInfo
[src]
impl<T: PartialEq + KernelArgList> PartialEq<Kernel<T>> for Kernel<T> where
T::Bound: PartialEq,
[src]
T::Bound: PartialEq,
impl<T: KernelArgList> StructuralEq for Kernel<T>
[src]
impl<T: KernelArgList> StructuralPartialEq for Kernel<T>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for Kernel<T> where
<T as KernelArgList>::Bound: RefUnwindSafe,
<T as KernelArgList>::Bound: RefUnwindSafe,
impl<T> !Send for Kernel<T>
impl<T> !Sync for Kernel<T>
impl<T> Unpin for Kernel<T> where
<T as KernelArgList>::Bound: Unpin,
<T as KernelArgList>::Bound: Unpin,
impl<T> UnwindSafe for Kernel<T> where
<T as KernelArgList>::Bound: UnwindSafe,
<T as KernelArgList>::Bound: UnwindSafe,
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>,