diff options
author | Wade Walker <[email protected]> | 2015-10-03 14:14:25 -0500 |
---|---|---|
committer | Wade Walker <[email protected]> | 2015-11-08 14:05:30 -0600 |
commit | 4f45fe8db1b5c3790ef2659995c2065807c3fe74 (patch) | |
tree | 8a0855248986e287aeaeb4e4402c4b2139b0a0bd /src/com/jogamp/opencl/CLUserEvent.java | |
parent | 7c7146428a0584ad38f036d24a70c15f700f9a8e (diff) |
Remove use of CL*Binding interfaces
In preparation for removing the interfaces themselves
Diffstat (limited to 'src/com/jogamp/opencl/CLUserEvent.java')
-rw-r--r-- | src/com/jogamp/opencl/CLUserEvent.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/jogamp/opencl/CLUserEvent.java b/src/com/jogamp/opencl/CLUserEvent.java index cff3701c..c1528366 100644 --- a/src/com/jogamp/opencl/CLUserEvent.java +++ b/src/com/jogamp/opencl/CLUserEvent.java @@ -34,7 +34,7 @@ package com.jogamp.opencl; import static com.jogamp.opencl.CLException.*; import static com.jogamp.opencl.llb.CL.*; -import com.jogamp.opencl.llb.CLEventBinding; +import com.jogamp.opencl.llb.CL; /** * Custom, user controlled event. @@ -51,7 +51,7 @@ public class CLUserEvent extends CLEvent { * Creates a new user event. */ public static CLUserEvent create(final CLContext context) { - final CLEventBinding binding = context.getPlatform().getEventBinding(); + final CL binding = context.getPlatform().getCLBinding(); final int[] error = new int[1]; final long ID = binding.clCreateUserEvent(context.ID, error, 0); checkForError(error[0], "can not create user event."); @@ -63,7 +63,7 @@ public class CLUserEvent extends CLEvent { * Calls {@native clSetUserEventStatus}. */ public CLUserEvent setStatus(final CLEvent.ExecutionStatus status) { - final CLEventBinding binding = getPlatform().getEventBinding(); + final CL binding = getPlatform().getCLBinding(); final int err = binding.clSetUserEventStatus(ID, status.STATUS); if(err != CL_SUCCESS) { newException(err, "can not set status "+status); |