pub trait KernelTraitConst {
    // Required method
    fn as_raw_Kernel(&self) -> *const c_void;
    // Provided methods
    fn empty(&self) -> Result<bool> { ... }
    fn work_group_size(&self) -> Result<size_t> { ... }
    fn prefered_work_group_size_multiple(&self) -> Result<size_t> { ... }
    fn compile_work_group_size(&self, wsz: &mut [size_t]) -> Result<bool> { ... }
    fn local_mem_size(&self) -> Result<size_t> { ... }
    fn ptr(&self) -> Result<*mut c_void> { ... }
}Expand description
Constant methods for core::Kernel