blob: 78a39cb86483a4e69df5a4cecd8e7d1f64bc83e4 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_262-internal) on Thu Jun 04 16:39:29 GMT 2020 -->
<title>Uses of Class com.ibm.gpu.CUDADevice (OpenJ9 GPU Classes)</title>
<meta name="date" content="2020-06-04">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class com.ibm.gpu.CUDADevice (OpenJ9 GPU Classes)";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/ibm/gpu/package-summary.html">Package</a></li>
<li><a href="../../../../com/ibm/gpu/CUDADevice.html" title="class in com.ibm.gpu">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><strong>OpenJ9 GPU Classes</strong></div>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/ibm/gpu/class-use/CUDADevice.html" target="_top">Frames</a></li>
<li><a href="CUDADevice.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class com.ibm.gpu.CUDADevice" class="title">Uses of Class<br>com.ibm.gpu.CUDADevice</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="com.ibm.gpu">
<!-- -->
</a>
<h3>Uses of <a href="../../../../com/ibm/gpu/CUDADevice.html" title="class in com.ibm.gpu">CUDADevice</a> in <a href="../../../../com/ibm/gpu/package-summary.html">com.ibm.gpu</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../com/ibm/gpu/package-summary.html">com.ibm.gpu</a> that return <a href="../../../../com/ibm/gpu/CUDADevice.html" title="class in com.ibm.gpu">CUDADevice</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/ibm/gpu/CUDADevice.html" title="class in com.ibm.gpu">CUDADevice</a></code></td>
<td class="colLast"><span class="typeNameLabel">CUDAManager.</span><code><span class="memberNameLink"><a href="../../../../com/ibm/gpu/CUDAManager.html#getDevice-int-">getDevice</a></span>(int&nbsp;deviceId)</code>
<div class="block">Get a reference to the CUDA device by means of its index (with 0 being the first).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../com/ibm/gpu/CUDADevice.html" title="class in com.ibm.gpu">CUDADevice</a></code></td>
<td class="colLast"><span class="typeNameLabel">CUDAManager.</span><code><span class="memberNameLink"><a href="../../../../com/ibm/gpu/CUDAManager.html#getDeviceWithMostAvailableMemory--">getDeviceWithMostAvailableMemory</a></span>()</code>
<div class="block">Identifies the CUDA device that has the most memory available.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../com/ibm/gpu/CUDADevice.html" title="class in com.ibm.gpu">CUDADevice</a>[]</code></td>
<td class="colLast"><span class="typeNameLabel">CUDAManager.</span><code><span class="memberNameLink"><a href="../../../../com/ibm/gpu/CUDAManager.html#getEnabledCUDADevices--">getEnabledCUDADevices</a></span>()</code>
<div class="block">Use this method to return an array of enabled CUDA devices.</div>
</td>
</tr>
</tbody>
</table>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../com/ibm/gpu/package-summary.html">com.ibm.gpu</a> that return types with arguments of type <a href="../../../../com/ibm/gpu/CUDADevice.html" title="class in com.ibm.gpu">CUDADevice</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html?is-external=true" target="_blank" title="class or interface in java.util">ArrayList</a>&lt;<a href="../../../../com/ibm/gpu/CUDADevice.html" title="class in com.ibm.gpu">CUDADevice</a>&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">CUDAManager.</span><code><span class="memberNameLink"><a href="../../../../com/ibm/gpu/CUDAManager.html#getCUDADevices--">getCUDADevices</a></span>()</code>
<div class="block">Use this method to obtain a reference to an ArrayList containing
references to all discovered CUDA devices.</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../com/ibm/gpu/package-summary.html">Package</a></li>
<li><a href="../../../../com/ibm/gpu/CUDADevice.html" title="class in com.ibm.gpu">Class</a></li>
<li class="navBarCell1Rev">Use</li>
<li><a href="../package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><strong>OpenJ9 GPU Classes</strong></div>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/ibm/gpu/class-use/CUDADevice.html" target="_top">Frames</a></li>
<li><a href="CUDADevice.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small><a href="https://www.eclipse.org/openj9/" target="_blank">Eclipse OpenJ9 website.</a><br> To raise a bug report or suggest an improvement create an <a href="https://github.com/eclipse/openj9/issues" target="_blank">Eclipse OpenJ9 issue.</a><br> Copyright &copy; 2014, 2020, IBM Corp. and others.</small></p>
</body>
</html>