summaryrefslogtreecommitdiffstats
path: root/test/com/jogamp/opencl/TestUtils.java
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2011-09-17 05:56:16 +0200
committerMichael Bien <[email protected]>2011-09-17 05:56:16 +0200
commit58eca7ee6b1743f471576ff77c6508dd2a886595 (patch)
tree8977c90f835fec87007325185e251f2e69583661 /test/com/jogamp/opencl/TestUtils.java
parent1247f00729e168d1cfb1991ed43f9d64bd9227bd (diff)
Reduction supports now cl.util.concurrent package.
toString() and other minor changes moved roundUp to CLUtil.
Diffstat (limited to 'test/com/jogamp/opencl/TestUtils.java')
-rw-r--r--test/com/jogamp/opencl/TestUtils.java9
1 files changed, 0 insertions, 9 deletions
diff --git a/test/com/jogamp/opencl/TestUtils.java b/test/com/jogamp/opencl/TestUtils.java
index efe6855e..e7e5fabe 100644
--- a/test/com/jogamp/opencl/TestUtils.java
+++ b/test/com/jogamp/opencl/TestUtils.java
@@ -69,15 +69,6 @@ public class TestUtils {
return buffer;
}
- public static int roundUp(int groupSize, int globalSize) {
- int r = globalSize % groupSize;
- if (r == 0) {
- return globalSize;
- } else {
- return globalSize + groupSize - r;
- }
- }
-
public static void checkIfEqual(ByteBuffer a, ByteBuffer b, int elements) {
for(int i = 0; i < elements; i++) {
int aVal = a.getInt();