index.html 131 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251
  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 `ocl_core` crate.">
  8. <meta name="keywords" content="rust, rustlang, rust-lang, ocl_core">
  9. <title>ocl_core - 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 mod">
  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'>Crate ocl_core</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#reexports">Re-exports</a></li><li><a href="#modules">Modules</a></li><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#constants">Constants</a></li><li><a href="#traits">Traits</a></li><li><a href="#functions">Functions</a></li><li><a href="#types">Type Definitions</a></li></ul></div><p class='location'></p><script>window.sidebarCurrent = {name: 'ocl_core', ty: 'mod', relpath: '../'};</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'>Crate <a class="mod" href=''>ocl_core</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/lib.rs.html#3-1334' title='goto source code'>[src]</a></span></h1>
  50. <div class='docblock'><p>Thin wrappers for the <code>OpenCL</code> FFI functions and types.</p>
  51. <p>Allows access to <code>OpenCL</code> FFI functions with a minimal layer of zero-cost
  52. abstraction, providing, safety, performance, and convenience. The <a href="https://github.com/cogciprocate/ocl"><code>ocl</code></a>
  53. crate contains higher level and easier to use interfaces to the
  54. functionality contained within.</p>
  55. <h2 id="even-lower-level-cl-sys" class="section-header"><a href="#even-lower-level-cl-sys">Even Lower Level: <a href="https://github.com/cogciprocate/cl-sys"><code>cl-sys</code></a></a></h2>
  56. <p>If there's still something missing or for some reason you need direct FFI
  57. access, use the functions in the <a href="https://github.com/cogciprocate/cl-sys"><code>cl-sys</code></a> module. The pointers used by
  58. <a href="https://github.com/cogciprocate/cl-sys"><code>cl-sys</code></a> functions can be wrapped in <a href="https://github.com/cogciprocate/ocl-core"><code>ocl-core</code></a> wrappers
  59. (<code>ocl_core::PlatformId</code>, <code>ocl_core::Context</code>, etc.) and passed to
  60. <a href="https://github.com/cogciprocate/ocl-core"><code>ocl-core</code></a> module functions. Likewise the other way around (using, for
  61. example: [<code>EventRaw::as_ptr</code>]).</p>
  62. <h2 id="performance" class="section-header"><a href="#performance">Performance</a></h2>
  63. <p>Performance between all three interface layers, <a href="https://github.com/cogciprocate/cl-sys"><code>cl-sys</code></a>, <a href="https://github.com/cogciprocate/ocl-core"><code>ocl-core</code></a>,
  64. and the 'standard' (<a href="https://github.com/cogciprocate/ocl"><code>ocl</code></a>) types, is identical or virtually identical
  65. (if not, please file an issue).</p>
  66. <h2 id="safety" class="section-header"><a href="#safety">Safety</a></h2>
  67. <p>Running any kernel at all is inherently unsafe. The guarantee we aim to
  68. make in this library is that if there is a segfault or invalid memory
  69. access, the fault lies within the kernel. No effort is or will be made to
  70. verify or sanitize kernels. Consider all kernels within user-supplied
  71. programs just as if you would an <code>unsafe fn</code>.</p>
  72. <h2 id="length-vs-size" class="section-header"><a href="#length-vs-size">Length vs Size</a></h2>
  73. <p>No, not that...</p>
  74. <p>Quantifiers passed to functions in the <code>OpenCL</code> API are generally
  75. expressed in bytes. Units passed to functions in <em>this</em> library are
  76. expected to be <code>bytes / sizeof(T)</code> (corresponding with units returned by
  77. the ubiquitous <code>.len()</code> method). The suffix '_size' or '_bytes' is
  78. generally used when a parameter deviates from this convention.</p>
  79. <h2 id="version-control" class="section-header"><a href="#version-control">Version Control</a></h2>
  80. <p>The version control system is in place to ensure that you don't call
  81. functions that your hardware/driver does not support.</p>
  82. <p>Functions in this crate with the <code>[Version Controlled: OpenCL {...}+]</code> tag
  83. in the description require an additional parameter, <code>device_version</code> or
  84. <code>device_versions</code>: a parsed result (or slice of results) of
  85. <code>DeviceInfo::Version</code>. This is a runtime check to ensure that the device
  86. supports the function being called. Calling a function which a particular
  87. device does not support will likely cause a segmentation fault and
  88. possibly data corruption.</p>
  89. <p>Saving the <code>OpenclVersion</code> returned from <code>device_version()</code> for your
  90. device(s) at the start of your program and passing it each time you call
  91. a version controlled function is the fastest and safest method (see the
  92. <code>ocl</code> library for an example). The cost of this check is little more than
  93. a single <code>if</code> statement.</p>
  94. <p>Passing <code>None</code> for <code>device_version</code> will cause an automated version check
  95. which has a small cost (calling info function, parsing the version number
  96. etc.) but is a safe option if you are not sure what to do.</p>
  97. <p>Passing the result of a call to <code>OpenclVersion::max()</code> or passing a fake
  98. version will bypass any safety checks and has all of the risks described
  99. above. Only do this if you're absolutely sure you know what you're doing
  100. and are not concerned about segfaults and data integrity.</p>
  101. <h2 id="more-documentation" class="section-header"><a href="#more-documentation">More Documentation</a></h2>
  102. <p>As most of the functions here are minimally documented, please refer to
  103. the official <code>OpenCL</code> documentation linked below. Although there isn't a
  104. precise 1:1 parameter mapping between the <code>core</code> and original functions,
  105. it's close enough (modulo the size/len difference discussed above) to help
  106. sort out any questions you may have until a more thorough documentation
  107. pass can be made. View the source code in <a href="/ocl-core/src/ocl-core/src/types/functions.rs.html"><code>src/types/functions.rs</code></a> for
  108. more mapping details.</p>
  109. <p><a href="https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/">'OpenCL' 1.2 SDK Reference: https://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/</a></p>
  110. </div><h2 id='reexports' class='section-header'><a href="#reexports">Re-exports</a></h2>
  111. <table><tr><td><code>pub extern crate <a class="mod" href="../cl_sys/index.html" title="mod cl_sys">cl_sys</a> as ffi;</code></td></tr><tr><td><code>pub use self::error::<a class="struct" href="../ocl_core/error/struct.Error.html" title="struct ocl_core::error::Error">Error</a>;</code></td></tr><tr><td><code>pub use self::error::<a class="type" href="../ocl_core/error/type.Result.html" title="type ocl_core::error::Result">Result</a>;</code></td></tr><tr><td><code>pub use self::error::<a class="enum" href="../ocl_core/error/enum.ErrorKind.html" title="enum ocl_core::error::ErrorKind">ErrorKind</a>;</code></td></tr><tr><td><code>pub use self::types::abs::<a class="trait" href="../ocl_core/types/abs/trait.ClWaitListPtr.html" title="trait ocl_core::types::abs::ClWaitListPtr">ClWaitListPtr</a>;</code></td></tr><tr><td><code>pub use self::types::abs::<a class="trait" href="../ocl_core/types/abs/trait.ClNullEventPtr.html" title="trait ocl_core::types::abs::ClNullEventPtr">ClNullEventPtr</a>;</code></td></tr><tr><td><code>pub use self::types::abs::<a class="trait" href="../ocl_core/types/abs/trait.ClEventPtrRef.html" title="trait ocl_core::types::abs::ClEventPtrRef">ClEventPtrRef</a>;</code></td></tr><tr><td><code>pub use self::types::abs::<a class="trait" href="../ocl_core/types/abs/trait.ClPlatformIdPtr.html" title="trait ocl_core::types::abs::ClPlatformIdPtr">ClPlatformIdPtr</a>;</code></td></tr><tr><td><code>pub use self::types::abs::<a class="trait" href="../ocl_core/types/abs/trait.ClDeviceIdPtr.html" title="trait ocl_core::types::abs::ClDeviceIdPtr">ClDeviceIdPtr</a>;</code></td></tr><tr><td><code>pub use self::types::abs::<a class="trait" href="../ocl_core/types/abs/trait.ClContextPtr.html" title="trait ocl_core::types::abs::ClContextPtr">ClContextPtr</a>;</code></td></tr><tr><td><code>pub use self::types::abs::<a class="struct" href="../ocl_core/types/abs/struct.EventRefWrapper.html" title="struct ocl_core::types::abs::EventRefWrapper">EventRefWrapper</a>;</code></td></tr><tr><td><code>pub use self::types::abs::<a class="struct" href="../ocl_core/types/abs/struct.PlatformId.html" title="struct ocl_core::types::abs::PlatformId">PlatformId</a>;</code></td></tr><tr><td><code>pub use self::types::abs::<a class="struct" href="../ocl_core/types/abs/struct.DeviceId.html" title="struct ocl_core::types::abs::DeviceId">DeviceId</a>;</code></td></tr><tr><td><code>pub use self::types::abs::<a class="struct" href="../ocl_core/types/abs/struct.Context.html" title="struct ocl_core::types::abs::Context">Context</a>;</code></td></tr><tr><td><code>pub use self::types::abs::<a class="struct" href="../ocl_core/types/abs/struct.CommandQueue.html" title="struct ocl_core::types::abs::CommandQueue">CommandQueue</a>;</code></td></tr><tr><td><code>pub use self::types::abs::<a class="struct" href="../ocl_core/types/abs/struct.Mem.html" title="struct ocl_core::types::abs::Mem">Mem</a>;</code></td></tr><tr><td><code>pub use self::types::abs::<a class="struct" href="../ocl_core/types/abs/struct.Program.html" title="struct ocl_core::types::abs::Program">Program</a>;</code></td></tr><tr><td><code>pub use self::types::abs::<a class="struct" href="../ocl_core/types/abs/struct.Kernel.html" title="struct ocl_core::types::abs::Kernel">Kernel</a>;</code></td></tr><tr><td><code>pub use self::types::abs::<a class="struct" href="../ocl_core/types/abs/struct.Event.html" title="struct ocl_core::types::abs::Event">Event</a>;</code></td></tr><tr><td><code>pub use self::types::abs::<a class="struct" href="../ocl_core/types/abs/struct.Sampler.html" title="struct ocl_core::types::abs::Sampler">Sampler</a>;</code></td></tr><tr><td><code>pub use self::types::abs::<a class="trait" href="../ocl_core/types/abs/trait.ClVersions.html" title="trait ocl_core::types::abs::ClVersions">ClVersions</a>;</code></td></tr><tr><td><code>pub use self::types::abs::<a class="trait" href="../ocl_core/types/abs/trait.AsMem.html" title="trait ocl_core::types::abs::AsMem">AsMem</a>;</code></td></tr><tr><td><code>pub use self::types::abs::<a class="trait" href="../ocl_core/types/abs/trait.MemCmdRw.html" title="trait ocl_core::types::abs::MemCmdRw">MemCmdRw</a>;</code></td></tr><tr><td><code>pub use self::types::abs::<a class="trait" href="../ocl_core/types/abs/trait.MemCmdAll.html" title="trait ocl_core::types::abs::MemCmdAll">MemCmdAll</a>;</code></td></tr><tr><td><code>pub use self::types::abs::<a class="struct" href="../ocl_core/types/abs/struct.MemMap.html" title="struct ocl_core::types::abs::MemMap">MemMap</a>;</code></td></tr><tr><td><code>pub use self::types::<a class="mod" href="../ocl_core/types/structs/index.html" title="mod ocl_core::types::structs">structs</a>;</code></td></tr><tr><td><code>pub use self::types::structs::<a class="struct" href="../ocl_core/types/structs/struct.OpenclVersion.html" title="struct ocl_core::types::structs::OpenclVersion">OpenclVersion</a>;</code></td></tr><tr><td><code>pub use self::types::structs::<a class="struct" href="../ocl_core/types/structs/struct.ContextProperties.html" title="struct ocl_core::types::structs::ContextProperties">ContextProperties</a>;</code></td></tr><tr><td><code>pub use self::types::structs::<a class="enum" href="../ocl_core/types/structs/enum.ImageFormatParseError.html" title="enum ocl_core::types::structs::ImageFormatParseError">ImageFormatParseError</a>;</code></td></tr><tr><td><code>pub use self::types::structs::<a class="type" href="../ocl_core/types/structs/type.ImageFormatParseResult.html" title="type ocl_core::types::structs::ImageFormatParseResult">ImageFormatParseResult</a>;</code></td></tr><tr><td><code>pub use self::types::structs::<a class="struct" href="../ocl_core/types/structs/struct.ImageFormat.html" title="struct ocl_core::types::structs::ImageFormat">ImageFormat</a>;</code></td></tr><tr><td><code>pub use self::types::structs::<a class="struct" href="../ocl_core/types/structs/struct.ImageDescriptor.html" title="struct ocl_core::types::structs::ImageDescriptor">ImageDescriptor</a>;</code></td></tr><tr><td><code>pub use self::types::structs::<a class="struct" href="../ocl_core/types/structs/struct.BufferRegion.html" title="struct ocl_core::types::structs::BufferRegion">BufferRegion</a>;</code></td></tr><tr><td><code>pub use self::types::structs::<a class="enum" href="../ocl_core/types/structs/enum.ContextPropertyValue.html" title="enum ocl_core::types::structs::ContextPropertyValue">ContextPropertyValue</a>;</code></td></tr><tr><td><code>pub use self::types::structs::<a class="struct" href="../ocl_core/types/structs/struct.ArgVal.html" title="struct ocl_core::types::structs::ArgVal">ArgVal</a>;</code></td></tr><tr><td><code>pub use self::types::enums::<a class="enum" href="../ocl_core/types/enums/enum.EmptyInfoResultError.html" title="enum ocl_core::types::enums::EmptyInfoResultError">EmptyInfoResultError</a>;</code></td></tr><tr><td><code>pub use self::types::enums::<a class="enum" href="../ocl_core/types/enums/enum.PlatformInfoResult.html" title="enum ocl_core::types::enums::PlatformInfoResult">PlatformInfoResult</a>;</code></td></tr><tr><td><code>pub use self::types::enums::<a class="enum" href="../ocl_core/types/enums/enum.DeviceInfoResult.html" title="enum ocl_core::types::enums::DeviceInfoResult">DeviceInfoResult</a>;</code></td></tr><tr><td><code>pub use self::types::enums::<a class="enum" href="../ocl_core/types/enums/enum.ContextInfoResult.html" title="enum ocl_core::types::enums::ContextInfoResult">ContextInfoResult</a>;</code></td></tr><tr><td><code>pub use self::types::enums::<a class="enum" href="../ocl_core/types/enums/enum.GlContextInfoResult.html" title="enum ocl_core::types::enums::GlContextInfoResult">GlContextInfoResult</a>;</code></td></tr><tr><td><code>pub use self::types::enums::<a class="enum" href="../ocl_core/types/enums/enum.CommandQueueInfoResult.html" title="enum ocl_core::types::enums::CommandQueueInfoResult">CommandQueueInfoResult</a>;</code></td></tr><tr><td><code>pub use self::types::enums::<a class="enum" href="../ocl_core/types/enums/enum.MemInfoResult.html" title="enum ocl_core::types::enums::MemInfoResult">MemInfoResult</a>;</code></td></tr><tr><td><code>pub use self::types::enums::<a class="enum" href="../ocl_core/types/enums/enum.ImageInfoResult.html" title="enum ocl_core::types::enums::ImageInfoResult">ImageInfoResult</a>;</code></td></tr><tr><td><code>pub use self::types::enums::<a class="enum" href="../ocl_core/types/enums/enum.SamplerInfoResult.html" title="enum ocl_core::types::enums::SamplerInfoResult">SamplerInfoResult</a>;</code></td></tr><tr><td><code>pub use self::types::enums::<a class="enum" href="../ocl_core/types/enums/enum.ProgramInfoResult.html" title="enum ocl_core::types::enums::ProgramInfoResult">ProgramInfoResult</a>;</code></td></tr><tr><td><code>pub use self::types::enums::<a class="enum" href="../ocl_core/types/enums/enum.ProgramBuildInfoResult.html" title="enum ocl_core::types::enums::ProgramBuildInfoResult">ProgramBuildInfoResult</a>;</code></td></tr><tr><td><code>pub use self::types::enums::<a class="enum" href="../ocl_core/types/enums/enum.KernelInfoResult.html" title="enum ocl_core::types::enums::KernelInfoResult">KernelInfoResult</a>;</code></td></tr><tr><td><code>pub use self::types::enums::<a class="enum" href="../ocl_core/types/enums/enum.KernelArgInfoResult.html" title="enum ocl_core::types::enums::KernelArgInfoResult">KernelArgInfoResult</a>;</code></td></tr><tr><td><code>pub use self::types::enums::<a class="enum" href="../ocl_core/types/enums/enum.KernelWorkGroupInfoResult.html" title="enum ocl_core::types::enums::KernelWorkGroupInfoResult">KernelWorkGroupInfoResult</a>;</code></td></tr><tr><td><code>pub use self::types::enums::<a class="enum" href="../ocl_core/types/enums/enum.EventInfoResult.html" title="enum ocl_core::types::enums::EventInfoResult">EventInfoResult</a>;</code></td></tr><tr><td><code>pub use self::types::enums::<a class="enum" href="../ocl_core/types/enums/enum.ProfilingInfoResult.html" title="enum ocl_core::types::enums::ProfilingInfoResult">ProfilingInfoResult</a>;</code></td></tr></table><h2 id='modules' class='section-header'><a href="#modules">Modules</a></h2>
  112. <table>
  113. <tr class=' module-item'>
  114. <td><a class="mod" href="error/index.html"
  115. title='mod ocl_core::error'>error</a></td>
  116. <td class='docblock-short'>
  117. <p>Standard error type for ocl.</p>
  118. </td>
  119. </tr>
  120. <tr class=' module-item'>
  121. <td><a class="mod" href="types/index.html"
  122. title='mod ocl_core::types'>types</a></td>
  123. <td class='docblock-short'>
  124. </td>
  125. </tr>
  126. <tr class=' module-item'>
  127. <td><a class="mod" href="util/index.html"
  128. title='mod ocl_core::util'>util</a></td>
  129. <td class='docblock-short'>
  130. <p>Utility and debugging functions.</p>
  131. </td>
  132. </tr></table><h2 id='structs' class='section-header'><a href="#structs">Structs</a></h2>
  133. <table>
  134. <tr class=' module-item'>
  135. <td><a class="struct" href="struct.Char.html"
  136. title='struct ocl_core::Char'>Char</a></td>
  137. <td class='docblock-short'>
  138. </td>
  139. </tr>
  140. <tr class=' module-item'>
  141. <td><a class="struct" href="struct.Char2.html"
  142. title='struct ocl_core::Char2'>Char2</a></td>
  143. <td class='docblock-short'>
  144. </td>
  145. </tr>
  146. <tr class=' module-item'>
  147. <td><a class="struct" href="struct.Char3.html"
  148. title='struct ocl_core::Char3'>Char3</a></td>
  149. <td class='docblock-short'>
  150. </td>
  151. </tr>
  152. <tr class=' module-item'>
  153. <td><a class="struct" href="struct.Char4.html"
  154. title='struct ocl_core::Char4'>Char4</a></td>
  155. <td class='docblock-short'>
  156. </td>
  157. </tr>
  158. <tr class=' module-item'>
  159. <td><a class="struct" href="struct.Char8.html"
  160. title='struct ocl_core::Char8'>Char8</a></td>
  161. <td class='docblock-short'>
  162. </td>
  163. </tr>
  164. <tr class=' module-item'>
  165. <td><a class="struct" href="struct.Char16.html"
  166. title='struct ocl_core::Char16'>Char16</a></td>
  167. <td class='docblock-short'>
  168. </td>
  169. </tr>
  170. <tr class=' module-item'>
  171. <td><a class="struct" href="struct.CommandQueueProperties.html"
  172. title='struct ocl_core::CommandQueueProperties'>CommandQueueProperties</a></td>
  173. <td class='docblock-short'>
  174. <p>cl_command_queue_properties - bitfield</p>
  175. </td>
  176. </tr>
  177. <tr class=' module-item'>
  178. <td><a class="struct" href="struct.DeviceAffinityDomain.html"
  179. title='struct ocl_core::DeviceAffinityDomain'>DeviceAffinityDomain</a></td>
  180. <td class='docblock-short'>
  181. <p>cl_device_affinity_domain</p>
  182. </td>
  183. </tr>
  184. <tr class=' module-item'>
  185. <td><a class="struct" href="struct.DeviceExecCapabilities.html"
  186. title='struct ocl_core::DeviceExecCapabilities'>DeviceExecCapabilities</a></td>
  187. <td class='docblock-short'>
  188. <p>cl_device_exec_capabilities - bitfield</p>
  189. </td>
  190. </tr>
  191. <tr class=' module-item'>
  192. <td><a class="struct" href="struct.DeviceFpConfig.html"
  193. title='struct ocl_core::DeviceFpConfig'>DeviceFpConfig</a></td>
  194. <td class='docblock-short'>
  195. <p>cl_device_fp_config - bitfield</p>
  196. </td>
  197. </tr>
  198. <tr class=' module-item'>
  199. <td><a class="struct" href="struct.DeviceType.html"
  200. title='struct ocl_core::DeviceType'>DeviceType</a></td>
  201. <td class='docblock-short'>
  202. <p>cl_device_type - bitfield</p>
  203. </td>
  204. </tr>
  205. <tr class=' module-item'>
  206. <td><a class="struct" href="struct.Double.html"
  207. title='struct ocl_core::Double'>Double</a></td>
  208. <td class='docblock-short'>
  209. </td>
  210. </tr>
  211. <tr class=' module-item'>
  212. <td><a class="struct" href="struct.Double2.html"
  213. title='struct ocl_core::Double2'>Double2</a></td>
  214. <td class='docblock-short'>
  215. </td>
  216. </tr>
  217. <tr class=' module-item'>
  218. <td><a class="struct" href="struct.Double3.html"
  219. title='struct ocl_core::Double3'>Double3</a></td>
  220. <td class='docblock-short'>
  221. </td>
  222. </tr>
  223. <tr class=' module-item'>
  224. <td><a class="struct" href="struct.Double4.html"
  225. title='struct ocl_core::Double4'>Double4</a></td>
  226. <td class='docblock-short'>
  227. </td>
  228. </tr>
  229. <tr class=' module-item'>
  230. <td><a class="struct" href="struct.Double8.html"
  231. title='struct ocl_core::Double8'>Double8</a></td>
  232. <td class='docblock-short'>
  233. </td>
  234. </tr>
  235. <tr class=' module-item'>
  236. <td><a class="struct" href="struct.Double16.html"
  237. title='struct ocl_core::Double16'>Double16</a></td>
  238. <td class='docblock-short'>
  239. </td>
  240. </tr>
  241. <tr class=' module-item'>
  242. <td><a class="struct" href="struct.Float.html"
  243. title='struct ocl_core::Float'>Float</a></td>
  244. <td class='docblock-short'>
  245. </td>
  246. </tr>
  247. <tr class=' module-item'>
  248. <td><a class="struct" href="struct.Float2.html"
  249. title='struct ocl_core::Float2'>Float2</a></td>
  250. <td class='docblock-short'>
  251. </td>
  252. </tr>
  253. <tr class=' module-item'>
  254. <td><a class="struct" href="struct.Float3.html"
  255. title='struct ocl_core::Float3'>Float3</a></td>
  256. <td class='docblock-short'>
  257. </td>
  258. </tr>
  259. <tr class=' module-item'>
  260. <td><a class="struct" href="struct.Float4.html"
  261. title='struct ocl_core::Float4'>Float4</a></td>
  262. <td class='docblock-short'>
  263. </td>
  264. </tr>
  265. <tr class=' module-item'>
  266. <td><a class="struct" href="struct.Float8.html"
  267. title='struct ocl_core::Float8'>Float8</a></td>
  268. <td class='docblock-short'>
  269. </td>
  270. </tr>
  271. <tr class=' module-item'>
  272. <td><a class="struct" href="struct.Float16.html"
  273. title='struct ocl_core::Float16'>Float16</a></td>
  274. <td class='docblock-short'>
  275. </td>
  276. </tr>
  277. <tr class=' module-item'>
  278. <td><a class="struct" href="struct.Int.html"
  279. title='struct ocl_core::Int'>Int</a></td>
  280. <td class='docblock-short'>
  281. </td>
  282. </tr>
  283. <tr class=' module-item'>
  284. <td><a class="struct" href="struct.Int2.html"
  285. title='struct ocl_core::Int2'>Int2</a></td>
  286. <td class='docblock-short'>
  287. </td>
  288. </tr>
  289. <tr class=' module-item'>
  290. <td><a class="struct" href="struct.Int3.html"
  291. title='struct ocl_core::Int3'>Int3</a></td>
  292. <td class='docblock-short'>
  293. </td>
  294. </tr>
  295. <tr class=' module-item'>
  296. <td><a class="struct" href="struct.Int4.html"
  297. title='struct ocl_core::Int4'>Int4</a></td>
  298. <td class='docblock-short'>
  299. </td>
  300. </tr>
  301. <tr class=' module-item'>
  302. <td><a class="struct" href="struct.Int8.html"
  303. title='struct ocl_core::Int8'>Int8</a></td>
  304. <td class='docblock-short'>
  305. </td>
  306. </tr>
  307. <tr class=' module-item'>
  308. <td><a class="struct" href="struct.Int16.html"
  309. title='struct ocl_core::Int16'>Int16</a></td>
  310. <td class='docblock-short'>
  311. </td>
  312. </tr>
  313. <tr class=' module-item'>
  314. <td><a class="struct" href="struct.KernelArgTypeQualifier.html"
  315. title='struct ocl_core::KernelArgTypeQualifier'>KernelArgTypeQualifier</a></td>
  316. <td class='docblock-short'>
  317. <p>cl_kernel_arg_type_qualifer</p>
  318. </td>
  319. </tr>
  320. <tr class=' module-item'>
  321. <td><a class="struct" href="struct.Long.html"
  322. title='struct ocl_core::Long'>Long</a></td>
  323. <td class='docblock-short'>
  324. </td>
  325. </tr>
  326. <tr class=' module-item'>
  327. <td><a class="struct" href="struct.Long2.html"
  328. title='struct ocl_core::Long2'>Long2</a></td>
  329. <td class='docblock-short'>
  330. </td>
  331. </tr>
  332. <tr class=' module-item'>
  333. <td><a class="struct" href="struct.Long3.html"
  334. title='struct ocl_core::Long3'>Long3</a></td>
  335. <td class='docblock-short'>
  336. </td>
  337. </tr>
  338. <tr class=' module-item'>
  339. <td><a class="struct" href="struct.Long4.html"
  340. title='struct ocl_core::Long4'>Long4</a></td>
  341. <td class='docblock-short'>
  342. </td>
  343. </tr>
  344. <tr class=' module-item'>
  345. <td><a class="struct" href="struct.Long8.html"
  346. title='struct ocl_core::Long8'>Long8</a></td>
  347. <td class='docblock-short'>
  348. </td>
  349. </tr>
  350. <tr class=' module-item'>
  351. <td><a class="struct" href="struct.Long16.html"
  352. title='struct ocl_core::Long16'>Long16</a></td>
  353. <td class='docblock-short'>
  354. </td>
  355. </tr>
  356. <tr class=' module-item'>
  357. <td><a class="struct" href="struct.MapFlags.html"
  358. title='struct ocl_core::MapFlags'>MapFlags</a></td>
  359. <td class='docblock-short'>
  360. <p>cl_map_flags - bitfield</p>
  361. </td>
  362. </tr>
  363. <tr class=' module-item'>
  364. <td><a class="struct" href="struct.MemFlags.html"
  365. title='struct ocl_core::MemFlags'>MemFlags</a></td>
  366. <td class='docblock-short'>
  367. <p>cl_mem_flags - bitfield</p>
  368. </td>
  369. </tr>
  370. <tr class=' module-item'>
  371. <td><a class="struct" href="struct.MemMigrationFlags.html"
  372. title='struct ocl_core::MemMigrationFlags'>MemMigrationFlags</a></td>
  373. <td class='docblock-short'>
  374. <p>cl_mem_migration_flags - bitfield</p>
  375. </td>
  376. </tr>
  377. <tr class=' module-item'>
  378. <td><a class="struct" href="struct.ProgramBinaryType.html"
  379. title='struct ocl_core::ProgramBinaryType'>ProgramBinaryType</a></td>
  380. <td class='docblock-short'>
  381. <p>cl_program_binary_type</p>
  382. </td>
  383. </tr>
  384. <tr class=' module-item'>
  385. <td><a class="struct" href="struct.Short.html"
  386. title='struct ocl_core::Short'>Short</a></td>
  387. <td class='docblock-short'>
  388. </td>
  389. </tr>
  390. <tr class=' module-item'>
  391. <td><a class="struct" href="struct.Short2.html"
  392. title='struct ocl_core::Short2'>Short2</a></td>
  393. <td class='docblock-short'>
  394. </td>
  395. </tr>
  396. <tr class=' module-item'>
  397. <td><a class="struct" href="struct.Short3.html"
  398. title='struct ocl_core::Short3'>Short3</a></td>
  399. <td class='docblock-short'>
  400. </td>
  401. </tr>
  402. <tr class=' module-item'>
  403. <td><a class="struct" href="struct.Short4.html"
  404. title='struct ocl_core::Short4'>Short4</a></td>
  405. <td class='docblock-short'>
  406. </td>
  407. </tr>
  408. <tr class=' module-item'>
  409. <td><a class="struct" href="struct.Short8.html"
  410. title='struct ocl_core::Short8'>Short8</a></td>
  411. <td class='docblock-short'>
  412. </td>
  413. </tr>
  414. <tr class=' module-item'>
  415. <td><a class="struct" href="struct.Short16.html"
  416. title='struct ocl_core::Short16'>Short16</a></td>
  417. <td class='docblock-short'>
  418. </td>
  419. </tr>
  420. <tr class=' module-item'>
  421. <td><a class="struct" href="struct.Uchar.html"
  422. title='struct ocl_core::Uchar'>Uchar</a></td>
  423. <td class='docblock-short'>
  424. </td>
  425. </tr>
  426. <tr class=' module-item'>
  427. <td><a class="struct" href="struct.Uchar2.html"
  428. title='struct ocl_core::Uchar2'>Uchar2</a></td>
  429. <td class='docblock-short'>
  430. </td>
  431. </tr>
  432. <tr class=' module-item'>
  433. <td><a class="struct" href="struct.Uchar3.html"
  434. title='struct ocl_core::Uchar3'>Uchar3</a></td>
  435. <td class='docblock-short'>
  436. </td>
  437. </tr>
  438. <tr class=' module-item'>
  439. <td><a class="struct" href="struct.Uchar4.html"
  440. title='struct ocl_core::Uchar4'>Uchar4</a></td>
  441. <td class='docblock-short'>
  442. </td>
  443. </tr>
  444. <tr class=' module-item'>
  445. <td><a class="struct" href="struct.Uchar8.html"
  446. title='struct ocl_core::Uchar8'>Uchar8</a></td>
  447. <td class='docblock-short'>
  448. </td>
  449. </tr>
  450. <tr class=' module-item'>
  451. <td><a class="struct" href="struct.Uchar16.html"
  452. title='struct ocl_core::Uchar16'>Uchar16</a></td>
  453. <td class='docblock-short'>
  454. </td>
  455. </tr>
  456. <tr class=' module-item'>
  457. <td><a class="struct" href="struct.Uint.html"
  458. title='struct ocl_core::Uint'>Uint</a></td>
  459. <td class='docblock-short'>
  460. </td>
  461. </tr>
  462. <tr class=' module-item'>
  463. <td><a class="struct" href="struct.Uint2.html"
  464. title='struct ocl_core::Uint2'>Uint2</a></td>
  465. <td class='docblock-short'>
  466. </td>
  467. </tr>
  468. <tr class=' module-item'>
  469. <td><a class="struct" href="struct.Uint3.html"
  470. title='struct ocl_core::Uint3'>Uint3</a></td>
  471. <td class='docblock-short'>
  472. </td>
  473. </tr>
  474. <tr class=' module-item'>
  475. <td><a class="struct" href="struct.Uint4.html"
  476. title='struct ocl_core::Uint4'>Uint4</a></td>
  477. <td class='docblock-short'>
  478. </td>
  479. </tr>
  480. <tr class=' module-item'>
  481. <td><a class="struct" href="struct.Uint8.html"
  482. title='struct ocl_core::Uint8'>Uint8</a></td>
  483. <td class='docblock-short'>
  484. </td>
  485. </tr>
  486. <tr class=' module-item'>
  487. <td><a class="struct" href="struct.Uint16.html"
  488. title='struct ocl_core::Uint16'>Uint16</a></td>
  489. <td class='docblock-short'>
  490. </td>
  491. </tr>
  492. <tr class=' module-item'>
  493. <td><a class="struct" href="struct.Ulong.html"
  494. title='struct ocl_core::Ulong'>Ulong</a></td>
  495. <td class='docblock-short'>
  496. </td>
  497. </tr>
  498. <tr class=' module-item'>
  499. <td><a class="struct" href="struct.Ulong2.html"
  500. title='struct ocl_core::Ulong2'>Ulong2</a></td>
  501. <td class='docblock-short'>
  502. </td>
  503. </tr>
  504. <tr class=' module-item'>
  505. <td><a class="struct" href="struct.Ulong3.html"
  506. title='struct ocl_core::Ulong3'>Ulong3</a></td>
  507. <td class='docblock-short'>
  508. </td>
  509. </tr>
  510. <tr class=' module-item'>
  511. <td><a class="struct" href="struct.Ulong4.html"
  512. title='struct ocl_core::Ulong4'>Ulong4</a></td>
  513. <td class='docblock-short'>
  514. </td>
  515. </tr>
  516. <tr class=' module-item'>
  517. <td><a class="struct" href="struct.Ulong8.html"
  518. title='struct ocl_core::Ulong8'>Ulong8</a></td>
  519. <td class='docblock-short'>
  520. </td>
  521. </tr>
  522. <tr class=' module-item'>
  523. <td><a class="struct" href="struct.Ulong16.html"
  524. title='struct ocl_core::Ulong16'>Ulong16</a></td>
  525. <td class='docblock-short'>
  526. </td>
  527. </tr>
  528. <tr class=' module-item'>
  529. <td><a class="struct" href="struct.Ushort.html"
  530. title='struct ocl_core::Ushort'>Ushort</a></td>
  531. <td class='docblock-short'>
  532. </td>
  533. </tr>
  534. <tr class=' module-item'>
  535. <td><a class="struct" href="struct.Ushort2.html"
  536. title='struct ocl_core::Ushort2'>Ushort2</a></td>
  537. <td class='docblock-short'>
  538. </td>
  539. </tr>
  540. <tr class=' module-item'>
  541. <td><a class="struct" href="struct.Ushort3.html"
  542. title='struct ocl_core::Ushort3'>Ushort3</a></td>
  543. <td class='docblock-short'>
  544. </td>
  545. </tr>
  546. <tr class=' module-item'>
  547. <td><a class="struct" href="struct.Ushort4.html"
  548. title='struct ocl_core::Ushort4'>Ushort4</a></td>
  549. <td class='docblock-short'>
  550. </td>
  551. </tr>
  552. <tr class=' module-item'>
  553. <td><a class="struct" href="struct.Ushort8.html"
  554. title='struct ocl_core::Ushort8'>Ushort8</a></td>
  555. <td class='docblock-short'>
  556. </td>
  557. </tr>
  558. <tr class=' module-item'>
  559. <td><a class="struct" href="struct.Ushort16.html"
  560. title='struct ocl_core::Ushort16'>Ushort16</a></td>
  561. <td class='docblock-short'>
  562. </td>
  563. </tr></table><h2 id='enums' class='section-header'><a href="#enums">Enums</a></h2>
  564. <table>
  565. <tr class=' module-item'>
  566. <td><a class="enum" href="enum.AddressingMode.html"
  567. title='enum ocl_core::AddressingMode'>AddressingMode</a></td>
  568. <td class='docblock-short'>
  569. <p>cl_addressing_mode</p>
  570. </td>
  571. </tr>
  572. <tr class=' module-item'>
  573. <td><a class="enum" href="enum.BufferCreateType.html"
  574. title='enum ocl_core::BufferCreateType'>BufferCreateType</a></td>
  575. <td class='docblock-short'>
  576. <p>cl_buffer_create_type</p>
  577. </td>
  578. </tr>
  579. <tr class=' module-item'>
  580. <td><a class="enum" href="enum.Cbool.html"
  581. title='enum ocl_core::Cbool'>Cbool</a></td>
  582. <td class='docblock-short'>
  583. <p>cl_bool</p>
  584. </td>
  585. </tr>
  586. <tr class=' module-item'>
  587. <td><a class="enum" href="enum.ChannelType.html"
  588. title='enum ocl_core::ChannelType'>ChannelType</a></td>
  589. <td class='docblock-short'>
  590. <p>cl_channel_type</p>
  591. </td>
  592. </tr>
  593. <tr class=' module-item'>
  594. <td><a class="enum" href="enum.ClGlObjectType.html"
  595. title='enum ocl_core::ClGlObjectType'>ClGlObjectType</a></td>
  596. <td class='docblock-short'>
  597. </td>
  598. </tr>
  599. <tr class=' module-item'>
  600. <td><a class="enum" href="enum.CommandExecutionStatus.html"
  601. title='enum ocl_core::CommandExecutionStatus'>CommandExecutionStatus</a></td>
  602. <td class='docblock-short'>
  603. <p>command execution status</p>
  604. </td>
  605. </tr>
  606. <tr class=' module-item'>
  607. <td><a class="enum" href="enum.CommandQueueInfo.html"
  608. title='enum ocl_core::CommandQueueInfo'>CommandQueueInfo</a></td>
  609. <td class='docblock-short'>
  610. <p>cl_command_queue_info</p>
  611. </td>
  612. </tr>
  613. <tr class=' module-item'>
  614. <td><a class="enum" href="enum.CommandType.html"
  615. title='enum ocl_core::CommandType'>CommandType</a></td>
  616. <td class='docblock-short'>
  617. <p>cl_command_type</p>
  618. </td>
  619. </tr>
  620. <tr class=' module-item'>
  621. <td><a class="enum" href="enum.ContextInfo.html"
  622. title='enum ocl_core::ContextInfo'>ContextInfo</a></td>
  623. <td class='docblock-short'>
  624. <p>cl_context_info</p>
  625. </td>
  626. </tr>
  627. <tr class=' module-item'>
  628. <td><a class="enum" href="enum.ContextInfoOrPropertiesPointerType.html"
  629. title='enum ocl_core::ContextInfoOrPropertiesPointerType'>ContextInfoOrPropertiesPointerType</a></td>
  630. <td class='docblock-short'>
  631. <p>cl_context_info + cl_context_properties</p>
  632. </td>
  633. </tr>
  634. <tr class=' module-item'>
  635. <td><a class="enum" href="enum.ContextProperty.html"
  636. title='enum ocl_core::ContextProperty'>ContextProperty</a></td>
  637. <td class='docblock-short'>
  638. <p>cl_context_info + cl_context_properties</p>
  639. </td>
  640. </tr>
  641. <tr class=' module-item'>
  642. <td><a class="enum" href="enum.DeviceInfo.html"
  643. title='enum ocl_core::DeviceInfo'>DeviceInfo</a></td>
  644. <td class='docblock-short'>
  645. <p>cl_device_info</p>
  646. </td>
  647. </tr>
  648. <tr class=' module-item'>
  649. <td><a class="enum" href="enum.DeviceLocalMemType.html"
  650. title='enum ocl_core::DeviceLocalMemType'>DeviceLocalMemType</a></td>
  651. <td class='docblock-short'>
  652. <p>cl_device_local_mem_type</p>
  653. </td>
  654. </tr>
  655. <tr class=' module-item'>
  656. <td><a class="enum" href="enum.DeviceMemCacheType.html"
  657. title='enum ocl_core::DeviceMemCacheType'>DeviceMemCacheType</a></td>
  658. <td class='docblock-short'>
  659. <p>cl_mem_cache_type</p>
  660. </td>
  661. </tr>
  662. <tr class=' module-item'>
  663. <td><a class="enum" href="enum.DevicePartitionProperty.html"
  664. title='enum ocl_core::DevicePartitionProperty'>DevicePartitionProperty</a></td>
  665. <td class='docblock-short'>
  666. <p>[INCOMPLETE] cl_device_partition_property</p>
  667. </td>
  668. </tr>
  669. <tr class=' module-item'>
  670. <td><a class="enum" href="enum.EventInfo.html"
  671. title='enum ocl_core::EventInfo'>EventInfo</a></td>
  672. <td class='docblock-short'>
  673. <p>cl_event_info</p>
  674. </td>
  675. </tr>
  676. <tr class=' module-item'>
  677. <td><a class="enum" href="enum.FilterMode.html"
  678. title='enum ocl_core::FilterMode'>FilterMode</a></td>
  679. <td class='docblock-short'>
  680. <p>cl_filter_mode</p>
  681. </td>
  682. </tr>
  683. <tr class=' module-item'>
  684. <td><a class="enum" href="enum.GlContextInfo.html"
  685. title='enum ocl_core::GlContextInfo'>GlContextInfo</a></td>
  686. <td class='docblock-short'>
  687. <p>cl_gl_context_info</p>
  688. </td>
  689. </tr>
  690. <tr class=' module-item'>
  691. <td><a class="enum" href="enum.GlTextureTarget.html"
  692. title='enum ocl_core::GlTextureTarget'>GlTextureTarget</a></td>
  693. <td class='docblock-short'>
  694. <p>specify the texture target type</p>
  695. </td>
  696. </tr>
  697. <tr class=' module-item'>
  698. <td><a class="enum" href="enum.ImageChannelDataType.html"
  699. title='enum ocl_core::ImageChannelDataType'>ImageChannelDataType</a></td>
  700. <td class='docblock-short'>
  701. <p>Describes the size of the channel data type. The number of bits per element determined by the image_channel_data_type and image_channel_order must be a power of two. The list of supported values is described in the table below. (from SDK)</p>
  702. </td>
  703. </tr>
  704. <tr class=' module-item'>
  705. <td><a class="enum" href="enum.ImageChannelOrder.html"
  706. title='enum ocl_core::ImageChannelOrder'>ImageChannelOrder</a></td>
  707. <td class='docblock-short'>
  708. <p>Specifies the number of channels and the channel layout i.e. the memory layout in which channels are stored in the image. Valid values are described in the table below. (from SDK)</p>
  709. </td>
  710. </tr>
  711. <tr class=' module-item'>
  712. <td><a class="enum" href="enum.ImageInfo.html"
  713. title='enum ocl_core::ImageInfo'>ImageInfo</a></td>
  714. <td class='docblock-short'>
  715. <p>cl_image_info</p>
  716. </td>
  717. </tr>
  718. <tr class=' module-item'>
  719. <td><a class="enum" href="enum.KernelArgAccessQualifier.html"
  720. title='enum ocl_core::KernelArgAccessQualifier'>KernelArgAccessQualifier</a></td>
  721. <td class='docblock-short'>
  722. <p>cl_kernel_arg_access_qualifier</p>
  723. </td>
  724. </tr>
  725. <tr class=' module-item'>
  726. <td><a class="enum" href="enum.KernelArgAddressQualifier.html"
  727. title='enum ocl_core::KernelArgAddressQualifier'>KernelArgAddressQualifier</a></td>
  728. <td class='docblock-short'>
  729. <p>cl_kernel_arg_address_qualifier</p>
  730. </td>
  731. </tr>
  732. <tr class=' module-item'>
  733. <td><a class="enum" href="enum.KernelArgInfo.html"
  734. title='enum ocl_core::KernelArgInfo'>KernelArgInfo</a></td>
  735. <td class='docblock-short'>
  736. <p>cl_kernel_arg_info</p>
  737. </td>
  738. </tr>
  739. <tr class=' module-item'>
  740. <td><a class="enum" href="enum.KernelInfo.html"
  741. title='enum ocl_core::KernelInfo'>KernelInfo</a></td>
  742. <td class='docblock-short'>
  743. <p>cl_kernel_info</p>
  744. </td>
  745. </tr>
  746. <tr class=' module-item'>
  747. <td><a class="enum" href="enum.KernelWorkGroupInfo.html"
  748. title='enum ocl_core::KernelWorkGroupInfo'>KernelWorkGroupInfo</a></td>
  749. <td class='docblock-short'>
  750. <p>cl_kernel_work_group_info</p>
  751. </td>
  752. </tr>
  753. <tr class=' module-item'>
  754. <td><a class="enum" href="enum.MemInfo.html"
  755. title='enum ocl_core::MemInfo'>MemInfo</a></td>
  756. <td class='docblock-short'>
  757. <p>cl_mem_info</p>
  758. </td>
  759. </tr>
  760. <tr class=' module-item'>
  761. <td><a class="enum" href="enum.MemObjectType.html"
  762. title='enum ocl_core::MemObjectType'>MemObjectType</a></td>
  763. <td class='docblock-short'>
  764. <p>cl_mem_object_type</p>
  765. </td>
  766. </tr>
  767. <tr class=' module-item'>
  768. <td><a class="enum" href="enum.PlatformInfo.html"
  769. title='enum ocl_core::PlatformInfo'>PlatformInfo</a></td>
  770. <td class='docblock-short'>
  771. <p>cl_platform_info</p>
  772. </td>
  773. </tr>
  774. <tr class=' module-item'>
  775. <td><a class="enum" href="enum.Polling.html"
  776. title='enum ocl_core::Polling'>Polling</a></td>
  777. <td class='docblock-short'>
  778. <p>cl_bool: Polling</p>
  779. </td>
  780. </tr>
  781. <tr class=' module-item'>
  782. <td><a class="enum" href="enum.ProfilingInfo.html"
  783. title='enum ocl_core::ProfilingInfo'>ProfilingInfo</a></td>
  784. <td class='docblock-short'>
  785. <p>cl_profiling_info</p>
  786. </td>
  787. </tr>
  788. <tr class=' module-item'>
  789. <td><a class="enum" href="enum.ProgramBuildInfo.html"
  790. title='enum ocl_core::ProgramBuildInfo'>ProgramBuildInfo</a></td>
  791. <td class='docblock-short'>
  792. <p>cl_program_build_info</p>
  793. </td>
  794. </tr>
  795. <tr class=' module-item'>
  796. <td><a class="enum" href="enum.ProgramBuildStatus.html"
  797. title='enum ocl_core::ProgramBuildStatus'>ProgramBuildStatus</a></td>
  798. <td class='docblock-short'>
  799. <p>cl_build_status</p>
  800. </td>
  801. </tr>
  802. <tr class=' module-item'>
  803. <td><a class="enum" href="enum.ProgramInfo.html"
  804. title='enum ocl_core::ProgramInfo'>ProgramInfo</a></td>
  805. <td class='docblock-short'>
  806. <p>cl_program_info</p>
  807. </td>
  808. </tr>
  809. <tr class=' module-item'>
  810. <td><a class="enum" href="enum.SamplerInfo.html"
  811. title='enum ocl_core::SamplerInfo'>SamplerInfo</a></td>
  812. <td class='docblock-short'>
  813. <p>cl_sampler_info</p>
  814. </td>
  815. </tr>
  816. <tr class=' module-item'>
  817. <td><a class="enum" href="enum.Status.html"
  818. title='enum ocl_core::Status'>Status</a></td>
  819. <td class='docblock-short'>
  820. <p>The status of an OpenCL API call. Used for returning success/error codes.</p>
  821. </td>
  822. </tr></table><h2 id='constants' class='section-header'><a href="#constants">Constants</a></h2>
  823. <table>
  824. <tr class=' module-item'>
  825. <td><a class="constant" href="constant.CL_CGL_SHAREGROUP_KHR_OS_SPECIFIC.html"
  826. title='constant ocl_core::CL_CGL_SHAREGROUP_KHR_OS_SPECIFIC'>CL_CGL_SHAREGROUP_KHR_OS_SPECIFIC</a></td>
  827. <td class='docblock-short'>
  828. </td>
  829. </tr>
  830. <tr class=' module-item'>
  831. <td><a class="constant" href="constant.DEVICES_MAX.html"
  832. title='constant ocl_core::DEVICES_MAX'>DEVICES_MAX</a></td>
  833. <td class='docblock-short'>
  834. </td>
  835. </tr>
  836. <tr class=' module-item'>
  837. <td><a class="constant" href="constant.DEVICE_AFFINITY_DOMAIN_L1_CACHE.html"
  838. title='constant ocl_core::DEVICE_AFFINITY_DOMAIN_L1_CACHE'>DEVICE_AFFINITY_DOMAIN_L1_CACHE</a></td>
  839. <td class='docblock-short'>
  840. </td>
  841. </tr>
  842. <tr class=' module-item'>
  843. <td><a class="constant" href="constant.DEVICE_AFFINITY_DOMAIN_L2_CACHE.html"
  844. title='constant ocl_core::DEVICE_AFFINITY_DOMAIN_L2_CACHE'>DEVICE_AFFINITY_DOMAIN_L2_CACHE</a></td>
  845. <td class='docblock-short'>
  846. </td>
  847. </tr>
  848. <tr class=' module-item'>
  849. <td><a class="constant" href="constant.DEVICE_AFFINITY_DOMAIN_L3_CACHE.html"
  850. title='constant ocl_core::DEVICE_AFFINITY_DOMAIN_L3_CACHE'>DEVICE_AFFINITY_DOMAIN_L3_CACHE</a></td>
  851. <td class='docblock-short'>
  852. </td>
  853. </tr>
  854. <tr class=' module-item'>
  855. <td><a class="constant" href="constant.DEVICE_AFFINITY_DOMAIN_L4_CACHE.html"
  856. title='constant ocl_core::DEVICE_AFFINITY_DOMAIN_L4_CACHE'>DEVICE_AFFINITY_DOMAIN_L4_CACHE</a></td>
  857. <td class='docblock-short'>
  858. </td>
  859. </tr>
  860. <tr class=' module-item'>
  861. <td><a class="constant" href="constant.DEVICE_AFFINITY_DOMAIN_NEXT_PARTITIONABLE.html"
  862. title='constant ocl_core::DEVICE_AFFINITY_DOMAIN_NEXT_PARTITIONABLE'>DEVICE_AFFINITY_DOMAIN_NEXT_PARTITIONABLE</a></td>
  863. <td class='docblock-short'>
  864. </td>
  865. </tr>
  866. <tr class=' module-item'>
  867. <td><a class="constant" href="constant.DEVICE_AFFINITY_DOMAIN_NUMA.html"
  868. title='constant ocl_core::DEVICE_AFFINITY_DOMAIN_NUMA'>DEVICE_AFFINITY_DOMAIN_NUMA</a></td>
  869. <td class='docblock-short'>
  870. </td>
  871. </tr>
  872. <tr class=' module-item'>
  873. <td><a class="constant" href="constant.DEVICE_TYPE_ACCELERATOR.html"
  874. title='constant ocl_core::DEVICE_TYPE_ACCELERATOR'>DEVICE_TYPE_ACCELERATOR</a></td>
  875. <td class='docblock-short'>
  876. </td>
  877. </tr>
  878. <tr class=' module-item'>
  879. <td><a class="constant" href="constant.DEVICE_TYPE_ALL.html"
  880. title='constant ocl_core::DEVICE_TYPE_ALL'>DEVICE_TYPE_ALL</a></td>
  881. <td class='docblock-short'>
  882. </td>
  883. </tr>
  884. <tr class=' module-item'>
  885. <td><a class="constant" href="constant.DEVICE_TYPE_CPU.html"
  886. title='constant ocl_core::DEVICE_TYPE_CPU'>DEVICE_TYPE_CPU</a></td>
  887. <td class='docblock-short'>
  888. </td>
  889. </tr>
  890. <tr class=' module-item'>
  891. <td><a class="constant" href="constant.DEVICE_TYPE_CUSTOM.html"
  892. title='constant ocl_core::DEVICE_TYPE_CUSTOM'>DEVICE_TYPE_CUSTOM</a></td>
  893. <td class='docblock-short'>
  894. </td>
  895. </tr>
  896. <tr class=' module-item'>
  897. <td><a class="constant" href="constant.DEVICE_TYPE_DEFAULT.html"
  898. title='constant ocl_core::DEVICE_TYPE_DEFAULT'>DEVICE_TYPE_DEFAULT</a></td>
  899. <td class='docblock-short'>
  900. </td>
  901. </tr>
  902. <tr class=' module-item'>
  903. <td><a class="constant" href="constant.DEVICE_TYPE_GPU.html"
  904. title='constant ocl_core::DEVICE_TYPE_GPU'>DEVICE_TYPE_GPU</a></td>
  905. <td class='docblock-short'>
  906. </td>
  907. </tr>
  908. <tr class=' module-item'>
  909. <td><a class="constant" href="constant.EXEC_KERNEL.html"
  910. title='constant ocl_core::EXEC_KERNEL'>EXEC_KERNEL</a></td>
  911. <td class='docblock-short'>
  912. </td>
  913. </tr>
  914. <tr class=' module-item'>
  915. <td><a class="constant" href="constant.EXEC_NATIVE_KERNEL.html"
  916. title='constant ocl_core::EXEC_NATIVE_KERNEL'>EXEC_NATIVE_KERNEL</a></td>
  917. <td class='docblock-short'>
  918. </td>
  919. </tr>
  920. <tr class=' module-item'>
  921. <td><a class="constant" href="constant.FP_CORRECTLY_ROUNDED_DIVIDE_SQRT.html"
  922. title='constant ocl_core::FP_CORRECTLY_ROUNDED_DIVIDE_SQRT'>FP_CORRECTLY_ROUNDED_DIVIDE_SQRT</a></td>
  923. <td class='docblock-short'>
  924. </td>
  925. </tr>
  926. <tr class=' module-item'>
  927. <td><a class="constant" href="constant.FP_DENORM.html"
  928. title='constant ocl_core::FP_DENORM'>FP_DENORM</a></td>
  929. <td class='docblock-short'>
  930. </td>
  931. </tr>
  932. <tr class=' module-item'>
  933. <td><a class="constant" href="constant.FP_FMA.html"
  934. title='constant ocl_core::FP_FMA'>FP_FMA</a></td>
  935. <td class='docblock-short'>
  936. </td>
  937. </tr>
  938. <tr class=' module-item'>
  939. <td><a class="constant" href="constant.FP_INF_NAN.html"
  940. title='constant ocl_core::FP_INF_NAN'>FP_INF_NAN</a></td>
  941. <td class='docblock-short'>
  942. </td>
  943. </tr>
  944. <tr class=' module-item'>
  945. <td><a class="constant" href="constant.FP_ROUND_TO_INF.html"
  946. title='constant ocl_core::FP_ROUND_TO_INF'>FP_ROUND_TO_INF</a></td>
  947. <td class='docblock-short'>
  948. </td>
  949. </tr>
  950. <tr class=' module-item'>
  951. <td><a class="constant" href="constant.FP_ROUND_TO_NEAREST.html"
  952. title='constant ocl_core::FP_ROUND_TO_NEAREST'>FP_ROUND_TO_NEAREST</a></td>
  953. <td class='docblock-short'>
  954. </td>
  955. </tr>
  956. <tr class=' module-item'>
  957. <td><a class="constant" href="constant.FP_ROUND_TO_ZERO.html"
  958. title='constant ocl_core::FP_ROUND_TO_ZERO'>FP_ROUND_TO_ZERO</a></td>
  959. <td class='docblock-short'>
  960. </td>
  961. </tr>
  962. <tr class=' module-item'>
  963. <td><a class="constant" href="constant.FP_SOFT_FLOAT.html"
  964. title='constant ocl_core::FP_SOFT_FLOAT'>FP_SOFT_FLOAT</a></td>
  965. <td class='docblock-short'>
  966. </td>
  967. </tr>
  968. <tr class=' module-item'>
  969. <td><a class="constant" href="constant.KERNEL_ARG_TYPE_CONST.html"
  970. title='constant ocl_core::KERNEL_ARG_TYPE_CONST'>KERNEL_ARG_TYPE_CONST</a></td>
  971. <td class='docblock-short'>
  972. </td>
  973. </tr>
  974. <tr class=' module-item'>
  975. <td><a class="constant" href="constant.KERNEL_ARG_TYPE_NONE.html"
  976. title='constant ocl_core::KERNEL_ARG_TYPE_NONE'>KERNEL_ARG_TYPE_NONE</a></td>
  977. <td class='docblock-short'>
  978. </td>
  979. </tr>
  980. <tr class=' module-item'>
  981. <td><a class="constant" href="constant.KERNEL_ARG_TYPE_RESTRICT.html"
  982. title='constant ocl_core::KERNEL_ARG_TYPE_RESTRICT'>KERNEL_ARG_TYPE_RESTRICT</a></td>
  983. <td class='docblock-short'>
  984. </td>
  985. </tr>
  986. <tr class=' module-item'>
  987. <td><a class="constant" href="constant.KERNEL_ARG_TYPE_VOLATILE.html"
  988. title='constant ocl_core::KERNEL_ARG_TYPE_VOLATILE'>KERNEL_ARG_TYPE_VOLATILE</a></td>
  989. <td class='docblock-short'>
  990. </td>
  991. </tr>
  992. <tr class=' module-item'>
  993. <td><a class="constant" href="constant.MAP_READ.html"
  994. title='constant ocl_core::MAP_READ'>MAP_READ</a></td>
  995. <td class='docblock-short'>
  996. </td>
  997. </tr>
  998. <tr class=' module-item'>
  999. <td><a class="constant" href="constant.MAP_WRITE.html"
  1000. title='constant ocl_core::MAP_WRITE'>MAP_WRITE</a></td>
  1001. <td class='docblock-short'>
  1002. </td>
  1003. </tr>
  1004. <tr class=' module-item'>
  1005. <td><a class="constant" href="constant.MAP_WRITE_INVALIDATE_REGION.html"
  1006. title='constant ocl_core::MAP_WRITE_INVALIDATE_REGION'>MAP_WRITE_INVALIDATE_REGION</a></td>
  1007. <td class='docblock-short'>
  1008. </td>
  1009. </tr>
  1010. <tr class=' module-item'>
  1011. <td><a class="constant" href="constant.MEM_ALLOC_HOST_PTR.html"
  1012. title='constant ocl_core::MEM_ALLOC_HOST_PTR'>MEM_ALLOC_HOST_PTR</a></td>
  1013. <td class='docblock-short'>
  1014. </td>
  1015. </tr>
  1016. <tr class=' module-item'>
  1017. <td><a class="constant" href="constant.MEM_COPY_HOST_PTR.html"
  1018. title='constant ocl_core::MEM_COPY_HOST_PTR'>MEM_COPY_HOST_PTR</a></td>
  1019. <td class='docblock-short'>
  1020. </td>
  1021. </tr>
  1022. <tr class=' module-item'>
  1023. <td><a class="constant" href="constant.MEM_HOST_NO_ACCESS.html"
  1024. title='constant ocl_core::MEM_HOST_NO_ACCESS'>MEM_HOST_NO_ACCESS</a></td>
  1025. <td class='docblock-short'>
  1026. </td>
  1027. </tr>
  1028. <tr class=' module-item'>
  1029. <td><a class="constant" href="constant.MEM_HOST_READ_ONLY.html"
  1030. title='constant ocl_core::MEM_HOST_READ_ONLY'>MEM_HOST_READ_ONLY</a></td>
  1031. <td class='docblock-short'>
  1032. </td>
  1033. </tr>
  1034. <tr class=' module-item'>
  1035. <td><a class="constant" href="constant.MEM_HOST_WRITE_ONLY.html"
  1036. title='constant ocl_core::MEM_HOST_WRITE_ONLY'>MEM_HOST_WRITE_ONLY</a></td>
  1037. <td class='docblock-short'>
  1038. </td>
  1039. </tr>
  1040. <tr class=' module-item'>
  1041. <td><a class="constant" href="constant.MEM_READ_ONLY.html"
  1042. title='constant ocl_core::MEM_READ_ONLY'>MEM_READ_ONLY</a></td>
  1043. <td class='docblock-short'>
  1044. </td>
  1045. </tr>
  1046. <tr class=' module-item'>
  1047. <td><a class="constant" href="constant.MEM_READ_WRITE.html"
  1048. title='constant ocl_core::MEM_READ_WRITE'>MEM_READ_WRITE</a></td>
  1049. <td class='docblock-short'>
  1050. </td>
  1051. </tr>
  1052. <tr class=' module-item'>
  1053. <td><a class="constant" href="constant.MEM_USE_HOST_PTR.html"
  1054. title='constant ocl_core::MEM_USE_HOST_PTR'>MEM_USE_HOST_PTR</a></td>
  1055. <td class='docblock-short'>
  1056. </td>
  1057. </tr>
  1058. <tr class=' module-item'>
  1059. <td><a class="constant" href="constant.MEM_WRITE_ONLY.html"
  1060. title='constant ocl_core::MEM_WRITE_ONLY'>MEM_WRITE_ONLY</a></td>
  1061. <td class='docblock-short'>
  1062. </td>
  1063. </tr>
  1064. <tr class=' module-item'>
  1065. <td><a class="constant" href="constant.MIGRATE_MEM_OBJECT_CONTENT_UNDEFINED.html"
  1066. title='constant ocl_core::MIGRATE_MEM_OBJECT_CONTENT_UNDEFINED'>MIGRATE_MEM_OBJECT_CONTENT_UNDEFINED</a></td>
  1067. <td class='docblock-short'>
  1068. </td>
  1069. </tr>
  1070. <tr class=' module-item'>
  1071. <td><a class="constant" href="constant.MIGRATE_MEM_OBJECT_HOST.html"
  1072. title='constant ocl_core::MIGRATE_MEM_OBJECT_HOST'>MIGRATE_MEM_OBJECT_HOST</a></td>
  1073. <td class='docblock-short'>
  1074. </td>
  1075. </tr>
  1076. <tr class=' module-item'>
  1077. <td><a class="constant" href="constant.PROGRAM_BINARY_TYPE_COMPILED_OBJECT.html"
  1078. title='constant ocl_core::PROGRAM_BINARY_TYPE_COMPILED_OBJECT'>PROGRAM_BINARY_TYPE_COMPILED_OBJECT</a></td>
  1079. <td class='docblock-short'>
  1080. </td>
  1081. </tr>
  1082. <tr class=' module-item'>
  1083. <td><a class="constant" href="constant.PROGRAM_BINARY_TYPE_EXECUTABLE.html"
  1084. title='constant ocl_core::PROGRAM_BINARY_TYPE_EXECUTABLE'>PROGRAM_BINARY_TYPE_EXECUTABLE</a></td>
  1085. <td class='docblock-short'>
  1086. </td>
  1087. </tr>
  1088. <tr class=' module-item'>
  1089. <td><a class="constant" href="constant.PROGRAM_BINARY_TYPE_LIBRARY.html"
  1090. title='constant ocl_core::PROGRAM_BINARY_TYPE_LIBRARY'>PROGRAM_BINARY_TYPE_LIBRARY</a></td>
  1091. <td class='docblock-short'>
  1092. </td>
  1093. </tr>
  1094. <tr class=' module-item'>
  1095. <td><a class="constant" href="constant.PROGRAM_BINARY_TYPE_NONE.html"
  1096. title='constant ocl_core::PROGRAM_BINARY_TYPE_NONE'>PROGRAM_BINARY_TYPE_NONE</a></td>
  1097. <td class='docblock-short'>
  1098. </td>
  1099. </tr>
  1100. <tr class=' module-item'>
  1101. <td><a class="constant" href="constant.QUEUE_ON_DEVICE.html"
  1102. title='constant ocl_core::QUEUE_ON_DEVICE'>QUEUE_ON_DEVICE</a></td>
  1103. <td class='docblock-short'>
  1104. </td>
  1105. </tr>
  1106. <tr class=' module-item'>
  1107. <td><a class="constant" href="constant.QUEUE_ON_DEVICE_DEFAULT.html"
  1108. title='constant ocl_core::QUEUE_ON_DEVICE_DEFAULT'>QUEUE_ON_DEVICE_DEFAULT</a></td>
  1109. <td class='docblock-short'>
  1110. </td>
  1111. </tr>
  1112. <tr class=' module-item'>
  1113. <td><a class="constant" href="constant.QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE.html"
  1114. title='constant ocl_core::QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE'>QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE</a></td>
  1115. <td class='docblock-short'>
  1116. </td>
  1117. </tr>
  1118. <tr class=' module-item'>
  1119. <td><a class="constant" href="constant.QUEUE_PROFILING_ENABLE.html"
  1120. title='constant ocl_core::QUEUE_PROFILING_ENABLE'>QUEUE_PROFILING_ENABLE</a></td>
  1121. <td class='docblock-short'>
  1122. </td>
  1123. </tr></table><h2 id='traits' class='section-header'><a href="#traits">Traits</a></h2>
  1124. <table>
  1125. <tr class=' module-item'>
  1126. <td><a class="trait" href="trait.OclNum.html"
  1127. title='trait ocl_core::OclNum'>OclNum</a></td>
  1128. <td class='docblock-short'>
  1129. <p>A set of traits common to numeric built-in OpenCL scalar and vector
  1130. primitives.</p>
  1131. </td>
  1132. </tr>
  1133. <tr class=' module-item'>
  1134. <td><a class="trait" href="trait.OclPrm.html"
  1135. title='trait ocl_core::OclPrm'>OclPrm</a></td>
  1136. <td class='docblock-short'>
  1137. <p>A primitive type usable within <code>OpenCL</code> kernels.</p>
  1138. </td>
  1139. </tr>
  1140. <tr class=' module-item'>
  1141. <td><a class="trait" href="trait.OclScl.html"
  1142. title='trait ocl_core::OclScl'>OclScl</a></td>
  1143. <td class='docblock-short'>
  1144. <p>A scalar type usable within OpenCL kernels.</p>
  1145. </td>
  1146. </tr>
  1147. <tr class=' module-item'>
  1148. <td><a class="trait" href="trait.OclVec.html"
  1149. title='trait ocl_core::OclVec'>OclVec</a></td>
  1150. <td class='docblock-short'>
  1151. <p>A vector type usable within <code>OpenCL</code> kernels.</p>
  1152. </td>
  1153. </tr></table><h2 id='functions' class='section-header'><a href="#functions">Functions</a></h2>
  1154. <table>
  1155. <tr class=' module-item'>
  1156. <td><a class="fn" href="fn._complete_user_event.html"
  1157. title='fn ocl_core::_complete_user_event'>_complete_user_event</a></td>
  1158. <td class='docblock-short'>
  1159. <p>If <code>event_status</code> is <code>CommandExecutionStatus::Complete</code>, the <code>cl_event</code>
  1160. pointed to by <code>user_data</code> will be set to the same.</p>
  1161. </td>
  1162. </tr>
  1163. <tr class=' module-item'>
  1164. <td><a class="fn" href="fn._dummy_event_callback.html"
  1165. title='fn ocl_core::_dummy_event_callback'>_dummy_event_callback</a></td>
  1166. <td class='docblock-short'>
  1167. <p>Don't be a dummy. Buckle your <code>_dummy_callback</code>.</p>
  1168. </td>
  1169. </tr>
  1170. <tr class=' module-item'>
  1171. <td><a class="fn" href="fn.build_program.html"
  1172. title='fn ocl_core::build_program'>build_program</a></td>
  1173. <td class='docblock-short'>
  1174. <p>Builds a program.</p>
  1175. </td>
  1176. </tr>
  1177. <tr class=' module-item'>
  1178. <td><a class="fn" href="fn.compile_program.html"
  1179. title='fn ocl_core::compile_program'>compile_program</a></td>
  1180. <td class='docblock-short'>
  1181. <p>[UNIMPLEMENTED: Please implement me]</p>
  1182. </td>
  1183. </tr>
  1184. <tr class=' module-item'>
  1185. <td><a class="fn" href="fn.create_buffer.html"
  1186. title='fn ocl_core::create_buffer'>create_buffer</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
  1187. <td class='docblock-short'>
  1188. <p>Returns a new buffer pointer with size (bytes): <code>len</code> * sizeof(T).</p>
  1189. </td>
  1190. </tr>
  1191. <tr class=' module-item'>
  1192. <td><a class="fn" href="fn.create_build_program.html"
  1193. title='fn ocl_core::create_build_program'>create_build_program</a></td>
  1194. <td class='docblock-short'>
  1195. <p>Creates, builds, and returns a new program pointer from <code>src_strings</code>.</p>
  1196. </td>
  1197. </tr>
  1198. <tr class=' module-item'>
  1199. <td><a class="fn" href="fn.create_command_queue.html"
  1200. title='fn ocl_core::create_command_queue'>create_command_queue</a></td>
  1201. <td class='docblock-short'>
  1202. <p>Returns a new command queue pointer.</p>
  1203. </td>
  1204. </tr>
  1205. <tr class=' module-item'>
  1206. <td><a class="fn" href="fn.create_context.html"
  1207. title='fn ocl_core::create_context'>create_context</a></td>
  1208. <td class='docblock-short'>
  1209. <p>Creates a new context pointer valid for all devices in <code>device_ids</code>.</p>
  1210. </td>
  1211. </tr>
  1212. <tr class=' module-item'>
  1213. <td><a class="fn" href="fn.create_context_from_type.html"
  1214. title='fn ocl_core::create_context_from_type'>create_context_from_type</a></td>
  1215. <td class='docblock-short'>
  1216. <p>Creates a new context pointer for all devices of a specific type.</p>
  1217. </td>
  1218. </tr>
  1219. <tr class=' module-item'>
  1220. <td><a class="fn" href="fn.create_from_gl_buffer.html"
  1221. title='fn ocl_core::create_from_gl_buffer'>create_from_gl_buffer</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
  1222. <td class='docblock-short'>
  1223. <p>Return a buffer pointer from a <code>OpenGL</code> buffer object.</p>
  1224. </td>
  1225. </tr>
  1226. <tr class=' module-item'>
  1227. <td><a class="fn" href="fn.create_from_gl_renderbuffer.html"
  1228. title='fn ocl_core::create_from_gl_renderbuffer'>create_from_gl_renderbuffer</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
  1229. <td class='docblock-short'>
  1230. <p>Return a renderbuffer pointer from a <code>OpenGL</code> renderbuffer object.</p>
  1231. </td>
  1232. </tr>
  1233. <tr class=' module-item'>
  1234. <td><a class="fn" href="fn.create_from_gl_texture.html"
  1235. title='fn ocl_core::create_from_gl_texture'>create_from_gl_texture</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
  1236. <td class='docblock-short'>
  1237. <p>Return a texture2D pointer from a <code>OpenGL</code> texture2D object.</p>
  1238. </td>
  1239. </tr>
  1240. <tr class=' module-item'>
  1241. <td><a class="fn" href="fn.create_from_gl_texture_2d.html"
  1242. title='fn ocl_core::create_from_gl_texture_2d'>create_from_gl_texture_2d</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
  1243. <td class='docblock-short'>
  1244. <p>Return a texture2D pointer from a <code>OpenGL</code> texture2D object.</p>
  1245. </td>
  1246. </tr>
  1247. <tr class=' module-item'>
  1248. <td><a class="fn" href="fn.create_from_gl_texture_3d.html"
  1249. title='fn ocl_core::create_from_gl_texture_3d'>create_from_gl_texture_3d</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
  1250. <td class='docblock-short'>
  1251. <p>Return a texture3D pointer from a <code>OpenGL</code> texture3D object.</p>
  1252. </td>
  1253. </tr>
  1254. <tr class=' module-item'>
  1255. <td><a class="fn" href="fn.create_image.html"
  1256. title='fn ocl_core::create_image'>create_image</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
  1257. <td class='docblock-short'>
  1258. <p>Returns a new image (mem) pointer.</p>
  1259. </td>
  1260. </tr>
  1261. <tr class=' module-item'>
  1262. <td><a class="fn" href="fn.create_kernel.html"
  1263. title='fn ocl_core::create_kernel'>create_kernel</a></td>
  1264. <td class='docblock-short'>
  1265. <p>Returns a new kernel.</p>
  1266. </td>
  1267. </tr>
  1268. <tr class=' module-item'>
  1269. <td><a class="fn" href="fn.create_kernels_in_program.html"
  1270. title='fn ocl_core::create_kernels_in_program'>create_kernels_in_program</a></td>
  1271. <td class='docblock-short'>
  1272. <p>[UNIMPLEMENTED: Please implement me]</p>
  1273. </td>
  1274. </tr>
  1275. <tr class=' module-item'>
  1276. <td><a class="fn" href="fn.create_program_with_binary.html"
  1277. title='fn ocl_core::create_program_with_binary'>create_program_with_binary</a></td>
  1278. <td class='docblock-short'>
  1279. <p>Creates a program object for a context, and loads the binary bits
  1280. specified by binary into the program object.</p>
  1281. </td>
  1282. </tr>
  1283. <tr class=' module-item'>
  1284. <td><a class="fn" href="fn.create_program_with_built_in_kernels.html"
  1285. title='fn ocl_core::create_program_with_built_in_kernels'>create_program_with_built_in_kernels</a></td>
  1286. <td class='docblock-short'>
  1287. <p>[UNIMPLEMENTED: Please implement me]</p>
  1288. </td>
  1289. </tr>
  1290. <tr class=' module-item'>
  1291. <td><a class="fn" href="fn.create_program_with_source.html"
  1292. title='fn ocl_core::create_program_with_source'>create_program_with_source</a></td>
  1293. <td class='docblock-short'>
  1294. <p>Creates a new program.</p>
  1295. </td>
  1296. </tr>
  1297. <tr class=' module-item'>
  1298. <td><a class="fn" href="fn.create_sampler.html"
  1299. title='fn ocl_core::create_sampler'>create_sampler</a></td>
  1300. <td class='docblock-short'>
  1301. <p>Creates and returns a new sampler object.</p>
  1302. </td>
  1303. </tr>
  1304. <tr class=' module-item'>
  1305. <td><a class="fn" href="fn.create_sub_buffer.html"
  1306. title='fn ocl_core::create_sub_buffer'>create_sub_buffer</a></td>
  1307. <td class='docblock-short'>
  1308. <p>Creates a new buffer object (referred to as a sub-buffer object) from an
  1309. existing buffer object.</p>
  1310. </td>
  1311. </tr>
  1312. <tr class=' module-item'>
  1313. <td><a class="fn" href="fn.create_sub_devices.html"
  1314. title='fn ocl_core::create_sub_devices'>create_sub_devices</a></td>
  1315. <td class='docblock-short'>
  1316. <p>[UNIMPLEMENTED: Please implement me]</p>
  1317. </td>
  1318. </tr>
  1319. <tr class=' module-item'>
  1320. <td><a class="fn" href="fn.create_user_event.html"
  1321. title='fn ocl_core::create_user_event'>create_user_event</a></td>
  1322. <td class='docblock-short'>
  1323. <p>Creates an event not already associated with any command.</p>
  1324. </td>
  1325. </tr>
  1326. <tr class=' module-item'>
  1327. <td><a class="fn" href="fn.default_device_type.html"
  1328. title='fn ocl_core::default_device_type'>default_device_type</a></td>
  1329. <td class='docblock-short'>
  1330. <p>Returns the default device type bitflags as specified by environment
  1331. variable or else <code>DEVICE_TYPE_ALL</code>.</p>
  1332. </td>
  1333. </tr>
  1334. <tr class=' module-item'>
  1335. <td><a class="fn" href="fn.default_platform.html"
  1336. title='fn ocl_core::default_platform'>default_platform</a></td>
  1337. <td class='docblock-short'>
  1338. <p>Returns the default or first platform.</p>
  1339. </td>
  1340. </tr>
  1341. <tr class=' module-item'>
  1342. <td><a class="fn" href="fn.default_platform_idx.html"
  1343. title='fn ocl_core::default_platform_idx'>default_platform_idx</a></td>
  1344. <td class='docblock-short'>
  1345. <p>Returns the default platform if set by an environment variable or config
  1346. file.</p>
  1347. </td>
  1348. </tr>
  1349. <tr class=' module-item'>
  1350. <td><a class="fn" href="fn.device_versions.html"
  1351. title='fn ocl_core::device_versions'>device_versions</a></td>
  1352. <td class='docblock-short'>
  1353. <p>Returns a list of versions for devices.</p>
  1354. </td>
  1355. </tr>
  1356. <tr class=' module-item'>
  1357. <td><a class="fn" href="fn.enqueue_acquire_gl_objects.html"
  1358. title='fn ocl_core::enqueue_acquire_gl_objects'>enqueue_acquire_gl_objects</a></td>
  1359. <td class='docblock-short'>
  1360. <p>Acquire OpenCL memory objects (buffers and images) that have been created
  1361. from OpenGL objects.</p>
  1362. </td>
  1363. </tr>
  1364. <tr class=' module-item'>
  1365. <td><a class="fn" href="fn.enqueue_barrier_with_wait_list.html"
  1366. title='fn ocl_core::enqueue_barrier_with_wait_list'>enqueue_barrier_with_wait_list</a></td>
  1367. <td class='docblock-short'>
  1368. <p>A synchronization point that enqueues a barrier operation.</p>
  1369. </td>
  1370. </tr>
  1371. <tr class=' module-item'>
  1372. <td><a class="fn" href="fn.enqueue_copy_buffer.html"
  1373. title='fn ocl_core::enqueue_copy_buffer'>enqueue_copy_buffer</a></td>
  1374. <td class='docblock-short'>
  1375. <p>Copies the contents of one buffer to another.</p>
  1376. </td>
  1377. </tr>
  1378. <tr class=' module-item'>
  1379. <td><a class="fn" href="fn.enqueue_copy_buffer_rect.html"
  1380. title='fn ocl_core::enqueue_copy_buffer_rect'>enqueue_copy_buffer_rect</a></td>
  1381. <td class='docblock-short'>
  1382. <p>Enqueues a command to copy a rectangular region from a buffer object to
  1383. another buffer object.</p>
  1384. </td>
  1385. </tr>
  1386. <tr class=' module-item'>
  1387. <td><a class="fn" href="fn.enqueue_copy_buffer_to_image.html"
  1388. title='fn ocl_core::enqueue_copy_buffer_to_image'>enqueue_copy_buffer_to_image</a></td>
  1389. <td class='docblock-short'>
  1390. <p>Enqueues a command to copy a buffer object to an image object.</p>
  1391. </td>
  1392. </tr>
  1393. <tr class=' module-item'>
  1394. <td><a class="fn" href="fn.enqueue_copy_image.html"
  1395. title='fn ocl_core::enqueue_copy_image'>enqueue_copy_image</a></td>
  1396. <td class='docblock-short'>
  1397. <p>Enqueues a command to copy image objects.</p>
  1398. </td>
  1399. </tr>
  1400. <tr class=' module-item'>
  1401. <td><a class="fn" href="fn.enqueue_copy_image_to_buffer.html"
  1402. title='fn ocl_core::enqueue_copy_image_to_buffer'>enqueue_copy_image_to_buffer</a></td>
  1403. <td class='docblock-short'>
  1404. <p>Enqueues a command to copy an image object to a buffer object.</p>
  1405. </td>
  1406. </tr>
  1407. <tr class=' module-item'>
  1408. <td><a class="fn" href="fn.enqueue_fill_buffer.html"
  1409. title='fn ocl_core::enqueue_fill_buffer'>enqueue_fill_buffer</a></td>
  1410. <td class='docblock-short'>
  1411. <p>Enqueues a command to fill a buffer object with a pattern of a given pattern size.</p>
  1412. </td>
  1413. </tr>
  1414. <tr class=' module-item'>
  1415. <td><a class="fn" href="fn.enqueue_fill_image.html"
  1416. title='fn ocl_core::enqueue_fill_image'>enqueue_fill_image</a></td>
  1417. <td class='docblock-short'>
  1418. <p>Enqueues a command to fill an image object with a specified color.</p>
  1419. </td>
  1420. </tr>
  1421. <tr class=' module-item'>
  1422. <td><a class="fn" href="fn.enqueue_kernel.html"
  1423. title='fn ocl_core::enqueue_kernel'>enqueue_kernel</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
  1424. <td class='docblock-short'>
  1425. <p>Enqueues a command to execute a kernel on a device.</p>
  1426. </td>
  1427. </tr>
  1428. <tr class=' module-item'>
  1429. <td><a class="fn" href="fn.enqueue_map_buffer.html"
  1430. title='fn ocl_core::enqueue_map_buffer'>enqueue_map_buffer</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
  1431. <td class='docblock-short'>
  1432. <p>Enqueues a command to map a region of the buffer object given
  1433. by <code>buffer</code> into the host address space and returns a pointer to this
  1434. mapped region.</p>
  1435. </td>
  1436. </tr>
  1437. <tr class=' module-item'>
  1438. <td><a class="fn" href="fn.enqueue_map_image.html"
  1439. title='fn ocl_core::enqueue_map_image'>enqueue_map_image</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
  1440. <td class='docblock-short'>
  1441. <p>Enqueues a command to map a region of the image object given by <code>image</code> into
  1442. the host address space and returns a pointer to this mapped region.</p>
  1443. </td>
  1444. </tr>
  1445. <tr class=' module-item'>
  1446. <td><a class="fn" href="fn.enqueue_marker_with_wait_list.html"
  1447. title='fn ocl_core::enqueue_marker_with_wait_list'>enqueue_marker_with_wait_list</a></td>
  1448. <td class='docblock-short'>
  1449. <p>Enqueues a marker command which waits for either a list of events to
  1450. complete, or all previously enqueued commands to complete.</p>
  1451. </td>
  1452. </tr>
  1453. <tr class=' module-item'>
  1454. <td><a class="fn" href="fn.enqueue_migrate_mem_objects.html"
  1455. title='fn ocl_core::enqueue_migrate_mem_objects'>enqueue_migrate_mem_objects</a></td>
  1456. <td class='docblock-short'>
  1457. <p>Enqueues a command to indicate which device a set of memory objects should
  1458. be associated with.</p>
  1459. </td>
  1460. </tr>
  1461. <tr class=' module-item'>
  1462. <td><a class="fn" href="fn.enqueue_native_kernel.html"
  1463. title='fn ocl_core::enqueue_native_kernel'>enqueue_native_kernel</a></td>
  1464. <td class='docblock-short'>
  1465. <p>[UNIMPLEMENTED: Please implement me]</p>
  1466. </td>
  1467. </tr>
  1468. <tr class=' module-item'>
  1469. <td><a class="fn" href="fn.enqueue_read_buffer.html"
  1470. title='fn ocl_core::enqueue_read_buffer'>enqueue_read_buffer</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
  1471. <td class='docblock-short'>
  1472. <p>Enqueues a read from device memory referred to by <code>buffer</code> to device memory,
  1473. <code>data</code>.</p>
  1474. </td>
  1475. </tr>
  1476. <tr class=' module-item'>
  1477. <td><a class="fn" href="fn.enqueue_read_buffer_rect.html"
  1478. title='fn ocl_core::enqueue_read_buffer_rect'>enqueue_read_buffer_rect</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
  1479. <td class='docblock-short'>
  1480. <p>Enqueues a command to read from a rectangular region from a buffer object to host memory.</p>
  1481. </td>
  1482. </tr>
  1483. <tr class=' module-item'>
  1484. <td><a class="fn" href="fn.enqueue_read_image.html"
  1485. title='fn ocl_core::enqueue_read_image'>enqueue_read_image</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
  1486. <td class='docblock-short'>
  1487. <p>Reads an image from device to host memory.</p>
  1488. </td>
  1489. </tr>
  1490. <tr class=' module-item'>
  1491. <td><a class="fn" href="fn.enqueue_release_gl_objects.html"
  1492. title='fn ocl_core::enqueue_release_gl_objects'>enqueue_release_gl_objects</a></td>
  1493. <td class='docblock-short'>
  1494. <p>Release OpenCL memory objects (buffers and images) that have been created
  1495. from OpenGL objects.</p>
  1496. </td>
  1497. </tr>
  1498. <tr class=' module-item'>
  1499. <td><a class="fn" href="fn.enqueue_task.html"
  1500. title='fn ocl_core::enqueue_task'>enqueue_task</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
  1501. <td class='docblock-short'>
  1502. <p>Enqueues a command to execute a kernel on a device.</p>
  1503. </td>
  1504. </tr>
  1505. <tr class=' module-item'>
  1506. <td><a class="fn" href="fn.enqueue_unmap_mem_object.html"
  1507. title='fn ocl_core::enqueue_unmap_mem_object'>enqueue_unmap_mem_object</a></td>
  1508. <td class='docblock-short'>
  1509. <p>Enqueues a command to unmap a previously mapped region of a memory object.</p>
  1510. </td>
  1511. </tr>
  1512. <tr class=' module-item'>
  1513. <td><a class="fn" href="fn.enqueue_write_buffer.html"
  1514. title='fn ocl_core::enqueue_write_buffer'>enqueue_write_buffer</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
  1515. <td class='docblock-short'>
  1516. <p>Enqueues a write from host memory, <code>data</code>, to device memory referred to by
  1517. <code>buffer</code>.</p>
  1518. </td>
  1519. </tr>
  1520. <tr class=' module-item'>
  1521. <td><a class="fn" href="fn.enqueue_write_buffer_rect.html"
  1522. title='fn ocl_core::enqueue_write_buffer_rect'>enqueue_write_buffer_rect</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
  1523. <td class='docblock-short'>
  1524. <p>Enqueues a command to write from a rectangular region from host memory to a buffer object.</p>
  1525. </td>
  1526. </tr>
  1527. <tr class=' module-item'>
  1528. <td><a class="fn" href="fn.enqueue_write_image.html"
  1529. title='fn ocl_core::enqueue_write_image'>enqueue_write_image</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
  1530. <td class='docblock-short'>
  1531. <p>Enqueues a command to write to an image or image array object from host memory.</p>
  1532. </td>
  1533. </tr>
  1534. <tr class=' module-item'>
  1535. <td><a class="fn" href="fn.event_is_complete.html"
  1536. title='fn ocl_core::event_is_complete'>event_is_complete</a></td>
  1537. <td class='docblock-short'>
  1538. <p>Returns true if an event is complete, false if not complete.</p>
  1539. </td>
  1540. </tr>
  1541. <tr class=' module-item'>
  1542. <td><a class="fn" href="fn.event_status.html"
  1543. title='fn ocl_core::event_status'>event_status</a></td>
  1544. <td class='docblock-short'>
  1545. <p>Returns the status of <code>event</code>.</p>
  1546. </td>
  1547. </tr>
  1548. <tr class=' module-item'>
  1549. <td><a class="fn" href="fn.finish.html"
  1550. title='fn ocl_core::finish'>finish</a></td>
  1551. <td class='docblock-short'>
  1552. <p>Waits for a queue to finish.</p>
  1553. </td>
  1554. </tr>
  1555. <tr class=' module-item'>
  1556. <td><a class="fn" href="fn.flush.html"
  1557. title='fn ocl_core::flush'>flush</a></td>
  1558. <td class='docblock-short'>
  1559. <p>Flushes a command queue.</p>
  1560. </td>
  1561. </tr>
  1562. <tr class=' module-item'>
  1563. <td><a class="fn" href="fn.get_command_queue_info.html"
  1564. title='fn ocl_core::get_command_queue_info'>get_command_queue_info</a></td>
  1565. <td class='docblock-short'>
  1566. <p>Returns information about a command queue</p>
  1567. </td>
  1568. </tr>
  1569. <tr class=' module-item'>
  1570. <td><a class="fn" href="fn.get_context_info.html"
  1571. title='fn ocl_core::get_context_info'>get_context_info</a></td>
  1572. <td class='docblock-short'>
  1573. <p>Returns various kinds of context information.</p>
  1574. </td>
  1575. </tr>
  1576. <tr class=' module-item'>
  1577. <td><a class="fn" href="fn.get_context_platform.html"
  1578. title='fn ocl_core::get_context_platform'>get_context_platform</a></td>
  1579. <td class='docblock-short'>
  1580. <p>Returns the platform for a context.</p>
  1581. </td>
  1582. </tr>
  1583. <tr class=' module-item'>
  1584. <td><a class="fn" href="fn.get_device_ids.html"
  1585. title='fn ocl_core::get_device_ids'>get_device_ids</a></td>
  1586. <td class='docblock-short'>
  1587. <p>Returns a list of available devices for a particular platform.</p>
  1588. </td>
  1589. </tr>
  1590. <tr class=' module-item'>
  1591. <td><a class="fn" href="fn.get_device_info.html"
  1592. title='fn ocl_core::get_device_info'>get_device_info</a></td>
  1593. <td class='docblock-short'>
  1594. <p>Returns information about a device.</p>
  1595. </td>
  1596. </tr>
  1597. <tr class=' module-item'>
  1598. <td><a class="fn" href="fn.get_event_info.html"
  1599. title='fn ocl_core::get_event_info'>get_event_info</a></td>
  1600. <td class='docblock-short'>
  1601. <p>Get event info.</p>
  1602. </td>
  1603. </tr>
  1604. <tr class=' module-item'>
  1605. <td><a class="fn" href="fn.get_event_profiling_info.html"
  1606. title='fn ocl_core::get_event_profiling_info'>get_event_profiling_info</a></td>
  1607. <td class='docblock-short'>
  1608. <p>Get event profiling info (for debugging / benchmarking).</p>
  1609. </td>
  1610. </tr>
  1611. <tr class=' module-item'>
  1612. <td><a class="fn" href="fn.get_extension_function_address_for_platform.html"
  1613. title='fn ocl_core::get_extension_function_address_for_platform'>get_extension_function_address_for_platform</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
  1614. <td class='docblock-short'>
  1615. <p>Returns the address of the extension function named by
  1616. <code>func_name</code> for a given platform.</p>
  1617. </td>
  1618. </tr>
  1619. <tr class=' module-item'>
  1620. <td><a class="fn" href="fn.get_gl_context_info_khr.html"
  1621. title='fn ocl_core::get_gl_context_info_khr'>get_gl_context_info_khr</a></td>
  1622. <td class='docblock-short'>
  1623. <p>[INOPERATIVE: Needs troubleshooting] Returns OpenGL context information.</p>
  1624. </td>
  1625. </tr>
  1626. <tr class=' module-item'>
  1627. <td><a class="fn" href="fn.get_image_info.html"
  1628. title='fn ocl_core::get_image_info'>get_image_info</a></td>
  1629. <td class='docblock-short'>
  1630. <p>Get image info.</p>
  1631. </td>
  1632. </tr>
  1633. <tr class=' module-item'>
  1634. <td><a class="fn" href="fn.get_kernel_arg_info.html"
  1635. title='fn ocl_core::get_kernel_arg_info'>get_kernel_arg_info</a></td>
  1636. <td class='docblock-short'>
  1637. <p>Get kernel arg info.</p>
  1638. </td>
  1639. </tr>
  1640. <tr class=' module-item'>
  1641. <td><a class="fn" href="fn.get_kernel_info.html"
  1642. title='fn ocl_core::get_kernel_info'>get_kernel_info</a></td>
  1643. <td class='docblock-short'>
  1644. <p>Get kernel info.</p>
  1645. </td>
  1646. </tr>
  1647. <tr class=' module-item'>
  1648. <td><a class="fn" href="fn.get_kernel_work_group_info.html"
  1649. title='fn ocl_core::get_kernel_work_group_info'>get_kernel_work_group_info</a></td>
  1650. <td class='docblock-short'>
  1651. <p>Get kernel work group info.</p>
  1652. </td>
  1653. </tr>
  1654. <tr class=' module-item'>
  1655. <td><a class="fn" href="fn.get_mem_object_info.html"
  1656. title='fn ocl_core::get_mem_object_info'>get_mem_object_info</a></td>
  1657. <td class='docblock-short'>
  1658. <p>Get mem object info.</p>
  1659. </td>
  1660. </tr>
  1661. <tr class=' module-item'>
  1662. <td><a class="fn" href="fn.get_platform_ids.html"
  1663. title='fn ocl_core::get_platform_ids'>get_platform_ids</a></td>
  1664. <td class='docblock-short'>
  1665. <p>Returns a list of available platforms as 'core' objects.</p>
  1666. </td>
  1667. </tr>
  1668. <tr class=' module-item'>
  1669. <td><a class="fn" href="fn.get_platform_info.html"
  1670. title='fn ocl_core::get_platform_info'>get_platform_info</a></td>
  1671. <td class='docblock-short'>
  1672. <p>Returns platform information of the requested type.</p>
  1673. </td>
  1674. </tr>
  1675. <tr class=' module-item'>
  1676. <td><a class="fn" href="fn.get_program_build_info.html"
  1677. title='fn ocl_core::get_program_build_info'>get_program_build_info</a></td>
  1678. <td class='docblock-short'>
  1679. <p>Get program build info.</p>
  1680. </td>
  1681. </tr>
  1682. <tr class=' module-item'>
  1683. <td><a class="fn" href="fn.get_program_info.html"
  1684. title='fn ocl_core::get_program_info'>get_program_info</a></td>
  1685. <td class='docblock-short'>
  1686. <p>Get program info.</p>
  1687. </td>
  1688. </tr>
  1689. <tr class=' module-item'>
  1690. <td><a class="fn" href="fn.get_sampler_info.html"
  1691. title='fn ocl_core::get_sampler_info'>get_sampler_info</a></td>
  1692. <td class='docblock-short'>
  1693. <p>Returns information about the sampler object.</p>
  1694. </td>
  1695. </tr>
  1696. <tr class=' module-item'>
  1697. <td><a class="fn" href="fn.get_supported_image_formats.html"
  1698. title='fn ocl_core::get_supported_image_formats'>get_supported_image_formats</a></td>
  1699. <td class='docblock-short'>
  1700. <p>Returns a list of supported image formats.</p>
  1701. </td>
  1702. </tr>
  1703. <tr class=' module-item'>
  1704. <td><a class="fn" href="fn.link_program.html"
  1705. title='fn ocl_core::link_program'>link_program</a></td>
  1706. <td class='docblock-short'>
  1707. <p>[UNIMPLEMENTED: Please implement me]</p>
  1708. </td>
  1709. </tr>
  1710. <tr class=' module-item'>
  1711. <td><a class="fn" href="fn.program_build_err.html"
  1712. title='fn ocl_core::program_build_err'>program_build_err</a></td>
  1713. <td class='docblock-short'>
  1714. <p>If the program pointed to by <code>cl_program</code> for any of the devices listed in
  1715. <code>device_ids</code> has a build log of any length, it will be returned as an
  1716. errcode result.</p>
  1717. </td>
  1718. </tr>
  1719. <tr class=' module-item'>
  1720. <td><a class="fn" href="fn.release_command_queue.html"
  1721. title='fn ocl_core::release_command_queue'>release_command_queue</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
  1722. <td class='docblock-short'>
  1723. <p>Decrements the reference count of a command queue.</p>
  1724. </td>
  1725. </tr>
  1726. <tr class=' module-item'>
  1727. <td><a class="fn" href="fn.release_context.html"
  1728. title='fn ocl_core::release_context'>release_context</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
  1729. <td class='docblock-short'>
  1730. <p>Decrements reference count of a context.</p>
  1731. </td>
  1732. </tr>
  1733. <tr class=' module-item'>
  1734. <td><a class="fn" href="fn.release_device.html"
  1735. title='fn ocl_core::release_device'>release_device</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
  1736. <td class='docblock-short'>
  1737. <p>Decrements the reference count of a device.</p>
  1738. </td>
  1739. </tr>
  1740. <tr class=' module-item'>
  1741. <td><a class="fn" href="fn.release_event.html"
  1742. title='fn ocl_core::release_event'>release_event</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
  1743. <td class='docblock-short'>
  1744. <p>Decrements an event's reference counter.</p>
  1745. </td>
  1746. </tr>
  1747. <tr class=' module-item'>
  1748. <td><a class="fn" href="fn.release_kernel.html"
  1749. title='fn ocl_core::release_kernel'>release_kernel</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
  1750. <td class='docblock-short'>
  1751. <p>Decrements a kernel reference counter.</p>
  1752. </td>
  1753. </tr>
  1754. <tr class=' module-item'>
  1755. <td><a class="fn" href="fn.release_mem_object.html"
  1756. title='fn ocl_core::release_mem_object'>release_mem_object</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
  1757. <td class='docblock-short'>
  1758. <p>Decrements the reference counter of a mem object.</p>
  1759. </td>
  1760. </tr>
  1761. <tr class=' module-item'>
  1762. <td><a class="fn" href="fn.release_program.html"
  1763. title='fn ocl_core::release_program'>release_program</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
  1764. <td class='docblock-short'>
  1765. <p>Decrements a program reference counter.</p>
  1766. </td>
  1767. </tr>
  1768. <tr class=' module-item'>
  1769. <td><a class="fn" href="fn.release_sampler.html"
  1770. title='fn ocl_core::release_sampler'>release_sampler</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
  1771. <td class='docblock-short'>
  1772. <p>Decrements a sampler reference counter.</p>
  1773. </td>
  1774. </tr>
  1775. <tr class=' module-item'>
  1776. <td><a class="fn" href="fn.retain_command_queue.html"
  1777. title='fn ocl_core::retain_command_queue'>retain_command_queue</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
  1778. <td class='docblock-short'>
  1779. <p>Increments the reference count of a command queue.</p>
  1780. </td>
  1781. </tr>
  1782. <tr class=' module-item'>
  1783. <td><a class="fn" href="fn.retain_context.html"
  1784. title='fn ocl_core::retain_context'>retain_context</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
  1785. <td class='docblock-short'>
  1786. <p>Increments the reference count of a context.</p>
  1787. </td>
  1788. </tr>
  1789. <tr class=' module-item'>
  1790. <td><a class="fn" href="fn.retain_device.html"
  1791. title='fn ocl_core::retain_device'>retain_device</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
  1792. <td class='docblock-short'>
  1793. <p>Increments the reference count of a device.</p>
  1794. </td>
  1795. </tr>
  1796. <tr class=' module-item'>
  1797. <td><a class="fn" href="fn.retain_event.html"
  1798. title='fn ocl_core::retain_event'>retain_event</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
  1799. <td class='docblock-short'>
  1800. <p>Increments an event's reference counter.</p>
  1801. </td>
  1802. </tr>
  1803. <tr class=' module-item'>
  1804. <td><a class="fn" href="fn.retain_kernel.html"
  1805. title='fn ocl_core::retain_kernel'>retain_kernel</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
  1806. <td class='docblock-short'>
  1807. <p>Increments a kernel reference counter.</p>
  1808. </td>
  1809. </tr>
  1810. <tr class=' module-item'>
  1811. <td><a class="fn" href="fn.retain_mem_object.html"
  1812. title='fn ocl_core::retain_mem_object'>retain_mem_object</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
  1813. <td class='docblock-short'>
  1814. <p>Increments the reference counter of a mem object.</p>
  1815. </td>
  1816. </tr>
  1817. <tr class=' module-item'>
  1818. <td><a class="fn" href="fn.retain_program.html"
  1819. title='fn ocl_core::retain_program'>retain_program</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
  1820. <td class='docblock-short'>
  1821. <p>Increments a program reference counter.</p>
  1822. </td>
  1823. </tr>
  1824. <tr class=' module-item'>
  1825. <td><a class="fn" href="fn.retain_sampler.html"
  1826. title='fn ocl_core::retain_sampler'>retain_sampler</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
  1827. <td class='docblock-short'>
  1828. <p>Increments a sampler reference counter.</p>
  1829. </td>
  1830. </tr>
  1831. <tr class=' module-item'>
  1832. <td><a class="fn" href="fn.set_event_callback.html"
  1833. title='fn ocl_core::set_event_callback'>set_event_callback</a><a title='unsafe function' href='#'><sup>⚠</sup></a></td>
  1834. <td class='docblock-short'>
  1835. <p>Sets a callback function which is called as soon as the <code>callback_trigger</code>
  1836. status is reached.</p>
  1837. </td>
  1838. </tr>
  1839. <tr class=' module-item'>
  1840. <td><a class="fn" href="fn.set_kernel_arg.html"
  1841. title='fn ocl_core::set_kernel_arg'>set_kernel_arg</a></td>
  1842. <td class='docblock-short'>
  1843. <p>Sets the argument value for the kernel argument at <code>index</code>.</p>
  1844. </td>
  1845. </tr>
  1846. <tr class=' module-item'>
  1847. <td><a class="fn" href="fn.set_mem_object_destructor_callback.html"
  1848. title='fn ocl_core::set_mem_object_destructor_callback'>set_mem_object_destructor_callback</a></td>
  1849. <td class='docblock-short'>
  1850. <p>[UNIMPLEMENTED: Please implement me]</p>
  1851. </td>
  1852. </tr>
  1853. <tr class=' module-item'>
  1854. <td><a class="fn" href="fn.set_user_event_status.html"
  1855. title='fn ocl_core::set_user_event_status'>set_user_event_status</a></td>
  1856. <td class='docblock-short'>
  1857. <p>Updates a user events status.</p>
  1858. </td>
  1859. </tr>
  1860. <tr class=' module-item'>
  1861. <td><a class="fn" href="fn.verify_context.html"
  1862. title='fn ocl_core::verify_context'>verify_context</a></td>
  1863. <td class='docblock-short'>
  1864. <p>Verifies that the <code>context</code> is in fact a context object pointer.</p>
  1865. </td>
  1866. </tr>
  1867. <tr class=' module-item'>
  1868. <td><a class="fn" href="fn.wait_for_event.html"
  1869. title='fn ocl_core::wait_for_event'>wait_for_event</a></td>
  1870. <td class='docblock-short'>
  1871. <p>Blocks until an event is complete.</p>
  1872. </td>
  1873. </tr>
  1874. <tr class=' module-item'>
  1875. <td><a class="fn" href="fn.wait_for_events.html"
  1876. title='fn ocl_core::wait_for_events'>wait_for_events</a></td>
  1877. <td class='docblock-short'>
  1878. <p>Blocks until the first <code>num_events</code> events in <code>event_list</code> are complete.</p>
  1879. </td>
  1880. </tr></table><h2 id='types' class='section-header'><a href="#types">Type Definitions</a></h2>
  1881. <table>
  1882. <tr class=' module-item'>
  1883. <td><a class="type" href="type.BuildProgramCallbackFn.html"
  1884. title='type ocl_core::BuildProgramCallbackFn'>BuildProgramCallbackFn</a></td>
  1885. <td class='docblock-short'>
  1886. </td>
  1887. </tr>
  1888. <tr class=' module-item'>
  1889. <td><a class="type" href="type.CreateContextCallbackFn.html"
  1890. title='type ocl_core::CreateContextCallbackFn'>CreateContextCallbackFn</a></td>
  1891. <td class='docblock-short'>
  1892. </td>
  1893. </tr>
  1894. <tr class=' module-item'>
  1895. <td><a class="type" href="type.EventCallbackFn.html"
  1896. title='type ocl_core::EventCallbackFn'>EventCallbackFn</a></td>
  1897. <td class='docblock-short'>
  1898. </td>
  1899. </tr>
  1900. <tr class=' module-item'>
  1901. <td><a class="type" href="type.UserDataPtr.html"
  1902. title='type ocl_core::UserDataPtr'>UserDataPtr</a></td>
  1903. <td class='docblock-short'>
  1904. </td>
  1905. </tr></table></section>
  1906. <section id='search' class="content hidden"></section>
  1907. <section class="footer"></section>
  1908. <aside id="help" class="hidden">
  1909. <div>
  1910. <h1 class="hidden">Help</h1>
  1911. <div class="shortcuts">
  1912. <h2>Keyboard Shortcuts</h2>
  1913. <dl>
  1914. <dt><kbd>?</kbd></dt>
  1915. <dd>Show this help dialog</dd>
  1916. <dt><kbd>S</kbd></dt>
  1917. <dd>Focus the search field</dd>
  1918. <dt><kbd>↑</kbd></dt>
  1919. <dd>Move up in search results</dd>
  1920. <dt><kbd>↓</kbd></dt>
  1921. <dd>Move down in search results</dd>
  1922. <dt><kbd>↹</kbd></dt>
  1923. <dd>Switch tab</dd>
  1924. <dt><kbd>&#9166;</kbd></dt>
  1925. <dd>Go to active search result</dd>
  1926. <dt><kbd>+</kbd></dt>
  1927. <dd>Expand all sections</dd>
  1928. <dt><kbd>-</kbd></dt>
  1929. <dd>Collapse all sections</dd>
  1930. </dl>
  1931. </div>
  1932. <div class="infos">
  1933. <h2>Search Tricks</h2>
  1934. <p>
  1935. Prefix searches with a type followed by a colon (e.g.
  1936. <code>fn:</code>) to restrict the search to a given type.
  1937. </p>
  1938. <p>
  1939. Accepted types are: <code>fn</code>, <code>mod</code>,
  1940. <code>struct</code>, <code>enum</code>,
  1941. <code>trait</code>, <code>type</code>, <code>macro</code>,
  1942. and <code>const</code>.
  1943. </p>
  1944. <p>
  1945. Search functions by type signature (e.g.
  1946. <code>vec -> usize</code> or <code>* -> vec</code>)
  1947. </p>
  1948. </div>
  1949. </div>
  1950. </aside>
  1951. <script>
  1952. window.rootPath = "../";
  1953. window.currentCrate = "ocl_core";
  1954. </script>
  1955. <script src="../main.js"></script>
  1956. <script defer src="../search-index.js"></script>
  1957. </body>
  1958. </html>