Struct coaster::frameworks::opencl::OpenCL [] [src]

pub struct OpenCL { /* fields omitted */ }

Provides the OpenCL Framework.

Trait Implementations

impl Debug for OpenCL
[src]

Formats the value using the given formatter.

impl Clone for OpenCL
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl IOpenCL for OpenCL
[src]

impl IFramework for OpenCL
[src]

The Hardware representation for this Framework.

The Device representation for this Framework.

The Binary representation for this Framework.

Defines the Framework by a Name. Read more

Initializes a new Framework. Read more

Initializes all the available hardwares.

Returns the cached and available hardwares.

Returns the initialized binary.

Creates a new OpenCL context over one or many devices ready for computation.

Contexts are used by the OpenCL runtime for managing objects such as command-queues, memory, program and kernel objects and for executing kernels on one or more hardwares specified in the context. OpenCL allows to move memory within one context from one device to another without any explicit API calls.