| <!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 --> |
| <title>CudaKernel.Parameters (OpenJ9 CUDA Classes)</title> |
| <meta name="keywords" content="com.ibm.cuda.CudaKernel.Parameters class"> |
| <meta name="keywords" content="add()"> |
| <meta name="keywords" content="clone()"> |
| <meta name="keywords" content="set()"> |
| <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="CudaKernel.Parameters (OpenJ9 CUDA Classes)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </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/cuda/package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/CudaKernel.Parameters.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-all.html">Index</a></li> |
| <li><a href="../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage"><strong>OpenJ9 CUDA Classes</strong></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../com/ibm/cuda/CudaKernel.html" title="class in com.ibm.cuda"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../com/ibm/cuda/CudaLinker.html" title="class in com.ibm.cuda"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../index.html?com/ibm/cuda/CudaKernel.Parameters.html" target="_top">Frames</a></li> |
| <li><a href="CudaKernel.Parameters.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../allclasses-noframe.html">All 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> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">com.ibm.cuda</div> |
| <h2 title="Class CudaKernel.Parameters" class="title">Class CudaKernel.Parameters</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" target="_blank" title="class or interface in java.lang">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li>com.ibm.cuda.CudaKernel.Parameters</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html?is-external=true" target="_blank" title="class or interface in java.lang">Cloneable</a></dd> |
| </dl> |
| <dl> |
| <dt>Enclosing class:</dt> |
| <dd><a href="../../../com/ibm/cuda/CudaKernel.html" title="class in com.ibm.cuda">CudaKernel</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public static final class <span class="typeNameLabel">CudaKernel.Parameters</span> |
| extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" target="_blank" title="class or interface in java.lang">Object</a> |
| implements <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html?is-external=true" target="_blank" title="class or interface in java.lang">Cloneable</a></pre> |
| <div class="block">The <code>Parameters</code> class represents the actual parameters in |
| a <a href="../../../com/ibm/cuda/CudaKernel.html" title="class in com.ibm.cuda"><code>kernel</code></a> launch.</div> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../com/ibm/cuda/CudaKernel.Parameters.html#Parameters-com.ibm.cuda.CudaKernel.Parameters-">Parameters</a></span>(<a href="../../../com/ibm/cuda/CudaKernel.Parameters.html" title="class in com.ibm.cuda">CudaKernel.Parameters</a> that)</code> |
| <div class="block">Creates a copy of the given parameter block.</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../com/ibm/cuda/CudaKernel.Parameters.html#Parameters-int-">Parameters</a></span>(int count)</code> |
| <div class="block">Creates a new bundle of parameter values.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../com/ibm/cuda/CudaKernel.Parameters.html#Parameters-java.lang.Object...-">Parameters</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" target="_blank" title="class or interface in java.lang">Object</a>... values)</code> |
| <div class="block">Creates a new bundle of parameter values.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code><a href="../../../com/ibm/cuda/CudaKernel.Parameters.html" title="class in com.ibm.cuda">CudaKernel.Parameters</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/ibm/cuda/CudaKernel.Parameters.html#add-byte-">add</a></span>(byte value)</code> |
| <div class="block">Appends a byte value to the list of parameter values.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../com/ibm/cuda/CudaKernel.Parameters.html" title="class in com.ibm.cuda">CudaKernel.Parameters</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/ibm/cuda/CudaKernel.Parameters.html#add-char-">add</a></span>(char value)</code> |
| <div class="block">Appends a character value to the list of parameter values.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code><a href="../../../com/ibm/cuda/CudaKernel.Parameters.html" title="class in com.ibm.cuda">CudaKernel.Parameters</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/ibm/cuda/CudaKernel.Parameters.html#add-com.ibm.cuda.CudaBuffer-">add</a></span>(<a href="../../../com/ibm/cuda/CudaBuffer.html" title="class in com.ibm.cuda">CudaBuffer</a> value)</code> |
| <div class="block">Appends a buffer address to the list of parameter values.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../com/ibm/cuda/CudaKernel.Parameters.html" title="class in com.ibm.cuda">CudaKernel.Parameters</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/ibm/cuda/CudaKernel.Parameters.html#add-double-">add</a></span>(double value)</code> |
| <div class="block">Appends a double value to the list of parameter values.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code><a href="../../../com/ibm/cuda/CudaKernel.Parameters.html" title="class in com.ibm.cuda">CudaKernel.Parameters</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/ibm/cuda/CudaKernel.Parameters.html#add-float-">add</a></span>(float value)</code> |
| <div class="block">Appends a float value to the list of parameter values.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../com/ibm/cuda/CudaKernel.Parameters.html" title="class in com.ibm.cuda">CudaKernel.Parameters</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/ibm/cuda/CudaKernel.Parameters.html#add-int-">add</a></span>(int value)</code> |
| <div class="block">Appends a integer value to the list of parameter values.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code><a href="../../../com/ibm/cuda/CudaKernel.Parameters.html" title="class in com.ibm.cuda">CudaKernel.Parameters</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/ibm/cuda/CudaKernel.Parameters.html#add-long-">add</a></span>(long value)</code> |
| <div class="block">Appends a long value to the list of parameter values.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../com/ibm/cuda/CudaKernel.Parameters.html" title="class in com.ibm.cuda">CudaKernel.Parameters</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/ibm/cuda/CudaKernel.Parameters.html#add-short-">add</a></span>(short value)</code> |
| <div class="block">Appends a short value to the list of parameter values.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code><a href="../../../com/ibm/cuda/CudaKernel.Parameters.html" title="class in com.ibm.cuda">CudaKernel.Parameters</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/ibm/cuda/CudaKernel.Parameters.html#clone--">clone</a></span>()</code> |
| <div class="block">Creates a copy of this parameter block.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../com/ibm/cuda/CudaKernel.Parameters.html" title="class in com.ibm.cuda">CudaKernel.Parameters</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/ibm/cuda/CudaKernel.Parameters.html#set-int-byte-">set</a></span>(int index, |
| byte value)</code> |
| <div class="block">Replaces the parameter at the specified index with the given byte value.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code><a href="../../../com/ibm/cuda/CudaKernel.Parameters.html" title="class in com.ibm.cuda">CudaKernel.Parameters</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/ibm/cuda/CudaKernel.Parameters.html#set-int-char-">set</a></span>(int index, |
| char value)</code> |
| <div class="block">Replaces the parameter at the specified index with the given character value.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../com/ibm/cuda/CudaKernel.Parameters.html" title="class in com.ibm.cuda">CudaKernel.Parameters</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/ibm/cuda/CudaKernel.Parameters.html#set-int-com.ibm.cuda.CudaBuffer-">set</a></span>(int index, |
| <a href="../../../com/ibm/cuda/CudaBuffer.html" title="class in com.ibm.cuda">CudaBuffer</a> value)</code> |
| <div class="block">Replaces the parameter at the specified index with the given buffer address.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code><a href="../../../com/ibm/cuda/CudaKernel.Parameters.html" title="class in com.ibm.cuda">CudaKernel.Parameters</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/ibm/cuda/CudaKernel.Parameters.html#set-int-double-">set</a></span>(int index, |
| double value)</code> |
| <div class="block">Replaces the parameter at the specified index with the given double value.</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../com/ibm/cuda/CudaKernel.Parameters.html" title="class in com.ibm.cuda">CudaKernel.Parameters</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/ibm/cuda/CudaKernel.Parameters.html#set-int-float-">set</a></span>(int index, |
| float value)</code> |
| <div class="block">Replaces the parameter at the specified index with the given float value.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code><a href="../../../com/ibm/cuda/CudaKernel.Parameters.html" title="class in com.ibm.cuda">CudaKernel.Parameters</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/ibm/cuda/CudaKernel.Parameters.html#set-int-int-">set</a></span>(int index, |
| int value)</code> |
| <div class="block">Replaces the parameter at the specified index with the given int value.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../com/ibm/cuda/CudaKernel.Parameters.html" title="class in com.ibm.cuda">CudaKernel.Parameters</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/ibm/cuda/CudaKernel.Parameters.html#set-int-long-">set</a></span>(int index, |
| long value)</code> |
| <div class="block">Replaces the parameter at the specified index with the given long value.</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code><a href="../../../com/ibm/cuda/CudaKernel.Parameters.html" title="class in com.ibm.cuda">CudaKernel.Parameters</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../com/ibm/cuda/CudaKernel.Parameters.html#set-int-short-">set</a></span>(int index, |
| short value)</code> |
| <div class="block">Replaces the parameter at the specified index with a short value.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" target="_blank" title="class or interface in java.lang">Object</a></h3> |
| <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="Parameters-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>Parameters</h4> |
| <pre>public Parameters(int count)</pre> |
| <div class="block">Creates a new bundle of parameter values.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>count</code> - the number of values to be passed when the kernel is launched</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" target="_blank" title="class or interface in java.lang">IllegalArgumentException</a></code> - if the count is negative or greater than 64</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="Parameters-java.lang.Object...-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>Parameters</h4> |
| <pre>public Parameters(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" target="_blank" title="class or interface in java.lang">Object</a>... values)</pre> |
| <div class="block">Creates a new bundle of parameter values. |
| <p> |
| Each parameter value must be one of the following: |
| <ul> |
| <li>a boxed primitive value</li> |
| <li>a CudaBuffer object</li> |
| <li>null</li> |
| </ul></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>values</code> - the values to be passed when the kernel is launched</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" target="_blank" title="class or interface in java.lang">IllegalArgumentException</a></code> - if <code>parameters</code> contains any unsupported types</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="Parameters-com.ibm.cuda.CudaKernel.Parameters-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>Parameters</h4> |
| <pre>public Parameters(<a href="../../../com/ibm/cuda/CudaKernel.Parameters.html" title="class in com.ibm.cuda">CudaKernel.Parameters</a> that)</pre> |
| <div class="block">Creates a copy of the given parameter block.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>that</code> - the parameter block to be copied</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="add-byte-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>add</h4> |
| <pre>public <a href="../../../com/ibm/cuda/CudaKernel.Parameters.html" title="class in com.ibm.cuda">CudaKernel.Parameters</a> add(byte value)</pre> |
| <div class="block">Appends a byte value to the list of parameter values.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>value</code> - the value to be passed when the kernel is launched</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this parameter list</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" target="_blank" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if all positions already have values defined</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="add-char-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>add</h4> |
| <pre>public <a href="../../../com/ibm/cuda/CudaKernel.Parameters.html" title="class in com.ibm.cuda">CudaKernel.Parameters</a> add(char value)</pre> |
| <div class="block">Appends a character value to the list of parameter values.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>value</code> - the value to be passed when the kernel is launched</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this parameter list</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" target="_blank" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if all positions already have values defined</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="add-com.ibm.cuda.CudaBuffer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>add</h4> |
| <pre>public <a href="../../../com/ibm/cuda/CudaKernel.Parameters.html" title="class in com.ibm.cuda">CudaKernel.Parameters</a> add(<a href="../../../com/ibm/cuda/CudaBuffer.html" title="class in com.ibm.cuda">CudaBuffer</a> value)</pre> |
| <div class="block">Appends a buffer address to the list of parameter values.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>value</code> - the value to be passed when the kernel is launched, |
| or null to pass a null pointer</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this parameter list</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html?is-external=true" target="_blank" title="class or interface in java.lang">IllegalStateException</a></code> - if the buffer has been closed (see <a href="../../../com/ibm/cuda/CudaBuffer.html#close--"><code>CudaBuffer.close()</code></a>)</dd> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" target="_blank" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if all positions already have values defined</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="add-double-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>add</h4> |
| <pre>public <a href="../../../com/ibm/cuda/CudaKernel.Parameters.html" title="class in com.ibm.cuda">CudaKernel.Parameters</a> add(double value)</pre> |
| <div class="block">Appends a double value to the list of parameter values.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>value</code> - the value to be passed when the kernel is launched</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this parameter list</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" target="_blank" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if all positions already have values defined</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="add-float-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>add</h4> |
| <pre>public <a href="../../../com/ibm/cuda/CudaKernel.Parameters.html" title="class in com.ibm.cuda">CudaKernel.Parameters</a> add(float value)</pre> |
| <div class="block">Appends a float value to the list of parameter values.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>value</code> - the value to be passed when the kernel is launched</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this parameter list</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" target="_blank" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if all positions already have values defined</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="add-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>add</h4> |
| <pre>public <a href="../../../com/ibm/cuda/CudaKernel.Parameters.html" title="class in com.ibm.cuda">CudaKernel.Parameters</a> add(int value)</pre> |
| <div class="block">Appends a integer value to the list of parameter values.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>value</code> - the value to be passed when the kernel is launched</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this parameter list</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" target="_blank" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if all positions already have values defined</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="add-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>add</h4> |
| <pre>public <a href="../../../com/ibm/cuda/CudaKernel.Parameters.html" title="class in com.ibm.cuda">CudaKernel.Parameters</a> add(long value)</pre> |
| <div class="block">Appends a long value to the list of parameter values.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>value</code> - the value to be passed when the kernel is launched</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this parameter list</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" target="_blank" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if all positions already have values defined</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="add-short-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>add</h4> |
| <pre>public <a href="../../../com/ibm/cuda/CudaKernel.Parameters.html" title="class in com.ibm.cuda">CudaKernel.Parameters</a> add(short value)</pre> |
| <div class="block">Appends a short value to the list of parameter values.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>value</code> - the value to be passed when the kernel is launched</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this parameter list</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" target="_blank" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if all positions already have values defined</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="clone--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clone</h4> |
| <pre>public <a href="../../../com/ibm/cuda/CudaKernel.Parameters.html" title="class in com.ibm.cuda">CudaKernel.Parameters</a> clone()</pre> |
| <div class="block">Creates a copy of this parameter block.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a></code> in class <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" target="_blank" title="class or interface in java.lang">Object</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Object |
| a shallow copy of this object.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="set-int-byte-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>set</h4> |
| <pre>public <a href="../../../com/ibm/cuda/CudaKernel.Parameters.html" title="class in com.ibm.cuda">CudaKernel.Parameters</a> set(int index, |
| byte value)</pre> |
| <div class="block">Replaces the parameter at the specified index with the given byte value.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - the index of the parameter to be set</dd> |
| <dd><code>value</code> - the value to be passed when the kernel is launched</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this parameter list</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" target="_blank" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if <code>index</code> < 0 or <code>index</code> >= the size of this parameter list</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="set-int-char-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>set</h4> |
| <pre>public <a href="../../../com/ibm/cuda/CudaKernel.Parameters.html" title="class in com.ibm.cuda">CudaKernel.Parameters</a> set(int index, |
| char value)</pre> |
| <div class="block">Replaces the parameter at the specified index with the given character value.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - the index of the parameter to be set</dd> |
| <dd><code>value</code> - the value to be passed when the kernel is launched</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this parameter list</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" target="_blank" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if <code>index</code> < 0 or <code>index</code> >= the size of this parameter list</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="set-int-com.ibm.cuda.CudaBuffer-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>set</h4> |
| <pre>public <a href="../../../com/ibm/cuda/CudaKernel.Parameters.html" title="class in com.ibm.cuda">CudaKernel.Parameters</a> set(int index, |
| <a href="../../../com/ibm/cuda/CudaBuffer.html" title="class in com.ibm.cuda">CudaBuffer</a> value)</pre> |
| <div class="block">Replaces the parameter at the specified index with the given buffer address.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - the index of the parameter to be set</dd> |
| <dd><code>value</code> - the value to be passed when the kernel is launched, |
| or null to pass a null pointer</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this parameter list</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" target="_blank" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if <code>index</code> < 0 or <code>index</code> >= the size of this parameter list</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="set-int-double-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>set</h4> |
| <pre>public <a href="../../../com/ibm/cuda/CudaKernel.Parameters.html" title="class in com.ibm.cuda">CudaKernel.Parameters</a> set(int index, |
| double value)</pre> |
| <div class="block">Replaces the parameter at the specified index with the given double value.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - the index of the parameter to be set</dd> |
| <dd><code>value</code> - the value to be passed when the kernel is launched</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this parameter list</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" target="_blank" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if <code>index</code> < 0 or <code>index</code> >= the size of this parameter list</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="set-int-float-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>set</h4> |
| <pre>public <a href="../../../com/ibm/cuda/CudaKernel.Parameters.html" title="class in com.ibm.cuda">CudaKernel.Parameters</a> set(int index, |
| float value)</pre> |
| <div class="block">Replaces the parameter at the specified index with the given float value.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - the index of the parameter to be set</dd> |
| <dd><code>value</code> - the value to be passed when the kernel is launched</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this parameter list</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" target="_blank" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if <code>index</code> < 0 or <code>index</code> >= the size of this parameter list</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="set-int-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>set</h4> |
| <pre>public <a href="../../../com/ibm/cuda/CudaKernel.Parameters.html" title="class in com.ibm.cuda">CudaKernel.Parameters</a> set(int index, |
| int value)</pre> |
| <div class="block">Replaces the parameter at the specified index with the given int value.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - the index of the parameter to be set</dd> |
| <dd><code>value</code> - the value to be passed when the kernel is launched</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this parameter list</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" target="_blank" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if <code>index</code> < 0 or <code>index</code> >= the size of this parameter list</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="set-int-long-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>set</h4> |
| <pre>public <a href="../../../com/ibm/cuda/CudaKernel.Parameters.html" title="class in com.ibm.cuda">CudaKernel.Parameters</a> set(int index, |
| long value)</pre> |
| <div class="block">Replaces the parameter at the specified index with the given long value.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - the index of the parameter to be set</dd> |
| <dd><code>value</code> - the value to be passed when the kernel is launched</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this parameter list</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" target="_blank" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if <code>index</code> < 0 or <code>index</code> >= the size of this parameter list</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="set-int-short-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>set</h4> |
| <pre>public <a href="../../../com/ibm/cuda/CudaKernel.Parameters.html" title="class in com.ibm.cuda">CudaKernel.Parameters</a> set(int index, |
| short value)</pre> |
| <div class="block">Replaces the parameter at the specified index with a short value.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - the index of the parameter to be set</dd> |
| <dd><code>value</code> - the value to be passed when the kernel is launched</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this parameter list</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IndexOutOfBoundsException.html?is-external=true" target="_blank" title="class or interface in java.lang">IndexOutOfBoundsException</a></code> - if <code>index</code> < 0 or <code>index</code> >= the size of this parameter list</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= 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/cuda/package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/CudaKernel.Parameters.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-all.html">Index</a></li> |
| <li><a href="../../../help-doc.html">Help</a></li> |
| </ul> |
| <div class="aboutLanguage"><strong>OpenJ9 CUDA Classes</strong></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../com/ibm/cuda/CudaKernel.html" title="class in com.ibm.cuda"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../com/ibm/cuda/CudaLinker.html" title="class in com.ibm.cuda"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../index.html?com/ibm/cuda/CudaKernel.Parameters.html" target="_top">Frames</a></li> |
| <li><a href="CudaKernel.Parameters.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../allclasses-noframe.html">All 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> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </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/openj9/issues" target="_blank">Eclipse OpenJ9 issue.</a><br> Copyright © 2013, 2021, IBM Corp. and others.</small></p> |
| </body> |
| </html> |