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
Native(NativeDevice)
A native host device
OpenCL(OpenCLDevice)
An OpenCL device
Methods
impl ComputeDevice
[src]
Trait Implementations
impl Debug for ComputeDevice
[src]
impl Eq for ComputeDevice
[src]
impl PartialEq for ComputeDevice
[src]
fn eq(&self, __arg_0: &ComputeDevice) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ComputeDevice) -> bool
This method tests for !=
.