SetContextDestructorCallback method.
void (*invoke) (
cl_context context,
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 CLContextDestructorCallback | Returns: the newCLContextDestructorCallbackCreates a |
| public static CLContextDestructorCallback | create(CLContextDestructorCallbackI instance)
Creates a |
| public static CLContextDestructorCallback |
| CLContextDestructorCallback | back to summary |
|---|---|
| protected CLContextDestructorCallback() | |
| CLContextDestructorCallback | back to summary |
|---|---|
| pack-priv CLContextDestructorCallback(long functionPointer) | |
| create | back to summary |
|---|---|
| public static CLContextDestructorCallback create(long functionPointer) Creates a
| |
| create | back to summary |
|---|---|
| public static CLContextDestructorCallback create(CLContextDestructorCallbackI instance) Creates a | |
| createSafe | back to summary |
|---|---|
| public static CLContextDestructorCallback createSafe(long functionPointer) Like
| |
| Modifier and Type | Field and Description |
|---|---|
| private final CLContextDestructorCallbackI |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | invoke(long
the OpenCL context being deleted.
context, long When the callback function is called by the implementation, this context is no longer valid. the user-specified value that was passed when calling user_data)SetContextDestructorCallbackImplements org. |
| delegate | back to summary |
|---|---|
| private final CLContextDestructorCallbackI delegate | |
| Container | back to summary |
|---|---|
| pack-priv Container(long functionPointer, CLContextDestructorCallbackI delegate) | |
| invoke | back to summary |
|---|---|
| public void invoke(long context, long user_data) Implements org. Doc from org. Will be called when a context is destroyed.
| |