SetMemObjectDestructorCallback method.
void (*invoke) (
cl_mem memobj,
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 CLMemObjectDestructorCallback | Returns: the newCLMemObjectDestructorCallbackCreates a |
| public static CLMemObjectDestructorCallback | create(CLMemObjectDestructorCallbackI instance)
Creates a |
| public static CLMemObjectDestructorCallback |
| CLMemObjectDestructorCallback | back to summary |
|---|---|
| protected CLMemObjectDestructorCallback() | |
| CLMemObjectDestructorCallback | back to summary |
|---|---|
| pack-priv CLMemObjectDestructorCallback(long functionPointer) | |
| create | back to summary |
|---|---|
| public static CLMemObjectDestructorCallback create(long functionPointer) Creates a
| |
| create | back to summary |
|---|---|
| public static CLMemObjectDestructorCallback create(CLMemObjectDestructorCallbackI instance) Creates a | |
| createSafe | back to summary |
|---|---|
| public static CLMemObjectDestructorCallback createSafe(long functionPointer) Like
| |
| Modifier and Type | Field and Description |
|---|---|
| private final CLMemObjectDestructorCallbackI |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | invoke(long
the memory object that was deleted memobj, long the user-specified value that was passed when calling user_data)SetMemObjectDestructorCallbackImplements org. |
| delegate | back to summary |
|---|---|
| private final CLMemObjectDestructorCallbackI delegate | |
| Container | back to summary |
|---|---|
| pack-priv Container(long functionPointer, CLMemObjectDestructorCallbackI delegate) | |
| invoke | back to summary |
|---|---|
| public void invoke(long memobj, long user_data) Implements org. Doc from org. Will be called when a memory object is deleted.
| |