diff options
author | Sven Gothel <[email protected]> | 2011-06-28 22:32:22 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-06-28 22:32:22 +0200 |
commit | 20a94528161909e12fdcbd06cf5affe89a37efb9 (patch) | |
tree | d4084b90238b1a318e308039f2492092cad438e6 /src/com/jogamp/opencl/CLKernel.java | |
parent | 3016f4fe04dcabdd82d2475a7c23d3b47e1c8766 (diff) | |
parent | 560d4b4958c2838a934fb2008357a7a85e61b546 (diff) |
Fix merge w/ latest mbien/edge
Diffstat (limited to 'src/com/jogamp/opencl/CLKernel.java')
-rw-r--r-- | src/com/jogamp/opencl/CLKernel.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/jogamp/opencl/CLKernel.java b/src/com/jogamp/opencl/CLKernel.java index 8a3a44b9..135174c4 100644 --- a/src/com/jogamp/opencl/CLKernel.java +++ b/src/com/jogamp/opencl/CLKernel.java @@ -30,7 +30,7 @@ package com.jogamp.opencl; import com.jogamp.opencl.util.CLUtil; import com.jogamp.common.nio.Buffers; -import com.jogamp.common.nio.NativeSizeBuffer; +import com.jogamp.common.nio.PointerBuffer; import com.jogamp.opencl.llb.CLKernelBinding; import java.nio.Buffer; import java.nio.ByteBuffer; @@ -77,7 +77,7 @@ public class CLKernel extends CLObjectResource implements Cloneable { if(name == null) { // get function name - NativeSizeBuffer size = NativeSizeBuffer.wrap(buffer); + PointerBuffer size = PointerBuffer.wrap(buffer); int ret = binding.clGetKernelInfo(ID, CL_KERNEL_FUNCTION_NAME, 0, null, size); checkForError(ret, "error while asking for kernel function name"); |