| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static void | checkCallback(final int
the error code errcode, final long the GlobalRef memory address user_data)Deletes the global reference represented by user_data if an OpenCL error occured. |
| pack-priv static long | Returns: the GlobalRef memory address or 0 if the Object is null.the Object obj)Creates a new global reference to the specified Object. |
| pack-priv static native void | |
| pack-priv static native long | Returns: the callback function addressReturns the memory address of the native function we pass to clCreateContext(FromType). |
| pack-priv static native long | Returns: the callback function addressReturns the memory address of the native function we pass to clSetEventCallback. |
| pack-priv static native long | Returns: the callback function addressReturns the memory address of the native function we pass to clCreateContext(FromType),
when |
| pack-priv static native long | Returns: the callback function addressReturns the memory address of the native function we pass to clCreateContext(FromType),
when |
| pack-priv static native long | Returns: the callback function addressReturns the memory address of the native function we pass to clCreateContext(FromType),
when |
| pack-priv static native long | Returns: the callback function addressReturns the memory address of the native function we pass to clSetMemObjectDestructorCallback. |
| pack-priv static native long | Returns: the callback function addressReturns the memory address of the native function we pass to clEnqueueNativeKernel. |
| pack-priv static native long | Returns: the callback function addressReturns the memory address of the native function we pass to clSetPrintfCallback. |
| pack-priv static native long | Returns: the callback function addressReturns the memory address of the native function we pass to clBuildProgram. |
| private static native long | Returns: the GlobalRef memory address.the Object obj)Creates a new global reference to the specified Object. |
| contextUserData | back to summary |
|---|---|
| private static final Map<CLContext, Long> contextUserData | |
| CallbackUtil | back to summary |
|---|---|
| private CallbackUtil() | |
| checkCallback | back to summary |
|---|---|
| pack-priv static void checkCallback(final int errcode, final long user_data) Deletes the global reference represented by user_data if an OpenCL error occured.
| |
| createGlobalRef | back to summary |
|---|---|
| pack-priv static long createGlobalRef(final Object obj) Creates a new global reference to the specified Object.
| |
| deleteGlobalRef | back to summary |
|---|---|
| pack-priv static native void deleteGlobalRef(long ref) Deletes a global reference.
| |
| getContextCallback | back to summary |
|---|---|
| pack-priv static native long getContextCallback() Returns the memory address of the native function we pass to clCreateContext(FromType).
| |
| getEventCallback | back to summary |
|---|---|
| pack-priv static native long getEventCallback() Returns the memory address of the native function we pass to clSetEventCallback.
| |
| getLogMessageToStderrAPPLE | back to summary |
|---|---|
| pack-priv static native long getLogMessageToStderrAPPLE() Returns the memory address of the native function we pass to clCreateContext(FromType),
when
| |
| getLogMessageToStdoutAPPLE | back to summary |
|---|---|
| pack-priv static native long getLogMessageToStdoutAPPLE() Returns the memory address of the native function we pass to clCreateContext(FromType),
when
| |
| getLogMessageToSystemLogAPPLE | back to summary |
|---|---|
| pack-priv static native long getLogMessageToSystemLogAPPLE() Returns the memory address of the native function we pass to clCreateContext(FromType),
when
| |
| getMemObjectDestructorCallback | back to summary |
|---|---|
| pack-priv static native long getMemObjectDestructorCallback() Returns the memory address of the native function we pass to clSetMemObjectDestructorCallback.
| |
| getNativeKernelCallback | back to summary |
|---|---|
| pack-priv static native long getNativeKernelCallback() Returns the memory address of the native function we pass to clEnqueueNativeKernel.
| |
| getPrintfCallback | back to summary |
|---|---|
| pack-priv static native long getPrintfCallback() Returns the memory address of the native function we pass to clSetPrintfCallback.
| |
| getProgramCallback | back to summary |
|---|---|
| pack-priv static native long getProgramCallback() Returns the memory address of the native function we pass to clBuildProgram.
| |
| ncreateGlobalRef | back to summary |
|---|---|
| private static native long ncreateGlobalRef(Object obj) Creates a new global reference to the specified Object.
| |