blob: 0cfd24a5e33a1b9d1d56582541756935a11f3220 (
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<C extends CLQueueContext, R> {
/**
* Runs the task on a queue and returns a result.
*/
R execute(C context);
}
|