/usr/share/doc/opencl-clhpp-headers/html/classcl_1_1_platform.html is in opencl-clhpp-headers-doc 2.0.10-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>OpenCL C++ Bindings: cl::Platform Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">OpenCL C++ Bindings
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classcl_1_1_platform.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-static-methods">Static Public Member Functions</a> |
<a href="classcl_1_1_platform-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">cl::Platform Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Class interface for cl_platform_id.
<a href="classcl_1_1_platform.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for cl::Platform:</div>
<div class="dyncontent">
<div class="center">
<img src="classcl_1_1_platform.png" usemap="#cl::Platform_map" alt=""/>
<map id="cl::Platform_map" name="cl::Platform_map">
<area href="classcl_1_1detail_1_1_wrapper.html" alt="cl::detail::Wrapper< cl_platform_id >" shape="rect" coords="0,0,216,24"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a616344e02c3723347c752c02b7015212"><td class="memItemLeft" align="right" valign="top"><a id="a616344e02c3723347c752c02b7015212"></a>
 </td><td class="memItemRight" valign="bottom"><a class="el" href="classcl_1_1_platform.html#a616344e02c3723347c752c02b7015212">Platform</a> ()</td></tr>
<tr class="memdesc:a616344e02c3723347c752c02b7015212"><td class="mdescLeft"> </td><td class="mdescRight">Default constructor - initializes to NULL. <br /></td></tr>
<tr class="separator:a616344e02c3723347c752c02b7015212"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a339232a64068fe7157e124b82fb4b9fa"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcl_1_1_platform.html#a339232a64068fe7157e124b82fb4b9fa">Platform</a> (const cl_platform_id &platform, bool retainObject=false)</td></tr>
<tr class="memdesc:a339232a64068fe7157e124b82fb4b9fa"><td class="mdescLeft"> </td><td class="mdescRight">Constructor from cl_platform_id. <a href="#a339232a64068fe7157e124b82fb4b9fa">More...</a><br /></td></tr>
<tr class="separator:a339232a64068fe7157e124b82fb4b9fa"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aea2f06c8796a53c641fa5e17800b2ead"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classcl_1_1_platform.html">Platform</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classcl_1_1_platform.html#aea2f06c8796a53c641fa5e17800b2ead">operator=</a> (const cl_platform_id &rhs)</td></tr>
<tr class="memdesc:aea2f06c8796a53c641fa5e17800b2ead"><td class="mdescLeft"> </td><td class="mdescRight">Assignment operator from cl_platform_id. <a href="#aea2f06c8796a53c641fa5e17800b2ead">More...</a><br /></td></tr>
<tr class="separator:aea2f06c8796a53c641fa5e17800b2ead"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5000dc4a51c43e9e9bf851c695cf16f2"><td class="memItemLeft" align="right" valign="top"><a id="a5000dc4a51c43e9e9bf851c695cf16f2"></a>
cl_int </td><td class="memItemRight" valign="bottom"><a class="el" href="classcl_1_1_platform.html#a5000dc4a51c43e9e9bf851c695cf16f2">getInfo</a> (cl_platform_info name, string *param) const</td></tr>
<tr class="memdesc:a5000dc4a51c43e9e9bf851c695cf16f2"><td class="mdescLeft"> </td><td class="mdescRight">Wrapper for clGetPlatformInfo(). <br /></td></tr>
<tr class="separator:a5000dc4a51c43e9e9bf851c695cf16f2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa7d1ac92678763f18a40c7bb026b6fb1"><td class="memTemplParams" colspan="2"><a id="aa7d1ac92678763f18a40c7bb026b6fb1"></a>
template<cl_int name> </td></tr>
<tr class="memitem:aa7d1ac92678763f18a40c7bb026b6fb1"><td class="memTemplItemLeft" align="right" valign="top"><a class="el" href="structcl_1_1detail_1_1param__traits.html">detail::param_traits</a>< detail::cl_platform_info, name >::param_type </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classcl_1_1_platform.html#aa7d1ac92678763f18a40c7bb026b6fb1">getInfo</a> (cl_int *err=NULL) const</td></tr>
<tr class="memdesc:aa7d1ac92678763f18a40c7bb026b6fb1"><td class="mdescLeft"> </td><td class="mdescRight">Wrapper for clGetPlatformInfo() that returns by value. <br /></td></tr>
<tr class="separator:aa7d1ac92678763f18a40c7bb026b6fb1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a73cf4b02df3beafae1a97a91ee3e9565"><td class="memItemLeft" align="right" valign="top">cl_int </td><td class="memItemRight" valign="bottom"><a class="el" href="classcl_1_1_platform.html#a73cf4b02df3beafae1a97a91ee3e9565">getDevices</a> (cl_device_type type, vector< <a class="el" href="classcl_1_1_device.html">Device</a> > *devices) const</td></tr>
<tr class="memdesc:a73cf4b02df3beafae1a97a91ee3e9565"><td class="mdescLeft"> </td><td class="mdescRight">Gets a list of devices for this platform. <a href="#a73cf4b02df3beafae1a97a91ee3e9565">More...</a><br /></td></tr>
<tr class="separator:a73cf4b02df3beafae1a97a91ee3e9565"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a70313ea76e0e369c4dc951a7f47b531f"><td class="memItemLeft" align="right" valign="top"><a id="a70313ea76e0e369c4dc951a7f47b531f"></a>
cl_int </td><td class="memItemRight" valign="bottom"><a class="el" href="classcl_1_1_platform.html#a70313ea76e0e369c4dc951a7f47b531f">unloadCompiler</a> ()</td></tr>
<tr class="memdesc:a70313ea76e0e369c4dc951a7f47b531f"><td class="mdescLeft"> </td><td class="mdescRight">Wrapper for clUnloadCompiler(). <br /></td></tr>
<tr class="separator:a70313ea76e0e369c4dc951a7f47b531f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classcl_1_1detail_1_1_wrapper"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classcl_1_1detail_1_1_wrapper')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classcl_1_1detail_1_1_wrapper.html">cl::detail::Wrapper< cl_platform_id ></a></td></tr>
<tr class="memitem:a98dce667e0f400f2ba15a8a8d65fdea0 inherit pub_methods_classcl_1_1detail_1_1_wrapper"><td class="memItemLeft" align="right" valign="top"><a id="a98dce667e0f400f2ba15a8a8d65fdea0"></a>
 </td><td class="memItemRight" valign="bottom"><b>Wrapper</b> (const cl_type &obj, bool retainObject)</td></tr>
<tr class="separator:a98dce667e0f400f2ba15a8a8d65fdea0 inherit pub_methods_classcl_1_1detail_1_1_wrapper"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af91bafdf8593c34e0d0722cdd93010be inherit pub_methods_classcl_1_1detail_1_1_wrapper"><td class="memItemLeft" align="right" valign="top"><a id="af91bafdf8593c34e0d0722cdd93010be"></a>
 </td><td class="memItemRight" valign="bottom"><b>Wrapper</b> (const <a class="el" href="classcl_1_1detail_1_1_wrapper.html">Wrapper</a>< cl_type > &rhs)</td></tr>
<tr class="separator:af91bafdf8593c34e0d0722cdd93010be inherit pub_methods_classcl_1_1detail_1_1_wrapper"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a115618e2baf10ec5c09513394d985ea6 inherit pub_methods_classcl_1_1detail_1_1_wrapper"><td class="memItemLeft" align="right" valign="top"><a id="a115618e2baf10ec5c09513394d985ea6"></a>
 </td><td class="memItemRight" valign="bottom"><b>Wrapper</b> (<a class="el" href="classcl_1_1detail_1_1_wrapper.html">Wrapper</a>< cl_type > &&rhs) CL_HPP_NOEXCEPT_</td></tr>
<tr class="separator:a115618e2baf10ec5c09513394d985ea6 inherit pub_methods_classcl_1_1detail_1_1_wrapper"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a044bc05bb3eb90345cb9cf574b95a98f inherit pub_methods_classcl_1_1detail_1_1_wrapper"><td class="memItemLeft" align="right" valign="top"><a id="a044bc05bb3eb90345cb9cf574b95a98f"></a>
<a class="el" href="classcl_1_1detail_1_1_wrapper.html">Wrapper</a>< cl_type > & </td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="classcl_1_1detail_1_1_wrapper.html">Wrapper</a>< cl_type > &rhs)</td></tr>
<tr class="separator:a044bc05bb3eb90345cb9cf574b95a98f inherit pub_methods_classcl_1_1detail_1_1_wrapper"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2d10265f9935f18fed55abe2560cd199 inherit pub_methods_classcl_1_1detail_1_1_wrapper"><td class="memItemLeft" align="right" valign="top"><a id="a2d10265f9935f18fed55abe2560cd199"></a>
<a class="el" href="classcl_1_1detail_1_1_wrapper.html">Wrapper</a>< cl_type > & </td><td class="memItemRight" valign="bottom"><b>operator=</b> (<a class="el" href="classcl_1_1detail_1_1_wrapper.html">Wrapper</a>< cl_type > &&rhs)</td></tr>
<tr class="separator:a2d10265f9935f18fed55abe2560cd199 inherit pub_methods_classcl_1_1detail_1_1_wrapper"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a47164ab536bdd1bdc4b9766354b5a982 inherit pub_methods_classcl_1_1detail_1_1_wrapper"><td class="memItemLeft" align="right" valign="top"><a id="a47164ab536bdd1bdc4b9766354b5a982"></a>
<a class="el" href="classcl_1_1detail_1_1_wrapper.html">Wrapper</a>< cl_type > & </td><td class="memItemRight" valign="bottom"><b>operator=</b> (const cl_type &rhs)</td></tr>
<tr class="separator:a47164ab536bdd1bdc4b9766354b5a982 inherit pub_methods_classcl_1_1detail_1_1_wrapper"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a89adf70432169d0b0a82bc6696a9aad1 inherit pub_methods_classcl_1_1detail_1_1_wrapper"><td class="memItemLeft" align="right" valign="top"><a id="a89adf70432169d0b0a82bc6696a9aad1"></a>
const cl_type & </td><td class="memItemRight" valign="bottom"><b>operator()</b> () const</td></tr>
<tr class="separator:a89adf70432169d0b0a82bc6696a9aad1 inherit pub_methods_classcl_1_1detail_1_1_wrapper"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5aa32c6d3304d4ee9fb63491a72b0d58 inherit pub_methods_classcl_1_1detail_1_1_wrapper"><td class="memItemLeft" align="right" valign="top"><a id="a5aa32c6d3304d4ee9fb63491a72b0d58"></a>
cl_type & </td><td class="memItemRight" valign="bottom"><b>operator()</b> ()</td></tr>
<tr class="separator:a5aa32c6d3304d4ee9fb63491a72b0d58 inherit pub_methods_classcl_1_1detail_1_1_wrapper"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1b785e6bbf238183338a22800a6fe1d1 inherit pub_methods_classcl_1_1detail_1_1_wrapper"><td class="memItemLeft" align="right" valign="top"><a id="a1b785e6bbf238183338a22800a6fe1d1"></a>
const cl_type </td><td class="memItemRight" valign="bottom"><b>get</b> () const</td></tr>
<tr class="separator:a1b785e6bbf238183338a22800a6fe1d1 inherit pub_methods_classcl_1_1detail_1_1_wrapper"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4e9571071a0b51bb2fada511a1ebc964 inherit pub_methods_classcl_1_1detail_1_1_wrapper"><td class="memItemLeft" align="right" valign="top"><a id="a4e9571071a0b51bb2fada511a1ebc964"></a>
cl_type </td><td class="memItemRight" valign="bottom"><b>get</b> ()</td></tr>
<tr class="separator:a4e9571071a0b51bb2fada511a1ebc964 inherit pub_methods_classcl_1_1detail_1_1_wrapper"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a01bea413d721189214cc59cfbc5d092d"><td class="memItemLeft" align="right" valign="top"><a id="a01bea413d721189214cc59cfbc5d092d"></a>
static <a class="el" href="classcl_1_1_platform.html">Platform</a> </td><td class="memItemRight" valign="bottom"><b>getDefault</b> (cl_int *errResult=NULL)</td></tr>
<tr class="separator:a01bea413d721189214cc59cfbc5d092d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afcf93176bebefc3add081c2d93935453"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classcl_1_1_platform.html">Platform</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcl_1_1_platform.html#afcf93176bebefc3add081c2d93935453">setDefault</a> (const <a class="el" href="classcl_1_1_platform.html">Platform</a> &default_platform)</td></tr>
<tr class="separator:afcf93176bebefc3add081c2d93935453"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af15bd8dced161daee0c5289178c8a0e1"><td class="memItemLeft" align="right" valign="top">static cl_int </td><td class="memItemRight" valign="bottom"><a class="el" href="classcl_1_1_platform.html#af15bd8dced161daee0c5289178c8a0e1">get</a> (vector< <a class="el" href="classcl_1_1_platform.html">Platform</a> > *platforms)</td></tr>
<tr class="memdesc:af15bd8dced161daee0c5289178c8a0e1"><td class="mdescLeft"> </td><td class="mdescRight">Gets a list of available platforms. <a href="#af15bd8dced161daee0c5289178c8a0e1">More...</a><br /></td></tr>
<tr class="separator:af15bd8dced161daee0c5289178c8a0e1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2a60edf4cfdfda695919c2879a9ae64e"><td class="memItemLeft" align="right" valign="top">static cl_int </td><td class="memItemRight" valign="bottom"><a class="el" href="classcl_1_1_platform.html#a2a60edf4cfdfda695919c2879a9ae64e">get</a> (<a class="el" href="classcl_1_1_platform.html">Platform</a> *platform)</td></tr>
<tr class="memdesc:a2a60edf4cfdfda695919c2879a9ae64e"><td class="mdescLeft"> </td><td class="mdescRight">Gets the first available platform. <a href="#a2a60edf4cfdfda695919c2879a9ae64e">More...</a><br /></td></tr>
<tr class="separator:a2a60edf4cfdfda695919c2879a9ae64e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a87f6baad09c31e9f2bc8755a61439d04"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classcl_1_1_platform.html">Platform</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcl_1_1_platform.html#a87f6baad09c31e9f2bc8755a61439d04">get</a> (cl_int *errResult=NULL)</td></tr>
<tr class="memdesc:a87f6baad09c31e9f2bc8755a61439d04"><td class="mdescLeft"> </td><td class="mdescRight">Gets the first available platform, returning it by value. <a href="#a87f6baad09c31e9f2bc8755a61439d04">More...</a><br /></td></tr>
<tr class="separator:a87f6baad09c31e9f2bc8755a61439d04"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_types_classcl_1_1detail_1_1_wrapper"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classcl_1_1detail_1_1_wrapper')"><img src="closed.png" alt="-"/> Public Types inherited from <a class="el" href="classcl_1_1detail_1_1_wrapper.html">cl::detail::Wrapper< cl_platform_id ></a></td></tr>
<tr class="memitem:a83841267bac5ad4411ec8935f78315d8 inherit pub_types_classcl_1_1detail_1_1_wrapper"><td class="memItemLeft" align="right" valign="top"><a id="a83841267bac5ad4411ec8935f78315d8"></a>
typedef cl_platform_id </td><td class="memItemRight" valign="bottom"><b>cl_type</b></td></tr>
<tr class="separator:a83841267bac5ad4411ec8935f78315d8 inherit pub_types_classcl_1_1detail_1_1_wrapper"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_methods_classcl_1_1detail_1_1_wrapper"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classcl_1_1detail_1_1_wrapper')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classcl_1_1detail_1_1_wrapper.html">cl::detail::Wrapper< cl_platform_id ></a></td></tr>
<tr class="memitem:adfdff8a6c98ca62fedc6a9ffced47a06 inherit pro_methods_classcl_1_1detail_1_1_wrapper"><td class="memItemLeft" align="right" valign="top"><a id="adfdff8a6c98ca62fedc6a9ffced47a06"></a>
cl_int </td><td class="memItemRight" valign="bottom"><b>retain</b> () const</td></tr>
<tr class="separator:adfdff8a6c98ca62fedc6a9ffced47a06 inherit pro_methods_classcl_1_1detail_1_1_wrapper"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a207374e201c6c33c01bdc7ee09e92d76 inherit pro_methods_classcl_1_1detail_1_1_wrapper"><td class="memItemLeft" align="right" valign="top"><a id="a207374e201c6c33c01bdc7ee09e92d76"></a>
cl_int </td><td class="memItemRight" valign="bottom"><b>release</b> () const</td></tr>
<tr class="separator:a207374e201c6c33c01bdc7ee09e92d76 inherit pro_methods_classcl_1_1detail_1_1_wrapper"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_attribs_classcl_1_1detail_1_1_wrapper"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classcl_1_1detail_1_1_wrapper')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classcl_1_1detail_1_1_wrapper.html">cl::detail::Wrapper< cl_platform_id ></a></td></tr>
<tr class="memitem:a1292547dd0c591aa972e25b793481583 inherit pro_attribs_classcl_1_1detail_1_1_wrapper"><td class="memItemLeft" align="right" valign="top"><a id="a1292547dd0c591aa972e25b793481583"></a>
cl_type </td><td class="memItemRight" valign="bottom"><b>object_</b></td></tr>
<tr class="separator:a1292547dd0c591aa972e25b793481583 inherit pro_attribs_classcl_1_1detail_1_1_wrapper"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Class interface for cl_platform_id. </p>
<dl class="section note"><dt>Note</dt><dd>Copies of these objects are inexpensive, since they don't 'own' any underlying resources or data structures.</dd></dl>
<dl class="section see"><dt>See also</dt><dd>cl_platform_id </dd></dl>
<p>Definition at line <a class="el" href="cl2_8hpp_source.html#l02192">2192</a> of file <a class="el" href="cl2_8hpp_source.html">cl2.hpp</a>.</p>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a id="a339232a64068fe7157e124b82fb4b9fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a339232a64068fe7157e124b82fb4b9fa">§ </a></span>Platform()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">cl::Platform::Platform </td>
<td>(</td>
<td class="paramtype">const cl_platform_id & </td>
<td class="paramname"><em>platform</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>retainObject</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructor from cl_platform_id. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">retainObject</td><td>will cause the constructor to retain its cl object. Defaults to false to maintain compatibility with earlier versions. This simply copies the platform ID value, which is an inexpensive operation. </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="cl2_8hpp_source.html#l02274">2274</a> of file <a class="el" href="cl2_8hpp_source.html">cl2.hpp</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="af15bd8dced161daee0c5289178c8a0e1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af15bd8dced161daee0c5289178c8a0e1">§ </a></span>get() <span class="overload">[1/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static cl_int cl::Platform::get </td>
<td>(</td>
<td class="paramtype">vector< <a class="el" href="classcl_1_1_platform.html">Platform</a> > * </td>
<td class="paramname"><em>platforms</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets a list of available platforms. </p>
<p>Wraps clGetPlatformIDs(). </p>
<p>Definition at line <a class="el" href="cl2_8hpp_source.html#l02466">2466</a> of file <a class="el" href="cl2_8hpp_source.html">cl2.hpp</a>.</p>
</div>
</div>
<a id="a2a60edf4cfdfda695919c2879a9ae64e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2a60edf4cfdfda695919c2879a9ae64e">§ </a></span>get() <span class="overload">[2/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static cl_int cl::Platform::get </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classcl_1_1_platform.html">Platform</a> * </td>
<td class="paramname"><em>platform</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets the first available platform. </p>
<p>Wraps clGetPlatformIDs(), returning the first result. </p>
<p>Definition at line <a class="el" href="cl2_8hpp_source.html#l02501">2501</a> of file <a class="el" href="cl2_8hpp_source.html">cl2.hpp</a>.</p>
</div>
</div>
<a id="a87f6baad09c31e9f2bc8755a61439d04"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a87f6baad09c31e9f2bc8755a61439d04">§ </a></span>get() <span class="overload">[3/3]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classcl_1_1_platform.html">Platform</a> cl::Platform::get </td>
<td>(</td>
<td class="paramtype">cl_int * </td>
<td class="paramname"><em>errResult</em> = <code>NULL</code></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets the first available platform, returning it by value. </p>
<dl class="section return"><dt>Returns</dt><dd>Returns a valid platform if one is available. If no platform is available will return a null platform. Throws an exception if no platforms are available or an error condition occurs. Wraps clGetPlatformIDs(), returning the first result. </dd></dl>
<p>Definition at line <a class="el" href="cl2_8hpp_source.html#l02520">2520</a> of file <a class="el" href="cl2_8hpp_source.html">cl2.hpp</a>.</p>
</div>
</div>
<a id="a73cf4b02df3beafae1a97a91ee3e9565"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a73cf4b02df3beafae1a97a91ee3e9565">§ </a></span>getDevices()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">cl_int cl::Platform::getDevices </td>
<td>(</td>
<td class="paramtype">cl_device_type </td>
<td class="paramname"><em>type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">vector< <a class="el" href="classcl_1_1_device.html">Device</a> > * </td>
<td class="paramname"><em>devices</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets a list of devices for this platform. </p>
<p>Wraps clGetDeviceIDs(). </p>
<p>Definition at line <a class="el" href="cl2_8hpp_source.html#l02338">2338</a> of file <a class="el" href="cl2_8hpp_source.html">cl2.hpp</a>.</p>
</div>
</div>
<a id="aea2f06c8796a53c641fa5e17800b2ead"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aea2f06c8796a53c641fa5e17800b2ead">§ </a></span>operator=()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classcl_1_1_platform.html">Platform</a>& cl::Platform::operator= </td>
<td>(</td>
<td class="paramtype">const cl_platform_id & </td>
<td class="paramname"><em>rhs</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Assignment operator from cl_platform_id. </p>
<p>This simply copies the platform ID value, which is an inexpensive operation. </p>
<p>Definition at line <a class="el" href="cl2_8hpp_source.html#l02281">2281</a> of file <a class="el" href="cl2_8hpp_source.html">cl2.hpp</a>.</p>
</div>
</div>
<a id="afcf93176bebefc3add081c2d93935453"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afcf93176bebefc3add081c2d93935453">§ </a></span>setDefault()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classcl_1_1_platform.html">Platform</a> cl::Platform::setDefault </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classcl_1_1_platform.html">Platform</a> & </td>
<td class="paramname"><em>default_platform</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Modify the default platform to be used by subsequent operations. Will only set the default if no default was previously created. </p><dl class="section return"><dt>Returns</dt><dd>updated default platform. Should be compared to the passed value to ensure that it was updated. </dd></dl>
<p>Definition at line <a class="el" href="cl2_8hpp_source.html#l02305">2305</a> of file <a class="el" href="cl2_8hpp_source.html">cl2.hpp</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="cl2_8hpp_source.html">cl2.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespacecl.html">cl</a></li><li class="navelem"><a class="el" href="classcl_1_1_platform.html">Platform</a></li>
<li class="footer">Generated on Thu Sep 8 2016 19:38:17 for OpenCL C++ Bindings by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.12 </li>
</ul>
</div>
</body>
</html>
|