Enum ocl::enums::DeviceInfo
source · #[repr(C)]pub enum DeviceInfo {
Show 76 variants
Type = 4_096,
VendorId = 4_097,
MaxComputeUnits = 4_098,
MaxWorkItemDimensions = 4_099,
MaxWorkGroupSize = 4_100,
MaxWorkItemSizes = 4_101,
PreferredVectorWidthChar = 4_102,
PreferredVectorWidthShort = 4_103,
PreferredVectorWidthInt = 4_104,
PreferredVectorWidthLong = 4_105,
PreferredVectorWidthFloat = 4_106,
PreferredVectorWidthDouble = 4_107,
MaxClockFrequency = 4_108,
AddressBits = 4_109,
MaxReadImageArgs = 4_110,
MaxWriteImageArgs = 4_111,
MaxMemAllocSize = 4_112,
Image2dMaxWidth = 4_113,
Image2dMaxHeight = 4_114,
Image3dMaxWidth = 4_115,
Image3dMaxHeight = 4_116,
Image3dMaxDepth = 4_117,
ImageSupport = 4_118,
MaxParameterSize = 4_119,
MaxSamplers = 4_120,
MemBaseAddrAlign = 4_121,
MinDataTypeAlignSize = 4_122,
SingleFpConfig = 4_123,
GlobalMemCacheType = 4_124,
GlobalMemCachelineSize = 4_125,
GlobalMemCacheSize = 4_126,
GlobalMemSize = 4_127,
MaxConstantBufferSize = 4_128,
MaxConstantArgs = 4_129,
LocalMemType = 4_130,
LocalMemSize = 4_131,
ErrorCorrectionSupport = 4_132,
ProfilingTimerResolution = 4_133,
EndianLittle = 4_134,
Available = 4_135,
CompilerAvailable = 4_136,
ExecutionCapabilities = 4_137,
QueueProperties = 4_138,
Name = 4_139,
Vendor = 4_140,
DriverVersion = 4_141,
Profile = 4_142,
Version = 4_143,
Extensions = 4_144,
Platform = 4_145,
DoubleFpConfig = 4_146,
HalfFpConfig = 4_147,
PreferredVectorWidthHalf = 4_148,
HostUnifiedMemory = 4_149,
NativeVectorWidthChar = 4_150,
NativeVectorWidthShort = 4_151,
NativeVectorWidthInt = 4_152,
NativeVectorWidthLong = 4_153,
NativeVectorWidthFloat = 4_154,
NativeVectorWidthDouble = 4_155,
NativeVectorWidthHalf = 4_156,
OpenclCVersion = 4_157,
LinkerAvailable = 4_158,
BuiltInKernels = 4_159,
ImageMaxBufferSize = 4_160,
ImageMaxArraySize = 4_161,
ParentDevice = 4_162,
PartitionMaxSubDevices = 4_163,
PartitionProperties = 4_164,
PartitionAffinityDomain = 4_165,
PartitionType = 4_166,
ReferenceCount = 4_167,
PreferredInteropUserSync = 4_168,
PrintfBufferSize = 4_169,
ImagePitchAlignment = 4_170,
ImageBaseAddressAlignment = 4_171,
}
Expand description
cl_device_info
Variants§
Type = 4_096
VendorId = 4_097
MaxComputeUnits = 4_098
MaxWorkItemDimensions = 4_099
MaxWorkGroupSize = 4_100
MaxWorkItemSizes = 4_101
PreferredVectorWidthChar = 4_102
PreferredVectorWidthShort = 4_103
PreferredVectorWidthInt = 4_104
PreferredVectorWidthLong = 4_105
PreferredVectorWidthFloat = 4_106
PreferredVectorWidthDouble = 4_107
MaxClockFrequency = 4_108
AddressBits = 4_109
MaxReadImageArgs = 4_110
MaxWriteImageArgs = 4_111
MaxMemAllocSize = 4_112
Image2dMaxWidth = 4_113
Image2dMaxHeight = 4_114
Image3dMaxWidth = 4_115
Image3dMaxHeight = 4_116
Image3dMaxDepth = 4_117
ImageSupport = 4_118
MaxParameterSize = 4_119
MaxSamplers = 4_120
MemBaseAddrAlign = 4_121
MinDataTypeAlignSize = 4_122
SingleFpConfig = 4_123
GlobalMemCacheType = 4_124
GlobalMemCachelineSize = 4_125
GlobalMemCacheSize = 4_126
GlobalMemSize = 4_127
MaxConstantBufferSize = 4_128
MaxConstantArgs = 4_129
LocalMemType = 4_130
LocalMemSize = 4_131
ErrorCorrectionSupport = 4_132
ProfilingTimerResolution = 4_133
EndianLittle = 4_134
Available = 4_135
CompilerAvailable = 4_136
ExecutionCapabilities = 4_137
QueueProperties = 4_138
Name = 4_139
Vendor = 4_140
DriverVersion = 4_141
Profile = 4_142
Version = 4_143
Extensions = 4_144
Platform = 4_145
DoubleFpConfig = 4_146
HalfFpConfig = 4_147
PreferredVectorWidthHalf = 4_148
HostUnifiedMemory = 4_149
NativeVectorWidthChar = 4_150
NativeVectorWidthShort = 4_151
NativeVectorWidthInt = 4_152
NativeVectorWidthLong = 4_153
NativeVectorWidthFloat = 4_154
NativeVectorWidthDouble = 4_155
NativeVectorWidthHalf = 4_156
OpenclCVersion = 4_157
LinkerAvailable = 4_158
BuiltInKernels = 4_159
ImageMaxBufferSize = 4_160
ImageMaxArraySize = 4_161
ParentDevice = 4_162
PartitionMaxSubDevices = 4_163
PartitionProperties = 4_164
PartitionAffinityDomain = 4_165
PartitionType = 4_166
ReferenceCount = 4_167
PreferredInteropUserSync = 4_168
PrintfBufferSize = 4_169
ImagePitchAlignment = 4_170
ImageBaseAddressAlignment = 4_171
Trait Implementations§
source§impl Clone for DeviceInfo
impl Clone for DeviceInfo
source§fn clone(&self) -> DeviceInfo
fn clone(&self) -> DeviceInfo
Returns a copy 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 DeviceInfo
impl Debug for DeviceInfo
source§impl FromPrimitive for DeviceInfo
impl FromPrimitive for DeviceInfo
source§fn from_i64(n: i64) -> Option<DeviceInfo>
fn from_i64(n: i64) -> Option<DeviceInfo>
Converts an
i64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_u64(n: u64) -> Option<DeviceInfo>
fn from_u64(n: u64) -> Option<DeviceInfo>
Converts an
u64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_isize(n: isize) -> Option<Self>
fn from_isize(n: isize) -> Option<Self>
Converts an
isize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_i8(n: i8) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
Converts an
i8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_i16(n: i16) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
Converts an
i16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_i32(n: i32) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
Converts an
i32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_i128(n: i128) -> Option<Self>
fn from_i128(n: i128) -> Option<Self>
Converts an
i128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read moresource§fn from_usize(n: usize) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
Converts a
usize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_u8(n: u8) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
Converts an
u8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_u16(n: u16) -> Option<Self>
fn from_u16(n: u16) -> Option<Self>
Converts an
u16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_u32(n: u32) -> Option<Self>
fn from_u32(n: u32) -> Option<Self>
Converts an
u32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned.source§fn from_u128(n: u128) -> Option<Self>
fn from_u128(n: u128) -> Option<Self>
Converts an
u128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read moresource§impl Hash for DeviceInfo
impl Hash for DeviceInfo
source§impl PartialEq for DeviceInfo
impl PartialEq for DeviceInfo
source§fn eq(&self, other: &DeviceInfo) -> bool
fn eq(&self, other: &DeviceInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DeviceInfo
impl Eq for DeviceInfo
impl StructuralPartialEq for DeviceInfo
Auto Trait Implementations§
impl Freeze for DeviceInfo
impl RefUnwindSafe for DeviceInfo
impl Send for DeviceInfo
impl Sync for DeviceInfo
impl Unpin for DeviceInfo
impl UnwindSafe for DeviceInfo
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