Enum parenchyma::ComputeDevice [] [src]

pub enum ComputeDevice {
    Native(NativeDevice),
    OpenCL(OpenCLDevice),
}

A wrapper around the various compute devices.

ComputeDevice and Viewable use the family pattern.

Variants

A native host device

An OpenCL device

Methods

impl ComputeDevice
[src]

Returns the device

Trait Implementations

impl Debug for ComputeDevice
[src]

Formats the value using the given formatter.

impl Eq for ComputeDevice
[src]

impl PartialEq for ComputeDevice
[src]

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

This method tests for !=.