From a93e4532f9515f5b2c0d2c67a45db1236a29ab12 Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Fri, 12 Feb 2010 02:15:06 +0100 Subject: fixed bug in CL[GL]Context.create(..., device), added test. CLKernel is now Cloneable. --- src/com/mbien/opencl/CLDevice.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/com/mbien/opencl/CLDevice.java') 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. -- cgit v1.2.3