Struct rust_gpu_tools::opencl::Device [−][src]
pub struct Device { /* fields omitted */ }
Expand description
OpenCL specific device.
Implementations
Returns the PCI-ID of the GPU, see the PciId
type for more information.
Returns the PCI-ID of the GPU if available, see the DeviceUuid
type for more
information.
Returns the best possible unique identifier, a UUID is preferred over a PCI ID.
Low-level access to the device identifier.
It changes when the device is initialized and should only be used to interact with other libraries that work on the lowest OpenCL level.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Device
impl UnwindSafe for Device
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self