Struct ocl_core::types::abs::Program
[−]
[src]
#[repr(C)]pub struct Program(_);
cl_program
Methods
impl Program
[src]
unsafe fn from_raw_create_ptr(ptr: cl_program) -> Program
[src]
Only call this when passing the original newly created pointer
directly from clCreate...
. Do not use this to clone or copy.
unsafe fn from_raw_copied_ptr(ptr: cl_program) -> Program
[src]
Only call this when passing a copied pointer such as from an
clGet*****Info
function.
fn as_ptr(&self) -> cl_program
[src]
Returns a pointer, do not store it.
fn devices(&self) -> OclResult<Vec<DeviceId>>
[src]
Returns the devices associated with this program.
Trait Implementations
impl Debug for Program
[src]
impl Clone for Program
[src]
fn clone(&self) -> Program
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more