diff options
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. |