summaryrefslogtreecommitdiffstats
path: root/test/com/mbien/opencl/LowLevelBindingTest.java
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-01-18 15:24:29 +0100
committerMichael Bien <[email protected]>2010-01-18 15:24:29 +0100
commit09ac312a0645bd0d9adff580f29f20382dfbf8c9 (patch)
tree52e121e8c366c797f34008244243dd896cc1e88a /test/com/mbien/opencl/LowLevelBindingTest.java
parentc4aeea288271f57b3c8640a8cd4ba87d1c331814 (diff)
introduced CLMemory as superclass for all memory objects.
added CLImage, CLImage2d and CLImage3d.
Diffstat (limited to 'test/com/mbien/opencl/LowLevelBindingTest.java')
-rw-r--r--test/com/mbien/opencl/LowLevelBindingTest.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/com/mbien/opencl/LowLevelBindingTest.java b/test/com/mbien/opencl/LowLevelBindingTest.java
index 94b86e71..f8021851 100644
--- a/test/com/mbien/opencl/LowLevelBindingTest.java
+++ b/test/com/mbien/opencl/LowLevelBindingTest.java
@@ -186,6 +186,7 @@ public class LowLevelBindingTest {
int ret = CL.CL_SUCCESS;
int[] intArray = new int[1];
+ //TODO properties not allowed to be null
long context = cl.clCreateContextFromType(null, CL.CL_DEVICE_TYPE_ALL, null, null, null);
out.println("context handle: "+context);