diff options
author | Michael Bien <[email protected]> | 2010-02-12 02:15:06 +0100 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-02-12 02:15:06 +0100 |
commit | a93e4532f9515f5b2c0d2c67a45db1236a29ab12 (patch) | |
tree | 71623ffb0c352481d0eaa816d3a842245a403121 /src/com/mbien/opencl/CLDevice.java | |
parent | 3d033bfadaf569d2198de6ca5dfac855dc25ac35 (diff) |
fixed bug in CL[GL]Context.create(..., device), added test.
CLKernel is now Cloneable.
Diffstat (limited to 'src/com/mbien/opencl/CLDevice.java')
-rw-r--r-- | src/com/mbien/opencl/CLDevice.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/mbien/opencl/CLDevice.java b/src/com/mbien/opencl/CLDevice.java index c6134248..d6013166 100644 --- a/src/com/mbien/opencl/CLDevice.java +++ b/src/com/mbien/opencl/CLDevice.java @@ -72,6 +72,10 @@ public final class CLDevice { CLContext getContext() { return context; } + + void setContext(CLContext context) { + this.context = context; + } /** * Returns the name of this device. |