X Tutup
Skip to content

Commit 86cd960

Browse files
committed
Fix javadoc errors in OpenCL JavaCL class ParallelRandom.
1 parent 5ba86c2 commit 86cd960

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

JavaCL/src/main/java/com/nativelibs4java/opencl/util/ParallelRandom.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ public CLQueue getQueue() {
199199
}
200200

201201
/**
202-
* Number of random numbers generated at each call of {@link ParallelRandom#next() } or {@link ParallelRandom#next(IntBuffer) }<br>
202+
* Number of random numbers generated at each call of {@link ParallelRandom#next() } or {@link ParallelRandom#next(Pointer) }<br>
203203
* The numbers might not all be generated exactly in parallel, the level of parallelism is implementation-dependent.
204204
* @return size of each buffer returned by {@link ParallelRandom#next() }
205205
*/
@@ -234,7 +234,7 @@ public synchronized void next(Pointer<Integer> output) {
234234
/**
235235
* Returns a direct NIO buffer containing the next {@link ParallelRandom#getParallelSize() } random integers.<br>
236236
* This buffer is read only and will only be valid until any of the "next" method is called again.
237-
* @param output buffer of capacity ; see {@link ParallelRandom#getParallelSize() }
237+
* @return output buffer of capacity ; see {@link ParallelRandom#getParallelSize() }
238238
*/
239239
public synchronized Pointer<Integer> next() {
240240
CLEvent evt = doNext();

0 commit comments

Comments
 (0)
X Tutup