SetProgramReleaseCallback method.
void (*invoke) (
cl_program program,
void *user_data
)
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| protected | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static CLProgramReleaseCallback | Returns: the newCLProgramReleaseCallbackCreates a |
| public static CLProgramReleaseCallback | create(CLProgramReleaseCallbackI instance)
Creates a |
| public static CLProgramReleaseCallback |
| CLProgramReleaseCallback | back to summary |
|---|---|
| protected CLProgramReleaseCallback() | |
| CLProgramReleaseCallback | back to summary |
|---|---|
| pack-priv CLProgramReleaseCallback(long functionPointer) | |
| create | back to summary |
|---|---|
| public static CLProgramReleaseCallback create(long functionPointer) Creates a
| |
| create | back to summary |
|---|---|
| public static CLProgramReleaseCallback create(CLProgramReleaseCallbackI instance) Creates a | |
| createSafe | back to summary |
|---|---|
| public static CLProgramReleaseCallback createSafe(long functionPointer) Like
| |
| Modifier and Type | Field and Description |
|---|---|
| private final CLProgramReleaseCallbackI |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | invoke(long
the program object whose destructors are being called. When the user callback is called by the implementation, this program object is no longer valid.
program, long program is only provided for reference purposes.the user-specified value that was passed when calling user_data)SetProgramReleaseCallbackImplements org. |
| delegate | back to summary |
|---|---|
| private final CLProgramReleaseCallbackI delegate | |
| Container | back to summary |
|---|---|
| pack-priv Container(long functionPointer, CLProgramReleaseCallbackI delegate) | |
| invoke | back to summary |
|---|---|
| public void invoke(long program, long user_data) Implements org. Doc from org. Will be called after destructors (if any) for program scope global variables (if any) are called and before the program is released.
| |