blob: c37891ecceac2c46c49a6490b8c27b41b5c5ce12 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
package com.jogamp.opencl;
/**
* A callback an application can register to be called when the program executable
* has been built (successfully or unsuccessfully).<br/>
* Note1: registering a build callback can make {@link CL#clBuildProgram} non blocking (OpenCL implementation dependent).<br/>
* Note2: the thread which calls this method is unspecified. The Application should ensure propper synchronization.
* @author Michael Bien
* @see CL#clBuildProgram(long, int, com.jogamp.common.nio.PointerBuffer, java.lang.String, com.jogamp.opencl.BuildProgramCallback)
*/
public interface BuildProgramCallback {
/**
* Called when the program executable
* has been built (successfully or unsuccessfully).
*/
public void buildFinished(long cl_program);
}
|