#[repr(C)]pub enum DeviceInfo {
Show 94 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,
PreferredVectorWidthHalf = 4_148,
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,
QueueOnHostProperties = 4_138,
Name = 4_139,
Vendor = 4_140,
Profile = 4_142,
Version = 4_143,
Extensions = 4_144,
Platform = 4_145,
DoubleFpConfig = 4_146,
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,
MaxReadWriteImageArgs = 4_172,
MaxGlobalVariableSize = 4_173,
QueueOnDeviceProperties = 4_174,
QueueOnDevicePreferredSize = 4_175,
QueueOnDeviceMaxSize = 4_176,
MaxOnDeviceQueues = 4_177,
MaxOnDeviceEvents = 4_178,
SvmCapabilities = 4_179,
GlobalVariablePreferredTotalSize = 4_180,
MaxPipeArgs = 4_181,
PipeMaxActiveReservations = 4_182,
PipeMaxPacketSize = 4_183,
PreferredPlatformAtomicAlignment = 4_184,
PreferredGlobalAtomicAlignment = 4_185,
PreferredLocalAtomicAlignment = 4_186,
IlVersion = 4_187,
MaxNumSubGroups = 4_188,
SubGroupIndependentForwardProgress = 4_189,
HalfFpConfig = 4_147,
DriverVersion = 4_141,
}
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
PreferredVectorWidthHalf = 4_148
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
QueueOnHostProperties = 4_138
Name = 4_139
Vendor = 4_140
Profile = 4_142
Version = 4_143
Extensions = 4_144
Platform = 4_145
DoubleFpConfig = 4_146
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
MaxReadWriteImageArgs = 4_172
MaxGlobalVariableSize = 4_173
QueueOnDeviceProperties = 4_174
QueueOnDevicePreferredSize = 4_175
QueueOnDeviceMaxSize = 4_176
MaxOnDeviceQueues = 4_177
MaxOnDeviceEvents = 4_178
SvmCapabilities = 4_179
GlobalVariablePreferredTotalSize = 4_180
MaxPipeArgs = 4_181
PipeMaxActiveReservations = 4_182
PipeMaxPacketSize = 4_183
PreferredPlatformAtomicAlignment = 4_184
PreferredGlobalAtomicAlignment = 4_185
PreferredLocalAtomicAlignment = 4_186
IlVersion = 4_187
MaxNumSubGroups = 4_188
SubGroupIndependentForwardProgress = 4_189
HalfFpConfig = 4_147
DriverVersion = 4_141
Trait Implementations§
Source§impl Clone for DeviceInfo
impl Clone for DeviceInfo
Source§fn clone(&self) -> DeviceInfo
fn clone(&self) -> DeviceInfo
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 DeviceInfo
impl Debug for DeviceInfo
Source§impl From<&DeviceInfo> for cl_device_info
impl From<&DeviceInfo> for cl_device_info
Source§fn from(source_value: &DeviceInfo) -> cl_device_info
fn from(source_value: &DeviceInfo) -> cl_device_info
Converts to this type from the input type.
Source§impl From<DeviceInfo> for cl_device_info
impl From<DeviceInfo> for cl_device_info
Source§fn from(source_value: DeviceInfo) -> cl_device_info
fn from(source_value: DeviceInfo) -> cl_device_info
Converts to this type from the input type.
Source§impl From<u32> for DeviceInfo
impl From<u32> for DeviceInfo
Source§fn from(dest_value: cl_device_info) -> DeviceInfo
fn from(dest_value: cl_device_info) -> DeviceInfo
Converts to this type from the input type.
Source§impl Hash for DeviceInfo
impl Hash for DeviceInfo
Source§impl PartialEq for DeviceInfo
impl PartialEq for DeviceInfo
Source§impl PartialOrd for DeviceInfo
impl PartialOrd for DeviceInfo
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