enum.DeviceInfoResult.html 53 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <meta name="generator" content="rustdoc">
  7. <meta name="description" content="API documentation for the Rust `DeviceInfoResult` enum in crate `ocl`.">
  8. <meta name="keywords" content="rust, rustlang, rust-lang, DeviceInfoResult">
  9. <title>ocl::enums::DeviceInfoResult - Rust</title>
  10. <link rel="stylesheet" type="text/css" href="../../normalize.css">
  11. <link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle">
  12. <link rel="stylesheet" type="text/css" href="../../dark.css">
  13. <link rel="stylesheet" type="text/css" href="../../main.css" id="themeStyle">
  14. <script src="../../storage.js"></script>
  15. </head>
  16. <body class="rustdoc enum">
  17. <!--[if lte IE 8]>
  18. <div class="warning">
  19. This old browser is unsupported and will most likely display funky
  20. things.
  21. </div>
  22. <![endif]-->
  23. <nav class="sidebar">
  24. <div class="sidebar-menu">&#9776;</div>
  25. <p class='location'>Enum DeviceInfoResult</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#variants">Variants</a><div class="sidebar-links"><a href="#variant.Type">Type</a><a href="#variant.VendorId">VendorId</a><a href="#variant.MaxComputeUnits">MaxComputeUnits</a><a href="#variant.MaxWorkItemDimensions">MaxWorkItemDimensions</a><a href="#variant.MaxWorkGroupSize">MaxWorkGroupSize</a><a href="#variant.MaxWorkItemSizes">MaxWorkItemSizes</a><a href="#variant.PreferredVectorWidthChar">PreferredVectorWidthChar</a><a href="#variant.PreferredVectorWidthShort">PreferredVectorWidthShort</a><a href="#variant.PreferredVectorWidthInt">PreferredVectorWidthInt</a><a href="#variant.PreferredVectorWidthLong">PreferredVectorWidthLong</a><a href="#variant.PreferredVectorWidthFloat">PreferredVectorWidthFloat</a><a href="#variant.PreferredVectorWidthDouble">PreferredVectorWidthDouble</a><a href="#variant.MaxClockFrequency">MaxClockFrequency</a><a href="#variant.AddressBits">AddressBits</a><a href="#variant.MaxReadImageArgs">MaxReadImageArgs</a><a href="#variant.MaxWriteImageArgs">MaxWriteImageArgs</a><a href="#variant.MaxMemAllocSize">MaxMemAllocSize</a><a href="#variant.Image2dMaxWidth">Image2dMaxWidth</a><a href="#variant.Image2dMaxHeight">Image2dMaxHeight</a><a href="#variant.Image3dMaxWidth">Image3dMaxWidth</a><a href="#variant.Image3dMaxHeight">Image3dMaxHeight</a><a href="#variant.Image3dMaxDepth">Image3dMaxDepth</a><a href="#variant.ImageSupport">ImageSupport</a><a href="#variant.MaxParameterSize">MaxParameterSize</a><a href="#variant.MaxSamplers">MaxSamplers</a><a href="#variant.MemBaseAddrAlign">MemBaseAddrAlign</a><a href="#variant.MinDataTypeAlignSize">MinDataTypeAlignSize</a><a href="#variant.SingleFpConfig">SingleFpConfig</a><a href="#variant.GlobalMemCacheType">GlobalMemCacheType</a><a href="#variant.GlobalMemCachelineSize">GlobalMemCachelineSize</a><a href="#variant.GlobalMemCacheSize">GlobalMemCacheSize</a><a href="#variant.GlobalMemSize">GlobalMemSize</a><a href="#variant.MaxConstantBufferSize">MaxConstantBufferSize</a><a href="#variant.MaxConstantArgs">MaxConstantArgs</a><a href="#variant.LocalMemType">LocalMemType</a><a href="#variant.LocalMemSize">LocalMemSize</a><a href="#variant.ErrorCorrectionSupport">ErrorCorrectionSupport</a><a href="#variant.ProfilingTimerResolution">ProfilingTimerResolution</a><a href="#variant.EndianLittle">EndianLittle</a><a href="#variant.Available">Available</a><a href="#variant.CompilerAvailable">CompilerAvailable</a><a href="#variant.ExecutionCapabilities">ExecutionCapabilities</a><a href="#variant.QueueProperties">QueueProperties</a><a href="#variant.Name">Name</a><a href="#variant.Vendor">Vendor</a><a href="#variant.DriverVersion">DriverVersion</a><a href="#variant.Profile">Profile</a><a href="#variant.Version">Version</a><a href="#variant.Extensions">Extensions</a><a href="#variant.Platform">Platform</a><a href="#variant.DoubleFpConfig">DoubleFpConfig</a><a href="#variant.HalfFpConfig">HalfFpConfig</a><a href="#variant.PreferredVectorWidthHalf">PreferredVectorWidthHalf</a><a href="#variant.HostUnifiedMemory">HostUnifiedMemory</a><a href="#variant.NativeVectorWidthChar">NativeVectorWidthChar</a><a href="#variant.NativeVectorWidthShort">NativeVectorWidthShort</a><a href="#variant.NativeVectorWidthInt">NativeVectorWidthInt</a><a href="#variant.NativeVectorWidthLong">NativeVectorWidthLong</a><a href="#variant.NativeVectorWidthFloat">NativeVectorWidthFloat</a><a href="#variant.NativeVectorWidthDouble">NativeVectorWidthDouble</a><a href="#variant.NativeVectorWidthHalf">NativeVectorWidthHalf</a><a href="#variant.OpenclCVersion">OpenclCVersion</a><a href="#variant.LinkerAvailable">LinkerAvailable</a><a href="#variant.BuiltInKernels">BuiltInKernels</a><a href="#variant.ImageMaxBufferSize">ImageMaxBufferSize</a><a href="#variant.ImageMaxArraySize">ImageMaxArraySize</a><a href="#variant.ParentDevice">ParentDevice</a><a href="#variant.PartitionMaxSubDevices">PartitionMaxSubDevices</a><a href="#variant.PartitionProperties">PartitionProperties</a><a href="#variant.PartitionAffinityDomain">PartitionAffinityDomain</a><a href="#variant.PartitionType">PartitionType</a><a href="#variant.ReferenceCount">ReferenceCount</a><a href="#variant.PreferredInteropUserSync">PreferredInteropUserSync</a><a href="#variant.PrintfBufferSize">PrintfBufferSize</a><a href="#variant.ImagePitchAlignment">ImagePitchAlignment</a><a href="#variant.ImageBaseAddressAlignment">ImageBaseAddressAlignment</a></div><a class="sidebar-title" href="#methods">Methods</a><div class="sidebar-links"><a href="#method.from_bytes_max_work_item_sizes">from_bytes_max_work_item_sizes</a><a href="#method.from_bytes">from_bytes</a><a href="#method.as_opencl_version">as_opencl_version</a></div><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Display">Display</a><a href="#impl-Debug">Debug</a></div></div><p class='location'><a href='../index.html'>ocl</a>::<wbr><a href='index.html'>enums</a></p><script>window.sidebarCurrent = {name: 'DeviceInfoResult', ty: 'enum', relpath: ''};</script><script defer src="sidebar-items.js"></script></div>
  26. </nav>
  27. <div class="theme-picker">
  28. <button id="theme-picker" aria-label="Pick another theme!">
  29. <img src="../../brush.svg" width="18" alt="Pick another theme!">
  30. </button>
  31. <div id="theme-choices"></div>
  32. </div>
  33. <script src="../../theme.js"></script>
  34. <nav class="sub">
  35. <form class="search-form js-only">
  36. <div class="search-container">
  37. <input class="search-input" name="search"
  38. autocomplete="off"
  39. placeholder="Click or press ‘S’ to search, ‘?’ for more options…"
  40. type="search">
  41. </div>
  42. </form>
  43. </nav>
  44. <section id='main' class="content">
  45. <h1 class='fqn'><span class='in-band'>Enum <a href='../index.html'>ocl</a>::<wbr><a href='index.html'>enums</a>::<wbr><a class="enum" href=''>DeviceInfoResult</a></span><span class='out-of-band'><span id='render-detail'>
  46. <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">
  47. [<span class='inner'>&#x2212;</span>]
  48. </a>
  49. </span><a class='srclink' href='../../src/ocl_core/types/enums.rs.html#234-311' title='goto source code'>[src]</a></span></h1>
  50. <pre class='rust enum'>pub enum DeviceInfoResult {
  51. Type(<a class="struct" href="../../ocl/flags/struct.DeviceType.html" title="struct ocl::flags::DeviceType">DeviceType</a>),
  52. VendorId(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>),
  53. MaxComputeUnits(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>),
  54. MaxWorkItemDimensions(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>),
  55. MaxWorkGroupSize(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>),
  56. MaxWorkItemSizes(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;),
  57. PreferredVectorWidthChar(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>),
  58. PreferredVectorWidthShort(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>),
  59. PreferredVectorWidthInt(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>),
  60. PreferredVectorWidthLong(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>),
  61. PreferredVectorWidthFloat(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>),
  62. PreferredVectorWidthDouble(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>),
  63. MaxClockFrequency(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>),
  64. AddressBits(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>),
  65. MaxReadImageArgs(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>),
  66. MaxWriteImageArgs(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>),
  67. MaxMemAllocSize(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>),
  68. Image2dMaxWidth(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>),
  69. Image2dMaxHeight(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>),
  70. Image3dMaxWidth(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>),
  71. Image3dMaxHeight(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>),
  72. Image3dMaxDepth(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>),
  73. ImageSupport(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>),
  74. MaxParameterSize(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>),
  75. MaxSamplers(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>),
  76. MemBaseAddrAlign(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>),
  77. MinDataTypeAlignSize(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>),
  78. SingleFpConfig(<a class="struct" href="../../ocl/flags/struct.DeviceFpConfig.html" title="struct ocl::flags::DeviceFpConfig">DeviceFpConfig</a>),
  79. GlobalMemCacheType(<a class="enum" href="../../ocl/enums/enum.DeviceMemCacheType.html" title="enum ocl::enums::DeviceMemCacheType">DeviceMemCacheType</a>),
  80. GlobalMemCachelineSize(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>),
  81. GlobalMemCacheSize(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>),
  82. GlobalMemSize(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>),
  83. MaxConstantBufferSize(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>),
  84. MaxConstantArgs(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>),
  85. LocalMemType(<a class="enum" href="../../ocl/enums/enum.DeviceLocalMemType.html" title="enum ocl::enums::DeviceLocalMemType">DeviceLocalMemType</a>),
  86. LocalMemSize(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>),
  87. ErrorCorrectionSupport(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>),
  88. ProfilingTimerResolution(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>),
  89. EndianLittle(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>),
  90. Available(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>),
  91. CompilerAvailable(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>),
  92. ExecutionCapabilities(<a class="struct" href="../../ocl/flags/struct.DeviceExecCapabilities.html" title="struct ocl::flags::DeviceExecCapabilities">DeviceExecCapabilities</a>),
  93. QueueProperties(<a class="struct" href="../../ocl/flags/struct.CommandQueueProperties.html" title="struct ocl::flags::CommandQueueProperties">CommandQueueProperties</a>),
  94. Name(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>),
  95. Vendor(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>),
  96. DriverVersion(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>),
  97. Profile(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>),
  98. Version(<a class="struct" href="../../ocl_core/types/structs/struct.OpenclVersion.html" title="struct ocl_core::types::structs::OpenclVersion">OpenclVersion</a>),
  99. Extensions(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>),
  100. Platform(<a class="struct" href="../../ocl_core/types/abs/struct.PlatformId.html" title="struct ocl_core::types::abs::PlatformId">PlatformId</a>),
  101. DoubleFpConfig(<a class="struct" href="../../ocl/flags/struct.DeviceFpConfig.html" title="struct ocl::flags::DeviceFpConfig">DeviceFpConfig</a>),
  102. HalfFpConfig(<a class="struct" href="../../ocl/flags/struct.DeviceFpConfig.html" title="struct ocl::flags::DeviceFpConfig">DeviceFpConfig</a>),
  103. PreferredVectorWidthHalf(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>),
  104. HostUnifiedMemory(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>),
  105. NativeVectorWidthChar(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>),
  106. NativeVectorWidthShort(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>),
  107. NativeVectorWidthInt(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>),
  108. NativeVectorWidthLong(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>),
  109. NativeVectorWidthFloat(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>),
  110. NativeVectorWidthDouble(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>),
  111. NativeVectorWidthHalf(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>),
  112. OpenclCVersion(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>),
  113. LinkerAvailable(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>),
  114. BuiltInKernels(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>),
  115. ImageMaxBufferSize(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>),
  116. ImageMaxArraySize(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>),
  117. ParentDevice(<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../../ocl_core/types/abs/struct.DeviceId.html" title="struct ocl_core::types::abs::DeviceId">DeviceId</a>&gt;),
  118. PartitionMaxSubDevices(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>),
  119. PartitionProperties(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="enum" href="../../ocl/enums/enum.DevicePartitionProperty.html" title="enum ocl::enums::DevicePartitionProperty">DevicePartitionProperty</a>&gt;),
  120. PartitionAffinityDomain(<a class="struct" href="../../ocl/flags/struct.DeviceAffinityDomain.html" title="struct ocl::flags::DeviceAffinityDomain">DeviceAffinityDomain</a>),
  121. PartitionType(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="enum" href="../../ocl/enums/enum.DevicePartitionProperty.html" title="enum ocl::enums::DevicePartitionProperty">DevicePartitionProperty</a>&gt;),
  122. ReferenceCount(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>),
  123. PreferredInteropUserSync(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>),
  124. PrintfBufferSize(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>),
  125. ImagePitchAlignment(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>),
  126. ImageBaseAddressAlignment(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>),
  127. }</pre><div class='docblock'><p>A device info result.</p>
  128. </div><h2 id='variants' class='variants small-section-header'>
  129. Variants<a href='#variants' class='anchor'></a></h2>
  130. <span id="variant.Type" class="variant small-section-header"><a href="#variant.Type" class="anchor field"></a><span id='Type.v' class='invisible'><code>Type(<a class="struct" href="../../ocl/flags/struct.DeviceType.html" title="struct ocl::flags::DeviceType">DeviceType</a>)</code></span></span><span id="variant.VendorId" class="variant small-section-header"><a href="#variant.VendorId" class="anchor field"></a><span id='VendorId.v' class='invisible'><code>VendorId(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></span></span><span id="variant.MaxComputeUnits" class="variant small-section-header"><a href="#variant.MaxComputeUnits" class="anchor field"></a><span id='MaxComputeUnits.v' class='invisible'><code>MaxComputeUnits(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></span></span><span id="variant.MaxWorkItemDimensions" class="variant small-section-header"><a href="#variant.MaxWorkItemDimensions" class="anchor field"></a><span id='MaxWorkItemDimensions.v' class='invisible'><code>MaxWorkItemDimensions(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></span></span><span id="variant.MaxWorkGroupSize" class="variant small-section-header"><a href="#variant.MaxWorkGroupSize" class="anchor field"></a><span id='MaxWorkGroupSize.v' class='invisible'><code>MaxWorkGroupSize(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>)</code></span></span><span id="variant.MaxWorkItemSizes" class="variant small-section-header"><a href="#variant.MaxWorkItemSizes" class="anchor field"></a><span id='MaxWorkItemSizes.v' class='invisible'><code>MaxWorkItemSizes(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;)</code></span></span><span id="variant.PreferredVectorWidthChar" class="variant small-section-header"><a href="#variant.PreferredVectorWidthChar" class="anchor field"></a><span id='PreferredVectorWidthChar.v' class='invisible'><code>PreferredVectorWidthChar(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></span></span><span id="variant.PreferredVectorWidthShort" class="variant small-section-header"><a href="#variant.PreferredVectorWidthShort" class="anchor field"></a><span id='PreferredVectorWidthShort.v' class='invisible'><code>PreferredVectorWidthShort(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></span></span><span id="variant.PreferredVectorWidthInt" class="variant small-section-header"><a href="#variant.PreferredVectorWidthInt" class="anchor field"></a><span id='PreferredVectorWidthInt.v' class='invisible'><code>PreferredVectorWidthInt(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></span></span><span id="variant.PreferredVectorWidthLong" class="variant small-section-header"><a href="#variant.PreferredVectorWidthLong" class="anchor field"></a><span id='PreferredVectorWidthLong.v' class='invisible'><code>PreferredVectorWidthLong(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></span></span><span id="variant.PreferredVectorWidthFloat" class="variant small-section-header"><a href="#variant.PreferredVectorWidthFloat" class="anchor field"></a><span id='PreferredVectorWidthFloat.v' class='invisible'><code>PreferredVectorWidthFloat(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></span></span><span id="variant.PreferredVectorWidthDouble" class="variant small-section-header"><a href="#variant.PreferredVectorWidthDouble" class="anchor field"></a><span id='PreferredVectorWidthDouble.v' class='invisible'><code>PreferredVectorWidthDouble(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></span></span><span id="variant.MaxClockFrequency" class="variant small-section-header"><a href="#variant.MaxClockFrequency" class="anchor field"></a><span id='MaxClockFrequency.v' class='invisible'><code>MaxClockFrequency(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></span></span><span id="variant.AddressBits" class="variant small-section-header"><a href="#variant.AddressBits" class="anchor field"></a><span id='AddressBits.v' class='invisible'><code>AddressBits(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></span></span><span id="variant.MaxReadImageArgs" class="variant small-section-header"><a href="#variant.MaxReadImageArgs" class="anchor field"></a><span id='MaxReadImageArgs.v' class='invisible'><code>MaxReadImageArgs(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></span></span><span id="variant.MaxWriteImageArgs" class="variant small-section-header"><a href="#variant.MaxWriteImageArgs" class="anchor field"></a><span id='MaxWriteImageArgs.v' class='invisible'><code>MaxWriteImageArgs(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></span></span><span id="variant.MaxMemAllocSize" class="variant small-section-header"><a href="#variant.MaxMemAllocSize" class="anchor field"></a><span id='MaxMemAllocSize.v' class='invisible'><code>MaxMemAllocSize(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>)</code></span></span><span id="variant.Image2dMaxWidth" class="variant small-section-header"><a href="#variant.Image2dMaxWidth" class="anchor field"></a><span id='Image2dMaxWidth.v' class='invisible'><code>Image2dMaxWidth(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>)</code></span></span><span id="variant.Image2dMaxHeight" class="variant small-section-header"><a href="#variant.Image2dMaxHeight" class="anchor field"></a><span id='Image2dMaxHeight.v' class='invisible'><code>Image2dMaxHeight(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>)</code></span></span><span id="variant.Image3dMaxWidth" class="variant small-section-header"><a href="#variant.Image3dMaxWidth" class="anchor field"></a><span id='Image3dMaxWidth.v' class='invisible'><code>Image3dMaxWidth(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>)</code></span></span><span id="variant.Image3dMaxHeight" class="variant small-section-header"><a href="#variant.Image3dMaxHeight" class="anchor field"></a><span id='Image3dMaxHeight.v' class='invisible'><code>Image3dMaxHeight(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>)</code></span></span><span id="variant.Image3dMaxDepth" class="variant small-section-header"><a href="#variant.Image3dMaxDepth" class="anchor field"></a><span id='Image3dMaxDepth.v' class='invisible'><code>Image3dMaxDepth(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>)</code></span></span><span id="variant.ImageSupport" class="variant small-section-header"><a href="#variant.ImageSupport" class="anchor field"></a><span id='ImageSupport.v' class='invisible'><code>ImageSupport(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>)</code></span></span><span id="variant.MaxParameterSize" class="variant small-section-header"><a href="#variant.MaxParameterSize" class="anchor field"></a><span id='MaxParameterSize.v' class='invisible'><code>MaxParameterSize(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>)</code></span></span><span id="variant.MaxSamplers" class="variant small-section-header"><a href="#variant.MaxSamplers" class="anchor field"></a><span id='MaxSamplers.v' class='invisible'><code>MaxSamplers(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></span></span><span id="variant.MemBaseAddrAlign" class="variant small-section-header"><a href="#variant.MemBaseAddrAlign" class="anchor field"></a><span id='MemBaseAddrAlign.v' class='invisible'><code>MemBaseAddrAlign(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></span></span><span id="variant.MinDataTypeAlignSize" class="variant small-section-header"><a href="#variant.MinDataTypeAlignSize" class="anchor field"></a><span id='MinDataTypeAlignSize.v' class='invisible'><code>MinDataTypeAlignSize(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></span></span><span id="variant.SingleFpConfig" class="variant small-section-header"><a href="#variant.SingleFpConfig" class="anchor field"></a><span id='SingleFpConfig.v' class='invisible'><code>SingleFpConfig(<a class="struct" href="../../ocl/flags/struct.DeviceFpConfig.html" title="struct ocl::flags::DeviceFpConfig">DeviceFpConfig</a>)</code></span></span><span id="variant.GlobalMemCacheType" class="variant small-section-header"><a href="#variant.GlobalMemCacheType" class="anchor field"></a><span id='GlobalMemCacheType.v' class='invisible'><code>GlobalMemCacheType(<a class="enum" href="../../ocl/enums/enum.DeviceMemCacheType.html" title="enum ocl::enums::DeviceMemCacheType">DeviceMemCacheType</a>)</code></span></span><span id="variant.GlobalMemCachelineSize" class="variant small-section-header"><a href="#variant.GlobalMemCachelineSize" class="anchor field"></a><span id='GlobalMemCachelineSize.v' class='invisible'><code>GlobalMemCachelineSize(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></span></span><span id="variant.GlobalMemCacheSize" class="variant small-section-header"><a href="#variant.GlobalMemCacheSize" class="anchor field"></a><span id='GlobalMemCacheSize.v' class='invisible'><code>GlobalMemCacheSize(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>)</code></span></span><span id="variant.GlobalMemSize" class="variant small-section-header"><a href="#variant.GlobalMemSize" class="anchor field"></a><span id='GlobalMemSize.v' class='invisible'><code>GlobalMemSize(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>)</code></span></span><span id="variant.MaxConstantBufferSize" class="variant small-section-header"><a href="#variant.MaxConstantBufferSize" class="anchor field"></a><span id='MaxConstantBufferSize.v' class='invisible'><code>MaxConstantBufferSize(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>)</code></span></span><span id="variant.MaxConstantArgs" class="variant small-section-header"><a href="#variant.MaxConstantArgs" class="anchor field"></a><span id='MaxConstantArgs.v' class='invisible'><code>MaxConstantArgs(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></span></span><span id="variant.LocalMemType" class="variant small-section-header"><a href="#variant.LocalMemType" class="anchor field"></a><span id='LocalMemType.v' class='invisible'><code>LocalMemType(<a class="enum" href="../../ocl/enums/enum.DeviceLocalMemType.html" title="enum ocl::enums::DeviceLocalMemType">DeviceLocalMemType</a>)</code></span></span><span id="variant.LocalMemSize" class="variant small-section-header"><a href="#variant.LocalMemSize" class="anchor field"></a><span id='LocalMemSize.v' class='invisible'><code>LocalMemSize(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>)</code></span></span><span id="variant.ErrorCorrectionSupport" class="variant small-section-header"><a href="#variant.ErrorCorrectionSupport" class="anchor field"></a><span id='ErrorCorrectionSupport.v' class='invisible'><code>ErrorCorrectionSupport(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>)</code></span></span><span id="variant.ProfilingTimerResolution" class="variant small-section-header"><a href="#variant.ProfilingTimerResolution" class="anchor field"></a><span id='ProfilingTimerResolution.v' class='invisible'><code>ProfilingTimerResolution(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>)</code></span></span><span id="variant.EndianLittle" class="variant small-section-header"><a href="#variant.EndianLittle" class="anchor field"></a><span id='EndianLittle.v' class='invisible'><code>EndianLittle(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>)</code></span></span><span id="variant.Available" class="variant small-section-header"><a href="#variant.Available" class="anchor field"></a><span id='Available.v' class='invisible'><code>Available(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>)</code></span></span><span id="variant.CompilerAvailable" class="variant small-section-header"><a href="#variant.CompilerAvailable" class="anchor field"></a><span id='CompilerAvailable.v' class='invisible'><code>CompilerAvailable(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>)</code></span></span><span id="variant.ExecutionCapabilities" class="variant small-section-header"><a href="#variant.ExecutionCapabilities" class="anchor field"></a><span id='ExecutionCapabilities.v' class='invisible'><code>ExecutionCapabilities(<a class="struct" href="../../ocl/flags/struct.DeviceExecCapabilities.html" title="struct ocl::flags::DeviceExecCapabilities">DeviceExecCapabilities</a>)</code></span></span><span id="variant.QueueProperties" class="variant small-section-header"><a href="#variant.QueueProperties" class="anchor field"></a><span id='QueueProperties.v' class='invisible'><code>QueueProperties(<a class="struct" href="../../ocl/flags/struct.CommandQueueProperties.html" title="struct ocl::flags::CommandQueueProperties">CommandQueueProperties</a>)</code></span></span><span id="variant.Name" class="variant small-section-header"><a href="#variant.Name" class="anchor field"></a><span id='Name.v' class='invisible'><code>Name(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)</code></span></span><span id="variant.Vendor" class="variant small-section-header"><a href="#variant.Vendor" class="anchor field"></a><span id='Vendor.v' class='invisible'><code>Vendor(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)</code></span></span><span id="variant.DriverVersion" class="variant small-section-header"><a href="#variant.DriverVersion" class="anchor field"></a><span id='DriverVersion.v' class='invisible'><code>DriverVersion(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)</code></span></span><span id="variant.Profile" class="variant small-section-header"><a href="#variant.Profile" class="anchor field"></a><span id='Profile.v' class='invisible'><code>Profile(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)</code></span></span><span id="variant.Version" class="variant small-section-header"><a href="#variant.Version" class="anchor field"></a><span id='Version.v' class='invisible'><code>Version(<a class="struct" href="../../ocl_core/types/structs/struct.OpenclVersion.html" title="struct ocl_core::types::structs::OpenclVersion">OpenclVersion</a>)</code></span></span><span id="variant.Extensions" class="variant small-section-header"><a href="#variant.Extensions" class="anchor field"></a><span id='Extensions.v' class='invisible'><code>Extensions(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)</code></span></span><span id="variant.Platform" class="variant small-section-header"><a href="#variant.Platform" class="anchor field"></a><span id='Platform.v' class='invisible'><code>Platform(<a class="struct" href="../../ocl_core/types/abs/struct.PlatformId.html" title="struct ocl_core::types::abs::PlatformId">PlatformId</a>)</code></span></span><span id="variant.DoubleFpConfig" class="variant small-section-header"><a href="#variant.DoubleFpConfig" class="anchor field"></a><span id='DoubleFpConfig.v' class='invisible'><code>DoubleFpConfig(<a class="struct" href="../../ocl/flags/struct.DeviceFpConfig.html" title="struct ocl::flags::DeviceFpConfig">DeviceFpConfig</a>)</code></span></span><span id="variant.HalfFpConfig" class="variant small-section-header"><a href="#variant.HalfFpConfig" class="anchor field"></a><span id='HalfFpConfig.v' class='invisible'><code>HalfFpConfig(<a class="struct" href="../../ocl/flags/struct.DeviceFpConfig.html" title="struct ocl::flags::DeviceFpConfig">DeviceFpConfig</a>)</code></span></span><span id="variant.PreferredVectorWidthHalf" class="variant small-section-header"><a href="#variant.PreferredVectorWidthHalf" class="anchor field"></a><span id='PreferredVectorWidthHalf.v' class='invisible'><code>PreferredVectorWidthHalf(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></span></span><span id="variant.HostUnifiedMemory" class="variant small-section-header"><a href="#variant.HostUnifiedMemory" class="anchor field"></a><span id='HostUnifiedMemory.v' class='invisible'><code>HostUnifiedMemory(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>)</code></span></span><span id="variant.NativeVectorWidthChar" class="variant small-section-header"><a href="#variant.NativeVectorWidthChar" class="anchor field"></a><span id='NativeVectorWidthChar.v' class='invisible'><code>NativeVectorWidthChar(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></span></span><span id="variant.NativeVectorWidthShort" class="variant small-section-header"><a href="#variant.NativeVectorWidthShort" class="anchor field"></a><span id='NativeVectorWidthShort.v' class='invisible'><code>NativeVectorWidthShort(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></span></span><span id="variant.NativeVectorWidthInt" class="variant small-section-header"><a href="#variant.NativeVectorWidthInt" class="anchor field"></a><span id='NativeVectorWidthInt.v' class='invisible'><code>NativeVectorWidthInt(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></span></span><span id="variant.NativeVectorWidthLong" class="variant small-section-header"><a href="#variant.NativeVectorWidthLong" class="anchor field"></a><span id='NativeVectorWidthLong.v' class='invisible'><code>NativeVectorWidthLong(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></span></span><span id="variant.NativeVectorWidthFloat" class="variant small-section-header"><a href="#variant.NativeVectorWidthFloat" class="anchor field"></a><span id='NativeVectorWidthFloat.v' class='invisible'><code>NativeVectorWidthFloat(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></span></span><span id="variant.NativeVectorWidthDouble" class="variant small-section-header"><a href="#variant.NativeVectorWidthDouble" class="anchor field"></a><span id='NativeVectorWidthDouble.v' class='invisible'><code>NativeVectorWidthDouble(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></span></span><span id="variant.NativeVectorWidthHalf" class="variant small-section-header"><a href="#variant.NativeVectorWidthHalf" class="anchor field"></a><span id='NativeVectorWidthHalf.v' class='invisible'><code>NativeVectorWidthHalf(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></span></span><span id="variant.OpenclCVersion" class="variant small-section-header"><a href="#variant.OpenclCVersion" class="anchor field"></a><span id='OpenclCVersion.v' class='invisible'><code>OpenclCVersion(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)</code></span></span><span id="variant.LinkerAvailable" class="variant small-section-header"><a href="#variant.LinkerAvailable" class="anchor field"></a><span id='LinkerAvailable.v' class='invisible'><code>LinkerAvailable(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>)</code></span></span><span id="variant.BuiltInKernels" class="variant small-section-header"><a href="#variant.BuiltInKernels" class="anchor field"></a><span id='BuiltInKernels.v' class='invisible'><code>BuiltInKernels(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>)</code></span></span><span id="variant.ImageMaxBufferSize" class="variant small-section-header"><a href="#variant.ImageMaxBufferSize" class="anchor field"></a><span id='ImageMaxBufferSize.v' class='invisible'><code>ImageMaxBufferSize(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>)</code></span></span><span id="variant.ImageMaxArraySize" class="variant small-section-header"><a href="#variant.ImageMaxArraySize" class="anchor field"></a><span id='ImageMaxArraySize.v' class='invisible'><code>ImageMaxArraySize(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>)</code></span></span><span id="variant.ParentDevice" class="variant small-section-header"><a href="#variant.ParentDevice" class="anchor field"></a><span id='ParentDevice.v' class='invisible'><code>ParentDevice(<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../../ocl_core/types/abs/struct.DeviceId.html" title="struct ocl_core::types::abs::DeviceId">DeviceId</a>&gt;)</code></span></span><span id="variant.PartitionMaxSubDevices" class="variant small-section-header"><a href="#variant.PartitionMaxSubDevices" class="anchor field"></a><span id='PartitionMaxSubDevices.v' class='invisible'><code>PartitionMaxSubDevices(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></span></span><span id="variant.PartitionProperties" class="variant small-section-header"><a href="#variant.PartitionProperties" class="anchor field"></a><span id='PartitionProperties.v' class='invisible'><code>PartitionProperties(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="enum" href="../../ocl/enums/enum.DevicePartitionProperty.html" title="enum ocl::enums::DevicePartitionProperty">DevicePartitionProperty</a>&gt;)</code></span></span><span id="variant.PartitionAffinityDomain" class="variant small-section-header"><a href="#variant.PartitionAffinityDomain" class="anchor field"></a><span id='PartitionAffinityDomain.v' class='invisible'><code>PartitionAffinityDomain(<a class="struct" href="../../ocl/flags/struct.DeviceAffinityDomain.html" title="struct ocl::flags::DeviceAffinityDomain">DeviceAffinityDomain</a>)</code></span></span><span id="variant.PartitionType" class="variant small-section-header"><a href="#variant.PartitionType" class="anchor field"></a><span id='PartitionType.v' class='invisible'><code>PartitionType(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="enum" href="../../ocl/enums/enum.DevicePartitionProperty.html" title="enum ocl::enums::DevicePartitionProperty">DevicePartitionProperty</a>&gt;)</code></span></span><span id="variant.ReferenceCount" class="variant small-section-header"><a href="#variant.ReferenceCount" class="anchor field"></a><span id='ReferenceCount.v' class='invisible'><code>ReferenceCount(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></span></span><span id="variant.PreferredInteropUserSync" class="variant small-section-header"><a href="#variant.PreferredInteropUserSync" class="anchor field"></a><span id='PreferredInteropUserSync.v' class='invisible'><code>PreferredInteropUserSync(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>)</code></span></span><span id="variant.PrintfBufferSize" class="variant small-section-header"><a href="#variant.PrintfBufferSize" class="anchor field"></a><span id='PrintfBufferSize.v' class='invisible'><code>PrintfBufferSize(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>)</code></span></span><span id="variant.ImagePitchAlignment" class="variant small-section-header"><a href="#variant.ImagePitchAlignment" class="anchor field"></a><span id='ImagePitchAlignment.v' class='invisible'><code>ImagePitchAlignment(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></span></span><span id="variant.ImageBaseAddressAlignment" class="variant small-section-header"><a href="#variant.ImageBaseAddressAlignment" class="anchor field"></a><span id='ImageBaseAddressAlignment.v' class='invisible'><code>ImageBaseAddressAlignment(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>)</code></span></span>
  131. <h2 id='methods' class='small-section-header'>
  132. Methods<a href='#methods' class='anchor'></a>
  133. </h2>
  134. <h3 id='impl' class='impl'><span class='in-band'><code>impl <a class="enum" href="../../ocl/enums/enum.DeviceInfoResult.html" title="enum ocl::enums::DeviceInfoResult">DeviceInfoResult</a></code><a href='#impl' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/ocl_core/types/enums.rs.html#313-723' title='goto source code'>[src]</a></span></h3>
  135. <div class='impl-items'><h4 id='method.from_bytes_max_work_item_sizes' class="method"><span id='from_bytes_max_work_item_sizes.v' class='invisible'><code>pub fn <a href='#method.from_bytes_max_work_item_sizes' class='fnname'>from_bytes_max_work_item_sizes</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;request: <a class="enum" href="../../ocl/enums/enum.DeviceInfo.html" title="enum ocl::enums::DeviceInfo">DeviceInfo</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;result: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;max_wi_dims: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="../../ocl/enums/enum.DeviceInfoResult.html" title="enum ocl::enums::DeviceInfoResult">DeviceInfoResult</a>, <a class="struct" href="../../ocl_core/error/struct.Error.html" title="struct ocl_core::error::Error">Error</a>&gt;</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/ocl_core/types/enums.rs.html#315-348' title='goto source code'>[src]</a></span></h4>
  136. <div class='docblock'><p>Returns a new <code>DeviceInfoResult::MaxWorkItemSizes</code> variant.</p>
  137. </div><h4 id='method.from_bytes' class="method"><span id='from_bytes.v' class='invisible'><code>pub fn <a href='#method.from_bytes' class='fnname'>from_bytes</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;request: <a class="enum" href="../../ocl/enums/enum.DeviceInfo.html" title="enum ocl::enums::DeviceInfo">DeviceInfo</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;result: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="../../ocl/enums/enum.DeviceInfoResult.html" title="enum ocl::enums::DeviceInfoResult">DeviceInfoResult</a>, <a class="struct" href="../../ocl_core/error/struct.Error.html" title="struct ocl_core::error::Error">Error</a>&gt;</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/ocl_core/types/enums.rs.html#351-711' title='goto source code'>[src]</a></span></h4>
  138. <div class='docblock'><p>Returns a new <code>DeviceInfoResult</code> for all variants except <code>MaxWorkItemSizes</code>.</p>
  139. </div><h4 id='method.as_opencl_version' class="method"><span id='as_opencl_version.v' class='invisible'><code>pub fn <a href='#method.as_opencl_version' class='fnname'>as_opencl_version</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../ocl_core/types/structs/struct.OpenclVersion.html" title="struct ocl_core::types::structs::OpenclVersion">OpenclVersion</a>, <a class="struct" href="../../ocl_core/error/struct.Error.html" title="struct ocl_core::error::Error">Error</a>&gt;</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/ocl_core/types/enums.rs.html#714-722' title='goto source code'>[src]</a></span></h4>
  140. <div class='docblock'><p>Parse the <code>Version</code> string and get a numeric result as <code>OpenclVersion</code>.</p>
  141. </div></div>
  142. <h2 id='implementations' class='small-section-header'>
  143. Trait Implementations<a href='#implementations' class='anchor'></a>
  144. </h2>
  145. <h3 id='impl-Display' class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> for <a class="enum" href="../../ocl/enums/enum.DeviceInfoResult.html" title="enum ocl::enums::DeviceInfoResult">DeviceInfoResult</a></code><a href='#impl-Display' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/ocl_core/types/enums.rs.html#731-812' title='goto source code'>[src]</a></span></h3>
  146. <div class='impl-items'><h4 id='method.fmt' class="method"><span id='fmt.v' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt' class='fnname'>fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>&gt;</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/ocl_core/types/enums.rs.html#732-811' title='goto source code'>[src]</a></span></h4>
  147. <div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt">Read more</a></p>
  148. </div></div><h3 id='impl-Debug' class='impl'><span class='in-band'><code>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="enum" href="../../ocl/enums/enum.DeviceInfoResult.html" title="enum ocl::enums::DeviceInfoResult">DeviceInfoResult</a></code><a href='#impl-Debug' class='anchor'></a></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/ocl_core/types/enums.rs.html#725-729' title='goto source code'>[src]</a></span></h3>
  149. <div class='impl-items'><h4 id='method.fmt-1' class="method"><span id='fmt.v-1' class='invisible'><code>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Error.html" title="struct core::fmt::Error">Error</a>&gt;</code></span><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../../src/ocl_core/types/enums.rs.html#726-728' title='goto source code'>[src]</a></span></h4>
  150. <div class='docblock'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
  151. </div></div></section>
  152. <section id='search' class="content hidden"></section>
  153. <section class="footer"></section>
  154. <aside id="help" class="hidden">
  155. <div>
  156. <h1 class="hidden">Help</h1>
  157. <div class="shortcuts">
  158. <h2>Keyboard Shortcuts</h2>
  159. <dl>
  160. <dt><kbd>?</kbd></dt>
  161. <dd>Show this help dialog</dd>
  162. <dt><kbd>S</kbd></dt>
  163. <dd>Focus the search field</dd>
  164. <dt><kbd>↑</kbd></dt>
  165. <dd>Move up in search results</dd>
  166. <dt><kbd>↓</kbd></dt>
  167. <dd>Move down in search results</dd>
  168. <dt><kbd>↹</kbd></dt>
  169. <dd>Switch tab</dd>
  170. <dt><kbd>&#9166;</kbd></dt>
  171. <dd>Go to active search result</dd>
  172. <dt><kbd>+</kbd></dt>
  173. <dd>Expand all sections</dd>
  174. <dt><kbd>-</kbd></dt>
  175. <dd>Collapse all sections</dd>
  176. </dl>
  177. </div>
  178. <div class="infos">
  179. <h2>Search Tricks</h2>
  180. <p>
  181. Prefix searches with a type followed by a colon (e.g.
  182. <code>fn:</code>) to restrict the search to a given type.
  183. </p>
  184. <p>
  185. Accepted types are: <code>fn</code>, <code>mod</code>,
  186. <code>struct</code>, <code>enum</code>,
  187. <code>trait</code>, <code>type</code>, <code>macro</code>,
  188. and <code>const</code>.
  189. </p>
  190. <p>
  191. Search functions by type signature (e.g.
  192. <code>vec -> usize</code> or <code>* -> vec</code>)
  193. </p>
  194. </div>
  195. </div>
  196. </aside>
  197. <script>
  198. window.rootPath = "../../";
  199. window.currentCrate = "ocl";
  200. </script>
  201. <script src="../../main.js"></script>
  202. <script defer src="../../search-index.js"></script>
  203. </body>
  204. </html>