Struct coaster::frameworks::opencl::device::Device [] [src]

pub struct Device { /* fields omitted */ }

Defines a OpenCL Device.

Can later be transformed into a Coaster hardware.

Methods

impl Device
[src]

Initializes a new OpenCL device.

Initializes a new OpenCL device from its C type.

Returns the id as its C type.

Loads the name of the device via a foreign OpenCL call.

Loads the device type via a foreign OpenCL call.

Loads the compute units of the device via a foreign OpenCL call.

Loads the OpenCL version this device supports via a foreign OpenCL call.

Loads the OpenCL version this device supports via a foreign OpenCL call.

Trait Implementations

impl Debug for Device
[src]

Formats the value using the given formatter.

impl Clone for Device
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Device
[src]

Returns the "default value" for a type. Read more

impl IHardware for Device
[src]

Returns the ID of the Hardware

Returns the name of the Hardware

Defines the name of the Hardware

Returns the device_type of the Hardware

Defines the hardware_type of the Hardware

Returns the compute_units of the Hardware

Defines the compute_units of the Hardware

Build an inmutable Hardware