#[repr(u32)]pub enum IPLOpenCLDeviceType {
IPL_OPENCLDEVICETYPE_ANY = 0,
IPL_OPENCLDEVICETYPE_CPU = 1,
IPL_OPENCLDEVICETYPE_GPU = 2,
}Expand description
The type of devices to include when listing OpenCL devices.
Variants§
IPL_OPENCLDEVICETYPE_ANY = 0
List both CPU and GPU devices.
IPL_OPENCLDEVICETYPE_CPU = 1
Only list CPU devices.
IPL_OPENCLDEVICETYPE_GPU = 2
Only list GPU devices.
Trait Implementations§
Source§impl Clone for IPLOpenCLDeviceType
impl Clone for IPLOpenCLDeviceType
Source§fn clone(&self) -> IPLOpenCLDeviceType
fn clone(&self) -> IPLOpenCLDeviceType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IPLOpenCLDeviceType
impl Debug for IPLOpenCLDeviceType
Source§impl Hash for IPLOpenCLDeviceType
impl Hash for IPLOpenCLDeviceType
Source§impl PartialEq for IPLOpenCLDeviceType
impl PartialEq for IPLOpenCLDeviceType
impl Copy for IPLOpenCLDeviceType
impl Eq for IPLOpenCLDeviceType
impl StructuralPartialEq for IPLOpenCLDeviceType
Auto Trait Implementations§
impl Freeze for IPLOpenCLDeviceType
impl RefUnwindSafe for IPLOpenCLDeviceType
impl Send for IPLOpenCLDeviceType
impl Sync for IPLOpenCLDeviceType
impl Unpin for IPLOpenCLDeviceType
impl UnwindSafe for IPLOpenCLDeviceType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more