Struct ocl_core::types::abs::Kernel [] [src]

pub struct Kernel(_);

cl_kernel

Thread Safety

Not thread safe: do not implement Send or Sync.

It's possible to do with some work but it's not worth the bother, just make another identical kernel in the other thread and call it good.

Methods

impl Kernel
[src]

Only call this when passing a newly created pointer directly from clCreate.... Do not use this to clone or copy.

Returns a pointer, do not store it.

Returns the program associated with this kernel.

Trait Implementations

impl Debug for Kernel
[src]

Formats the value using the given formatter.

impl Clone for Kernel
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Drop for Kernel
[src]

A method called when the value goes out of scope. Read more

impl ClVersions for Kernel
[src]