summaryrefslogtreecommitdiffstats
path: root/test/com/mbien/opencl/HighLevelBindingTest.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/HighLevelBindingTest.java
parentc4aeea288271f57b3c8640a8cd4ba87d1c331814 (diff)
introduced CLMemory as superclass for all memory objects.
added CLImage, CLImage2d and CLImage3d.
Diffstat (limited to 'test/com/mbien/opencl/HighLevelBindingTest.java')
-rw-r--r--test/com/mbien/opencl/HighLevelBindingTest.java14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/com/mbien/opencl/HighLevelBindingTest.java b/test/com/mbien/opencl/HighLevelBindingTest.java
index 84c2a33b..d28dd042 100644
--- a/test/com/mbien/opencl/HighLevelBindingTest.java
+++ b/test/com/mbien/opencl/HighLevelBindingTest.java
@@ -1,6 +1,6 @@
package com.mbien.opencl;
-import com.mbien.opencl.CLBuffer.Mem;
+import com.mbien.opencl.CLMemory.Mem;
import com.mbien.opencl.CLCommandQueue.Mode;
import com.mbien.opencl.CLDevice.FPConfig;
import java.io.IOException;
@@ -169,17 +169,17 @@ public class HighLevelBindingTest {
out.print(dest.getInt()+", ");
out.println("...; "+dest.remaining()/SIZEOF_INT + " more");
- assertTrue(3 == context.getCLBuffers().size());
+ assertTrue(3 == context.getCLMemoryObjects().size());
clBufferA.release();
- assertTrue(2 == context.getCLBuffers().size());
+ assertTrue(2 == context.getCLMemoryObjects().size());
- assertTrue(2 == context.getCLBuffers().size());
+ assertTrue(2 == context.getCLMemoryObjects().size());
clBufferB.release();
- assertTrue(1 == context.getCLBuffers().size());
+ assertTrue(1 == context.getCLMemoryObjects().size());
- assertTrue(1 == context.getCLBuffers().size());
+ assertTrue(1 == context.getCLMemoryObjects().size());
clBufferC.release();
- assertTrue(0 == context.getCLBuffers().size());
+ assertTrue(0 == context.getCLMemoryObjects().size());
assertTrue(1 == context.getCLPrograms().size());