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