[][src]Trait dynamic_ocl::kernel::KernelInfo

pub trait KernelInfo: OclInfoInternal<Param = cl_kernel_info> + Sized {
    fn as_unbound(&self) -> &UnboundKernel;

    fn function_name(&self) -> Result<CString> { ... }
fn num_args(&self) -> Result<cl_uint> { ... }
fn reference_count(&self) -> Result<cl_uint> { ... }
fn context_raw(&self) -> Result<cl_context> { ... }
fn program_raw(&self) -> Result<cl_program> { ... }
fn attributes(&self) -> Result<CString> { ... }
fn info_fmt(&self, f: &mut Formatter) -> Result { ... }
fn arg_info(&self, idx: cl_uint) -> KernelArgInfo { ... } }

A trait implemented by OpenCL kernel types (UnboundKernel and Kernel) to provide access to OpenCL kernel information.

Required methods

fn as_unbound(&self) -> &UnboundKernel

Get a reference to the unbound form of this kernel

Loading content...

Provided methods

fn function_name(&self) -> Result<CString>

fn num_args(&self) -> Result<cl_uint>

fn reference_count(&self) -> Result<cl_uint>

fn context_raw(&self) -> Result<cl_context>

fn program_raw(&self) -> Result<cl_program>

fn attributes(&self) -> Result<CString>

fn info_fmt(&self, f: &mut Formatter) -> Result

fn arg_info(&self, idx: cl_uint) -> KernelArgInfo

Loading content...

Implementors

impl KernelInfo for UnboundKernel[src]

impl<T: KernelArgList> KernelInfo for Kernel<T>[src]

Loading content...