summaryrefslogtreecommitdiffstats
path: root/src/com/mbien/opencl/CLPlatform.java
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-03-08 16:23:28 +0100
committerMichael Bien <[email protected]>2010-03-08 16:23:28 +0100
commit5ad19147a76f80635dcae18693929edbf1da2cbf (patch)
tree929896eab7d454edcb2267d9287d619600868250 /src/com/mbien/opencl/CLPlatform.java
parentc77d94f00de586f3ffa54312dd752650a6ff4d7b (diff)
moved utilities to util package.
several smaller improvements and doc fixes.
Diffstat (limited to 'src/com/mbien/opencl/CLPlatform.java')
-rw-r--r--src/com/mbien/opencl/CLPlatform.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/mbien/opencl/CLPlatform.java b/src/com/mbien/opencl/CLPlatform.java
index 597878b3..76284dcf 100644
--- a/src/com/mbien/opencl/CLPlatform.java
+++ b/src/com/mbien/opencl/CLPlatform.java
@@ -1,5 +1,6 @@
package com.mbien.opencl;
+import com.mbien.opencl.util.CLUtil;
import com.mbien.opencl.impl.CLImpl;
import com.sun.gluegen.runtime.PointerBuffer;
import java.nio.ByteBuffer;
@@ -243,7 +244,7 @@ public final class CLPlatform {
int ret = cl.clGetPlatformInfo(ID, key, bb.capacity(), bb, pb);
checkForError(ret, "can not receive info string");
- return CLUtils.clString2JavaString(bb, (int)pb.get(0));
+ return CLUtil.clString2JavaString(bb, (int)pb.get(0));
}
@Override