[][src]Trait open_cl_low_level::kernel::KernelPtr

pub unsafe trait KernelPtr: Sized {
    unsafe fn kernel_ptr(&self) -> cl_kernel;

    unsafe fn info<T: Copy>(&self, flag: KernelInfo) -> Output<ClPointer<T>> { ... }
unsafe fn function_name(&self) -> Output<String> { ... }
unsafe fn num_args(&self) -> Output<u32> { ... }
unsafe fn reference_count(&self) -> Output<u32> { ... }
unsafe fn context(&self) -> Output<ClContext> { ... }
unsafe fn program(&self) -> Output<ClProgram> { ... }
unsafe fn attributes(&self) -> Output<String> { ... } }

Required methods

unsafe fn kernel_ptr(&self) -> cl_kernel

Loading content...

Provided methods

unsafe fn info<T: Copy>(&self, flag: KernelInfo) -> Output<ClPointer<T>>

unsafe fn function_name(&self) -> Output<String>

unsafe fn num_args(&self) -> Output<u32>

Returns the number of args for a kernel.

unsafe fn reference_count(&self) -> Output<u32>

Returns the OpenCL reference count of the kernel.

unsafe fn context(&self) -> Output<ClContext>

unsafe fn program(&self) -> Output<ClProgram>

unsafe fn attributes(&self) -> Output<String>

Loading content...

Implementors

impl KernelPtr for ClKernel[src]

Loading content...