Struct collenchyma::frameworks::opencl::context::Context [] [src]

pub struct Context { /* fields omitted */ }

Defines a OpenCL Context.

Methods

impl Context
[src]

Initializes a new OpenCL platform.

Initializes a new OpenCL platform from its C type.

Returns Queue for first device.

Returns mutable Queue for first device and creates it if it does not exist yet.

Returns the id as isize.

Returns the id as its C type.

Trait Implementations

impl Debug for Context
[src]

Formats the value using the given formatter.

impl Clone for Context
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl IDeviceSyncOut<FlatBox> for Context
[src]

The Memory representation for this Device.

Synchronizes memory from source_data to dest_data.

impl IDevice for Context
[src]

The Hardware representation for this Device.

The Memory representation for this Device.

Returns the unique identifier of the Device.

Returns the hardwares, which define the Device.

Allocate memory on the Device.

Synchronize memory from source_data to the memory at dest_data. Read more

impl PartialEq for Context
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Context
[src]

impl Hash for Context
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more