[][src]Trait open_cl_low_level::kernel::KernelArg

pub unsafe trait KernelArg {
    fn kernel_arg_size(&self) -> usize;
unsafe fn kernel_arg_ptr(&self) -> *const c_void;
unsafe fn kernel_arg_mut_ptr(&mut self) -> *mut c_void; }

Required methods

fn kernel_arg_size(&self) -> usize

size_of or size_of * len

unsafe fn kernel_arg_ptr(&self) -> *const c_void

unsafe fn kernel_arg_mut_ptr(&mut self) -> *mut c_void

Loading content...

Implementations on Foreign Types

impl KernelArg for isize[src]

impl KernelArg for i8[src]

impl KernelArg for i16[src]

impl KernelArg for i32[src]

impl KernelArg for i64[src]

impl KernelArg for usize[src]

impl KernelArg for u8[src]

impl KernelArg for u16[src]

impl KernelArg for u32[src]

impl KernelArg for u64[src]

impl KernelArg for f32[src]

impl KernelArg for f64[src]

Loading content...

Implementors

impl KernelArg for ClMem[src]

Loading content...