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

pub struct Device { /* fields omitted */ }

Defines a Cuda Device.

Methods

impl Device
[src]

Initializes a new Cuda device.

Initializes a new Cuda device from its C type.

Returns the id as its C type.

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

Loads the device type via a foreign Cuda call.

Loads the compute units of the device via a foreign Cuda 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

impl PartialEq for Device
[src]

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

This method tests for !=.