diff options
Diffstat (limited to 'src/com/mbien/opencl/CLContext.java')
-rw-r--r-- | src/com/mbien/opencl/CLContext.java | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/com/mbien/opencl/CLContext.java b/src/com/mbien/opencl/CLContext.java index bcfb09a0..203172b0 100644 --- a/src/com/mbien/opencl/CLContext.java +++ b/src/com/mbien/opencl/CLContext.java @@ -1,6 +1,7 @@ package com.mbien.opencl; import com.mbien.opencl.impl.CLImpl; +import com.sun.gluegen.runtime.PointerBuffer; import java.nio.IntBuffer; /** @@ -62,10 +63,9 @@ public final class CLContext { /** * Gets the device with maximal FLOPS from this context. */ + /* public CLDevice getMaxFlopsDevice() { - //TODO not finished - long[] longBuffer = new long[1]; // ByteBuffer bb = ByteBuffer.allocate(8); // bb.order(ByteOrder.nativeOrder()); @@ -96,6 +96,12 @@ public final class CLContext { return null; } + public CLDevice[] getCLDevices() { + + } +*/ + + /** * Lists all available OpenCL implementaitons. * @throws CLException if something went wrong initializing OpenCL |