aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/jogamp/opencl/CLErrorHandler.java
blob: 6a1cfb89bad86b8d6aaa775f5d86b74063e6d675 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package com.jogamp.opencl;

import java.nio.ByteBuffer;

/**
 * Experimental: the api may change in future, feedback appreciated.<br/>
 * Note: the thread which calls {@link #onError onError} is unspecified. The Application must ensure propper synchronization.
 * @author Michael Bien
 * @see CLContext#addCLErrorHandler(com.jogamp.opencl.CLErrorHandler)
 * @see CLContext#removeCLErrorHandler(com.jogamp.opencl.CLErrorHandler)
 */
public interface CLErrorHandler {

    public void onError(String errinfo, ByteBuffer private_info, long cb);

}