diff options
author | Sven Gothel <[email protected]> | 2011-05-18 04:00:45 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-05-18 04:00:45 +0200 |
commit | c6f97a2e6ea1d337f371152a2fee65ee1dd4c5d5 (patch) | |
tree | 352756b92e3a6f9541848dc4cb8f73a6268e59cf /src/com/jogamp/opencl/CLKernel.java | |
parent | 773060662ef81707f70c447b71e664635ac45e2a (diff) |
Synced w/ mbien's JOCL branch - Making it compatible w/ GlueGen again
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 4c898b4b..b2d783ee 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 java.nio.Buffer; import java.nio.ByteBuffer; @@ -73,7 +73,7 @@ public class CLKernel extends CLObject implements CLResource, Cloneable { if(name == null) { // get function name - NativeSizeBuffer size = NativeSizeBuffer.wrap(buffer); + PointerBuffer size = PointerBuffer.wrap(buffer); int ret = cl.clGetKernelInfo(ID, CL_KERNEL_FUNCTION_NAME, 0, null, size); checkForError(ret, "error while asking for kernel function name"); |