| <!DOCTYPE HTML> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (17) --> |
| <title>CudaGrid (OpenJ9 JDK 17)</title> |
| <meta name="viewport" content="width=device-width, initial-scale=1"> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="description" content="declaration: module: openj9.cuda, package: com.ibm.cuda, class: CudaGrid"> |
| <meta name="generator" content="javadoc/ClassWriterImpl"> |
| <meta name="keywords" content="com.ibm.cuda.CudaGrid class"> |
| <meta name="keywords" content="blockDimX"> |
| <meta name="keywords" content="blockDimY"> |
| <meta name="keywords" content="blockDimZ"> |
| <meta name="keywords" content="gridDimX"> |
| <meta name="keywords" content="gridDimY"> |
| <meta name="keywords" content="gridDimZ"> |
| <meta name="keywords" content="sharedMemBytes"> |
| <meta name="keywords" content="stream"> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../script-dir/jquery-ui.min.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../jquery-ui.overrides.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../script-dir/jquery-3.6.0.min.js"></script> |
| <script type="text/javascript" src="../../../../script-dir/jquery-ui.min.js"></script> |
| </head> |
| <body class="class-declaration-page"> |
| <script type="text/javascript">var pathtoroot = "../../../../"; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <div class="flex-box"> |
| <header role="banner" class="flex-header"> |
| <nav role="navigation"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="top-nav" id="navbar-top"> |
| <div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> |
| <div class="about-language"><div style="margin-top: 9px;"><strong>OpenJ9 JDK 17</strong></div></div> |
| <ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> |
| <li><a href="../../../../index.html">Overview</a></li> |
| <li><a href="../../../module-summary.html">Module</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="nav-bar-cell1-rev">Class</li> |
| <li><a href="class-use/CudaGrid.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-files/index-1.html">Index</a></li> |
| <li><a href="../../../../help-doc.html#class">Help</a></li> |
| </ul> |
| </div> |
| <div class="sub-nav"> |
| <div> |
| <ul class="sub-nav-list"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field-summary">Field</a> | </li> |
| <li><a href="#constructor-summary">Constr</a> | </li> |
| <li><a href="#method-summary">Method</a></li> |
| </ul> |
| <ul class="sub-nav-list"> |
| <li>Detail: </li> |
| <li><a href="#field-detail">Field</a> | </li> |
| <li><a href="#constructor-detail">Constr</a> | </li> |
| <li>Method</li> |
| </ul> |
| </div> |
| <div class="nav-list-search"><label for="search-input">SEARCH:</label> |
| <input type="text" id="search-input" value="search" disabled="disabled"> |
| <input type="reset" id="reset-button" value="reset" disabled="disabled"> |
| </div> |
| </div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <span class="skip-nav" id="skip-navbar-top"></span></nav> |
| </header> |
| <div class="flex-content"> |
| <main role="main"> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="sub-title"><span class="module-label-in-type">Module</span> <a href="../../../module-summary.html">openj9.cuda</a></div> |
| <div class="sub-title"><span class="package-label-in-type">Package</span> <a href="package-summary.html">com.ibm.cuda</a></div> |
| <h1 title="Class CudaGrid" class="title">Class CudaGrid</h1> |
| </div> |
| <div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link" target="_blank">java.lang.Object</a> |
| <div class="inheritance">com.ibm.cuda.CudaGrid</div> |
| </div> |
| <section class="class-description" id="class-description"> |
| <hr> |
| <div class="type-signature"><span class="modifiers">public final class </span><span class="element-name type-name-label">CudaGrid</span> |
| <span class="extends-implements">extends <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link" target="_blank">Object</a></span></div> |
| <div class="block">The <code>CudaGrid</code> class represents a kernel launch configuration.</div> |
| </section> |
| <section class="summary"> |
| <ul class="summary-list"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <li> |
| <section class="field-summary" id="field-summary"> |
| <h2>Field Summary</h2> |
| <div class="caption"><span>Fields</span></div> |
| <div class="summary-table three-column-summary"> |
| <div class="table-header col-first">Modifier and Type</div> |
| <div class="table-header col-second">Field</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color"><code>final int</code></div> |
| <div class="col-second even-row-color"><code><a href="#blockDimX" class="member-name-link">blockDimX</a></code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">The size of the thread block in the x dimension.</div> |
| </div> |
| <div class="col-first odd-row-color"><code>final int</code></div> |
| <div class="col-second odd-row-color"><code><a href="#blockDimY" class="member-name-link">blockDimY</a></code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">The size of the thread block in the y dimension.</div> |
| </div> |
| <div class="col-first even-row-color"><code>final int</code></div> |
| <div class="col-second even-row-color"><code><a href="#blockDimZ" class="member-name-link">blockDimZ</a></code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">The size of the thread block in the z dimension.</div> |
| </div> |
| <div class="col-first odd-row-color"><code>final int</code></div> |
| <div class="col-second odd-row-color"><code><a href="#gridDimX" class="member-name-link">gridDimX</a></code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">The size of the grid in the x dimension.</div> |
| </div> |
| <div class="col-first even-row-color"><code>final int</code></div> |
| <div class="col-second even-row-color"><code><a href="#gridDimY" class="member-name-link">gridDimY</a></code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">The size of the grid in the y dimension.</div> |
| </div> |
| <div class="col-first odd-row-color"><code>final int</code></div> |
| <div class="col-second odd-row-color"><code><a href="#gridDimZ" class="member-name-link">gridDimZ</a></code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">The size of the grid in the z dimension.</div> |
| </div> |
| <div class="col-first even-row-color"><code>final int</code></div> |
| <div class="col-second even-row-color"><code><a href="#sharedMemBytes" class="member-name-link">sharedMemBytes</a></code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">The number of bytes of shared memory to allocate to each thread block.</div> |
| </div> |
| <div class="col-first odd-row-color"><code>final <a href="CudaStream.html" title="class in com.ibm.cuda">CudaStream</a></code></div> |
| <div class="col-second odd-row-color"><code><a href="#stream" class="member-name-link">stream</a></code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">The stream on which the kernel should be queued |
| (or null for the default stream).</div> |
| </div> |
| </div> |
| </section> |
| </li> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <li> |
| <section class="constructor-summary" id="constructor-summary"> |
| <h2>Constructor Summary</h2> |
| <div class="caption"><span>Constructors</span></div> |
| <div class="summary-table two-column-summary"> |
| <div class="table-header col-first">Constructor</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(int,int)" class="member-name-link">CudaGrid</a><wbr>(int gridDim, |
| int blockDim)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Creates a grid with the specified x dimensions with no shared memory |
| on the default stream.</div> |
| </div> |
| <div class="col-constructor-name odd-row-color"><code><a href="#%3Cinit%3E(int,int,int)" class="member-name-link">CudaGrid</a><wbr>(int gridDim, |
| int blockDim, |
| int sharedMemBytes)</code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Creates a grid with the specified x dimensions and shared memory size |
| on the default stream.</div> |
| </div> |
| <div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(int,int,int,com.ibm.cuda.CudaStream)" class="member-name-link">CudaGrid</a><wbr>(int gridDim, |
| int blockDim, |
| int sharedMemBytes, |
| <a href="CudaStream.html" title="class in com.ibm.cuda">CudaStream</a> stream)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Creates a grid with the specified x dimensions and shared memory size |
| on the specified stream.</div> |
| </div> |
| <div class="col-constructor-name odd-row-color"><code><a href="#%3Cinit%3E(int,int,com.ibm.cuda.CudaStream)" class="member-name-link">CudaGrid</a><wbr>(int gridDim, |
| int blockDim, |
| <a href="CudaStream.html" title="class in com.ibm.cuda">CudaStream</a> stream)</code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Creates a grid with the specified x dimensions with no shared memory |
| on the specified stream.</div> |
| </div> |
| <div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(com.ibm.cuda.Dim3,com.ibm.cuda.Dim3)" class="member-name-link">CudaGrid</a><wbr>(<a href="Dim3.html" title="class in com.ibm.cuda">Dim3</a> gridDim, |
| <a href="Dim3.html" title="class in com.ibm.cuda">Dim3</a> blockDim)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Creates a grid with the specified dimensions, with no shared memory |
| on the default stream.</div> |
| </div> |
| <div class="col-constructor-name odd-row-color"><code><a href="#%3Cinit%3E(com.ibm.cuda.Dim3,com.ibm.cuda.Dim3,int)" class="member-name-link">CudaGrid</a><wbr>(<a href="Dim3.html" title="class in com.ibm.cuda">Dim3</a> gridDim, |
| <a href="Dim3.html" title="class in com.ibm.cuda">Dim3</a> blockDim, |
| int sharedMemBytes)</code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Creates a grid with the specified dimensions and shared memory size |
| on the default stream.</div> |
| </div> |
| <div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(com.ibm.cuda.Dim3,com.ibm.cuda.Dim3,int,com.ibm.cuda.CudaStream)" class="member-name-link">CudaGrid</a><wbr>(<a href="Dim3.html" title="class in com.ibm.cuda">Dim3</a> gridDim, |
| <a href="Dim3.html" title="class in com.ibm.cuda">Dim3</a> blockDim, |
| int sharedMemBytes, |
| <a href="CudaStream.html" title="class in com.ibm.cuda">CudaStream</a> stream)</code></div> |
| <div class="col-last even-row-color"> |
| <div class="block">Creates a grid with the specified dimensions and shared memory size |
| on the specified stream.</div> |
| </div> |
| <div class="col-constructor-name odd-row-color"><code><a href="#%3Cinit%3E(com.ibm.cuda.Dim3,com.ibm.cuda.Dim3,com.ibm.cuda.CudaStream)" class="member-name-link">CudaGrid</a><wbr>(<a href="Dim3.html" title="class in com.ibm.cuda">Dim3</a> gridDim, |
| <a href="Dim3.html" title="class in com.ibm.cuda">Dim3</a> blockDim, |
| <a href="CudaStream.html" title="class in com.ibm.cuda">CudaStream</a> stream)</code></div> |
| <div class="col-last odd-row-color"> |
| <div class="block">Creates a grid with the specified dimensions with no shared memory |
| on the specified stream.</div> |
| </div> |
| </div> |
| </section> |
| </li> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <li> |
| <section class="method-summary" id="method-summary"> |
| <h2>Method Summary</h2> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-java.lang.Object">Methods declared in class java.lang.<a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link" target="_blank">Object</a></h3> |
| <code><a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link" target="_blank">clone</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link" target="_blank">equals</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link" target="_blank">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link" target="_blank">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link" target="_blank">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link" target="_blank">notify</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link" target="_blank">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link" target="_blank">toString</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link" target="_blank">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link" target="_blank">wait</a>, <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link" target="_blank">wait</a></code></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <section class="details"> |
| <ul class="details-list"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <li> |
| <section class="field-details" id="field-detail"> |
| <h2>Field Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="blockDimX"> |
| <h3>blockDimX</h3> |
| <div class="member-signature"><span class="modifiers">public final</span> <span class="return-type">int</span> <span class="element-name">blockDimX</span></div> |
| <div class="block">The size of the thread block in the x dimension.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="blockDimY"> |
| <h3>blockDimY</h3> |
| <div class="member-signature"><span class="modifiers">public final</span> <span class="return-type">int</span> <span class="element-name">blockDimY</span></div> |
| <div class="block">The size of the thread block in the y dimension.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="blockDimZ"> |
| <h3>blockDimZ</h3> |
| <div class="member-signature"><span class="modifiers">public final</span> <span class="return-type">int</span> <span class="element-name">blockDimZ</span></div> |
| <div class="block">The size of the thread block in the z dimension.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="gridDimX"> |
| <h3>gridDimX</h3> |
| <div class="member-signature"><span class="modifiers">public final</span> <span class="return-type">int</span> <span class="element-name">gridDimX</span></div> |
| <div class="block">The size of the grid in the x dimension.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="gridDimY"> |
| <h3>gridDimY</h3> |
| <div class="member-signature"><span class="modifiers">public final</span> <span class="return-type">int</span> <span class="element-name">gridDimY</span></div> |
| <div class="block">The size of the grid in the y dimension.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="gridDimZ"> |
| <h3>gridDimZ</h3> |
| <div class="member-signature"><span class="modifiers">public final</span> <span class="return-type">int</span> <span class="element-name">gridDimZ</span></div> |
| <div class="block">The size of the grid in the z dimension.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="sharedMemBytes"> |
| <h3>sharedMemBytes</h3> |
| <div class="member-signature"><span class="modifiers">public final</span> <span class="return-type">int</span> <span class="element-name">sharedMemBytes</span></div> |
| <div class="block">The number of bytes of shared memory to allocate to each thread block.</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="stream"> |
| <h3>stream</h3> |
| <div class="member-signature"><span class="modifiers">public final</span> <span class="return-type"><a href="CudaStream.html" title="class in com.ibm.cuda">CudaStream</a></span> <span class="element-name">stream</span></div> |
| <div class="block">The stream on which the kernel should be queued |
| (or null for the default stream).</div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <li> |
| <section class="constructor-details" id="constructor-detail"> |
| <h2>Constructor Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="<init>(com.ibm.cuda.Dim3,com.ibm.cuda.Dim3)"> |
| <h3>CudaGrid</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="element-name">CudaGrid</span><wbr><span class="parameters">(<a href="Dim3.html" title="class in com.ibm.cuda">Dim3</a> gridDim, |
| <a href="Dim3.html" title="class in com.ibm.cuda">Dim3</a> blockDim)</span></div> |
| <div class="block">Creates a grid with the specified dimensions, with no shared memory |
| on the default stream.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>gridDim</code> - the dimensions of the grid</dd> |
| <dd><code>blockDim</code> - the dimensions of the thread block</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="<init>(com.ibm.cuda.Dim3,com.ibm.cuda.Dim3,com.ibm.cuda.CudaStream)"> |
| <h3>CudaGrid</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="element-name">CudaGrid</span><wbr><span class="parameters">(<a href="Dim3.html" title="class in com.ibm.cuda">Dim3</a> gridDim, |
| <a href="Dim3.html" title="class in com.ibm.cuda">Dim3</a> blockDim, |
| <a href="CudaStream.html" title="class in com.ibm.cuda">CudaStream</a> stream)</span></div> |
| <div class="block">Creates a grid with the specified dimensions with no shared memory |
| on the specified stream.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>gridDim</code> - the dimensions of the grid</dd> |
| <dd><code>blockDim</code> - the dimensions of the thread block</dd> |
| <dd><code>stream</code> - the stream on which the kernel should be queued |
| (or null for the default stream)</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="<init>(com.ibm.cuda.Dim3,com.ibm.cuda.Dim3,int)"> |
| <h3>CudaGrid</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="element-name">CudaGrid</span><wbr><span class="parameters">(<a href="Dim3.html" title="class in com.ibm.cuda">Dim3</a> gridDim, |
| <a href="Dim3.html" title="class in com.ibm.cuda">Dim3</a> blockDim, |
| int sharedMemBytes)</span></div> |
| <div class="block">Creates a grid with the specified dimensions and shared memory size |
| on the default stream.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>gridDim</code> - the dimensions of the grid</dd> |
| <dd><code>blockDim</code> - the dimensions of the thread block</dd> |
| <dd><code>sharedMemBytes</code> - the number of bytes of shared memory to allocate to each thread block</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="<init>(com.ibm.cuda.Dim3,com.ibm.cuda.Dim3,int,com.ibm.cuda.CudaStream)"> |
| <h3>CudaGrid</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="element-name">CudaGrid</span><wbr><span class="parameters">(<a href="Dim3.html" title="class in com.ibm.cuda">Dim3</a> gridDim, |
| <a href="Dim3.html" title="class in com.ibm.cuda">Dim3</a> blockDim, |
| int sharedMemBytes, |
| <a href="CudaStream.html" title="class in com.ibm.cuda">CudaStream</a> stream)</span></div> |
| <div class="block">Creates a grid with the specified dimensions and shared memory size |
| on the specified stream.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>gridDim</code> - the dimensions of the grid</dd> |
| <dd><code>blockDim</code> - the dimensions of the thread block</dd> |
| <dd><code>sharedMemBytes</code> - the number of bytes of shared memory to allocate to each thread block</dd> |
| <dd><code>stream</code> - the stream on which the kernel should be queued |
| (or null for the default stream)</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="<init>(int,int)"> |
| <h3>CudaGrid</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="element-name">CudaGrid</span><wbr><span class="parameters">(int gridDim, |
| int blockDim)</span></div> |
| <div class="block">Creates a grid with the specified x dimensions with no shared memory |
| on the default stream. The y and z dimensions are set to 1.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>gridDim</code> - the x dimension of the grid</dd> |
| <dd><code>blockDim</code> - the x dimension of the thread block</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="<init>(int,int,com.ibm.cuda.CudaStream)"> |
| <h3>CudaGrid</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="element-name">CudaGrid</span><wbr><span class="parameters">(int gridDim, |
| int blockDim, |
| <a href="CudaStream.html" title="class in com.ibm.cuda">CudaStream</a> stream)</span></div> |
| <div class="block">Creates a grid with the specified x dimensions with no shared memory |
| on the specified stream. The y and z dimensions are set to 1.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>gridDim</code> - the x dimension of the grid</dd> |
| <dd><code>blockDim</code> - the x dimension of the thread block</dd> |
| <dd><code>stream</code> - the stream on which the kernel should be queued |
| (or null for the default stream)</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="<init>(int,int,int)"> |
| <h3>CudaGrid</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="element-name">CudaGrid</span><wbr><span class="parameters">(int gridDim, |
| int blockDim, |
| int sharedMemBytes)</span></div> |
| <div class="block">Creates a grid with the specified x dimensions and shared memory size |
| on the default stream. The y and z dimensions are set to 1.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>gridDim</code> - the x dimension of the grid</dd> |
| <dd><code>blockDim</code> - the x dimension of the thread block</dd> |
| <dd><code>sharedMemBytes</code> - the number of bytes of shared memory to allocate to each thread block</dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="<init>(int,int,int,com.ibm.cuda.CudaStream)"> |
| <h3>CudaGrid</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="element-name">CudaGrid</span><wbr><span class="parameters">(int gridDim, |
| int blockDim, |
| int sharedMemBytes, |
| <a href="CudaStream.html" title="class in com.ibm.cuda">CudaStream</a> stream)</span></div> |
| <div class="block">Creates a grid with the specified x dimensions and shared memory size |
| on the specified stream. The y and z dimensions are set to 1.</div> |
| <dl class="notes"> |
| <dt>Parameters:</dt> |
| <dd><code>gridDim</code> - the x dimension of the grid</dd> |
| <dd><code>blockDim</code> - the x dimension of the thread block</dd> |
| <dd><code>sharedMemBytes</code> - the number of bytes of shared memory to allocate to each thread block</dd> |
| <dd><code>stream</code> - the stream on which the kernel should be queued |
| (or null for the default stream)</dd> |
| </dl> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <!-- ========= END OF CLASS DATA ========= --> |
| </main> |
| <footer role="contentinfo"> |
| <hr> |
| <p class="legal-copy"><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/openj9/issues" target="_blank">Eclipse Openj9 issue.</a><br> Copyright © 1998, 2022 IBM Corp. and others.</small></p> |
| </footer> |
| </div> |
| </div> |
| </body> |
| </html> |