diff options
author | Michael Bien <[email protected]> | 2010-03-08 16:23:28 +0100 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-03-08 16:23:28 +0100 |
commit | 5ad19147a76f80635dcae18693929edbf1da2cbf (patch) | |
tree | 929896eab7d454edcb2267d9287d619600868250 /src/com/mbien/opencl/CLPlatform.java | |
parent | c77d94f00de586f3ffa54312dd752650a6ff4d7b (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.java | 3 |
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 |