[][src]Trait open_cl_low_level::context::ContextPtr

pub unsafe trait ContextPtr: Sized {
    unsafe fn context_ptr(&self) -> cl_context;

    unsafe fn info<T: Copy>(&self, flag: ContextInfo) -> Output<ClPointer<T>> { ... }
unsafe fn reference_count(&self) -> Output<u32> { ... }
unsafe fn devices(&self) -> Output<Vec<ClDeviceID>> { ... }
unsafe fn properties(&self) -> Output<Vec<ContextProperties>> { ... }
unsafe fn num_devices(&self) -> Output<u32> { ... } }

Required methods

unsafe fn context_ptr(&self) -> cl_context

Loading content...

Provided methods

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

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

unsafe fn devices(&self) -> Output<Vec<ClDeviceID>>

unsafe fn properties(&self) -> Output<Vec<ContextProperties>>

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

Loading content...

Implementors

impl ContextPtr for ClContext[src]

Loading content...