JOCL
v2.6.0-rc-20250722
JOCL, OpenCL® API Binding for Java (public API).
CLTask.java
Go to the documentation of this file.
1
/*
2
* Created on Tuesday, May 03 2011 18:09
3
*/
4
package
com.jogamp.opencl.util.concurrent;
5
6
7
/**
8
* A task executed on a command queue.
9
* @author Michael Bien
10
*/
11
public
interface
CLTask
<C
extends
CLQueueContext
, R> {
12
13
/**
14
* Runs the task on a queue and returns a result.
15
*/
16
R
execute
(C context);
17
18
}
com.jogamp.opencl.util.concurrent.CLQueueContext
Superclass for all per-queue contexts as used in CLCommandQueuePools.
Definition:
CLQueueContext.java:23
com.jogamp.opencl.util.concurrent.CLTask
A task executed on a command queue.
Definition:
CLTask.java:11
com.jogamp.opencl.util.concurrent.CLTask.execute
R execute(C context)
Runs the task on a queue and returns a result.
src
com
jogamp
opencl
util
concurrent
CLTask.java
Generated by
1.9.4