diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/com/jogamp/opencl/CLContext.java | 4 | ||||
-rw-r--r-- | src/com/jogamp/opencl/CLMemory.java | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/com/jogamp/opencl/CLContext.java b/src/com/jogamp/opencl/CLContext.java index 837b2ebd..19fdbc1e 100644 --- a/src/com/jogamp/opencl/CLContext.java +++ b/src/com/jogamp/opencl/CLContext.java @@ -605,7 +605,9 @@ public class CLContext extends CLObject implements CLResource { @Override public String toString() { return getClass().getSimpleName()+" [id: " + ID - + " #devices: " + getDevices().length + + ", platform: " + getPlatform().getName() + + ", profile: " + getPlatform().getProfile() + + ", devices: " + getDevices().length + "]"; } diff --git a/src/com/jogamp/opencl/CLMemory.java b/src/com/jogamp/opencl/CLMemory.java index 416b8019..8b28001e 100644 --- a/src/com/jogamp/opencl/CLMemory.java +++ b/src/com/jogamp/opencl/CLMemory.java @@ -241,7 +241,7 @@ public abstract class CLMemory <B extends Buffer> extends CLObject implements CL @Override public String toString() { - return getClass().getSimpleName()+" [id: " + ID+"]"; + return getClass().getSimpleName()+" [id: " + ID+" buffer: "+buffer+"]"; } /** |