blob: ebecb936add82c67536107fa66b812b077fca030 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/*
* Created on Tuesday, May 03 2011 18:09
*/
package com.jogamp.opencl.util.concurrent;
import com.jogamp.opencl.CLCommandQueue;
/**
* A task executed on a command queue.
* @author Michael Bien
*/
public interface CLTask<R> {
/**
* Runs the task on a queue and returns its result.
*/
R run(CLCommandQueue queue);
}
|