Struct coaster::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 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.

impl MemorySync for Context
[src]

FIXME

FIXME

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