Some bugs

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Some bugs

Wibowit
Hello,

As I don't really know how to classify those bugs I'm posting them here. I've downloaded and run demos from: http://jogamp.org/deployment/webstart/jocl-demos/

My results are (for Windows 7 64-bit, ATI Radeon HD 5770, 8 GiB RAM):

clinfo.jnlp gives an error:
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.sun.javaws.Launcher.executeApplication(Unknown Source)
	at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
	at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
	at com.sun.javaws.Launcher.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: com/jogamp/opencl/impl/CLMemObjectDestructorCallback
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(Unknown Source)
	at java.lang.ClassLoader.loadLibrary(Unknown Source)
	at java.lang.Runtime.loadLibrary0(Unknown Source)
	at java.lang.System.loadLibrary(Unknown Source)
	at com.jogamp.common.jvm.JNILibLoaderBase.loadLibraryInternal(JNILibLoaderBase.java:218)
	at com.jogamp.common.jvm.JNILibLoaderBase.access$000(JNILibLoaderBase.java:51)
	at com.jogamp.common.jvm.JNILibLoaderBase$DefaultAction.loadLibrary(JNILibLoaderBase.java:81)
	at com.jogamp.common.jvm.JNILibLoaderBase$DefaultAction.loadLibrary(JNILibLoaderBase.java:106)
	at com.jogamp.common.jvm.JNILibLoaderBase.loadLibrary(JNILibLoaderBase.java:146)
	at com.jogamp.opencl.JOCLJNILibLoader.loadOpenCL(JOCLJNILibLoader.java:46)
	at com.jogamp.opencl.CLPlatform$2.run(CLPlatform.java:125)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.jogamp.opencl.CLPlatform.initialize(CLPlatform.java:122)
	at com.jogamp.opencl.demos.info.CLInfo.main(CLInfo.java:42)
	... 9 more
Caused by: java.lang.ClassNotFoundException: com.jogamp.opencl.impl.CLMemObjectDestructorCallback
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(Unknown Source)
	at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	... 24 more

glclinterop.jnlp shows blank window.

julia3d.jnlp gives same error:
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.sun.javaws.Launcher.executeApplication(Unknown Source)
	at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
	at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
	at com.sun.javaws.Launcher.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: com/jogamp/opencl/impl/CLMemObjectDestructorCallback
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(Unknown Source)
	at java.lang.ClassLoader.loadLibrary(Unknown Source)
	at java.lang.Runtime.loadLibrary0(Unknown Source)
	at java.lang.System.loadLibrary(Unknown Source)
	at com.jogamp.common.jvm.JNILibLoaderBase.loadLibraryInternal(JNILibLoaderBase.java:218)
	at com.jogamp.common.jvm.JNILibLoaderBase.access$000(JNILibLoaderBase.java:51)
	at com.jogamp.common.jvm.JNILibLoaderBase$DefaultAction.loadLibrary(JNILibLoaderBase.java:81)
	at com.jogamp.common.jvm.JNILibLoaderBase$DefaultAction.loadLibrary(JNILibLoaderBase.java:106)
	at com.jogamp.common.jvm.JNILibLoaderBase.loadLibrary(JNILibLoaderBase.java:146)
	at com.jogamp.opencl.JOCLJNILibLoader.loadOpenCL(JOCLJNILibLoader.java:46)
	at com.jogamp.opencl.CLPlatform$2.run(CLPlatform.java:125)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.jogamp.opencl.CLPlatform.initialize(CLPlatform.java:122)
	at com.jogamp.opencl.CLPlatform.getDefault(CLPlatform.java:154)
	at com.jogamp.opencl.demos.julia3d.Julia3d.<init>(Julia3d.java:48)
	at com.jogamp.opencl.demos.julia3d.Julia3d.main(Julia3d.java:206)
	... 9 more
Caused by: java.lang.ClassNotFoundException: com.jogamp.opencl.impl.CLMemObjectDestructorCallback
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(Unknown Source)
	at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	... 26 more

multi-device-fractal.jnlp also shows blank window.

In all cases Java complains about unsafe components.

I have Catalyst version: Catalyst_10.12_CCC2_Preview_Win7_Dec7 and Stream SDK version: streamsdk_2-3_win764

My environment variables are:
ATISTREAMSDKROOT=C:\Program Files (x86)\ATI Stream\
ATISTREAMSDKSAMPLESROOT=C:\AMD\ATI Stream Samples\
JAVA_HOME=C:\Program Files\Java\jre6
Path=C:\AMD\ATI Stream Samples\bin\x86_64;C:\AMD\ATI Stream Samples\bin\x86;C:\Program Files (x86)\ATI Stream\bin\x86_64;C:\Program Files (x86)\ATI Stream\bin\x86;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;%JAVA_HOME%\bin;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\ATI Stream\Tools\Stream KernelAnalyzer 1.7\

I'll try to restart and rerun those demos to verify.

OK. Confirmed.
Reply | Threaded
Open this post in threaded view
|

Re: Some bugs

Michael Bien
Hi,

the jocl webstart demos are currently unavailable, sorry about that. I will fix that in about 2 weeks (including lots of other pending stuff i have here on my disk) since i am writing currently my final exams + thesis.

This are actually not real jocl bugs its "just" some deployment stuff... e.g incompatible lib versions.

But you can easily run the stuff locally if you follow this steps:
 - download (clone) the jocl-demos repository from http://github.com/mbien/jocl-demos
 - open the project in NetBeans
 - you will now get a warning dialog telling you that a few jar files are missing... (jogl, jocl, gluegen)
 --> download the stuff and fix those missing project files ("resolve missing references" menu)
 - open nbproject/project.properties and scroll down
 - update the 'run.jvmargs' property to run.jvmargs=-Djava.library.path="path/to/the/native/libs"
(the path must contain all native libs from the jars you just downloaded above, speak all the jogl, gluegen and jocl stuff)

done.. now you can select any demo and just run it.

https://jogamp.org/deployment/autobuilds/master/jocl-b242-2011-01-15_04-31-04/
https://jogamp.org/deployment/autobuilds/master/jogl-b266-2010-12-23_06-40-52/
(gluegen is already included in the zip)

have fun,
michael


On 01/20/2011 12:24 AM, Wibowit [via jogamp] wrote:
Hello,

As I don't really know how to classify those bugs I'm posting them here. I've downloaded and run demos from: http://jogamp.org/deployment/webstart/jocl-demos/

My results are (for Windows 7 64-bit, ATI Radeon HD 5770, 8 GiB RAM):

clinfo.jnlp gives an error:
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.sun.javaws.Launcher.executeApplication(Unknown Source)
	at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
	at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
	at com.sun.javaws.Launcher.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: com/jogamp/opencl/impl/CLMemObjectDestructorCallback
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(Unknown Source)
	at java.lang.ClassLoader.loadLibrary(Unknown Source)
	at java.lang.Runtime.loadLibrary0(Unknown Source)
	at java.lang.System.loadLibrary(Unknown Source)
	at com.jogamp.common.jvm.JNILibLoaderBase.loadLibraryInternal(JNILibLoaderBase.java:218)
	at com.jogamp.common.jvm.JNILibLoaderBase.access$000(JNILibLoaderBase.java:51)
	at com.jogamp.common.jvm.JNILibLoaderBase$DefaultAction.loadLibrary(JNILibLoaderBase.java:81)
	at com.jogamp.common.jvm.JNILibLoaderBase$DefaultAction.loadLibrary(JNILibLoaderBase.java:106)
	at com.jogamp.common.jvm.JNILibLoaderBase.loadLibrary(JNILibLoaderBase.java:146)
	at com.jogamp.opencl.JOCLJNILibLoader.loadOpenCL(JOCLJNILibLoader.java:46)
	at com.jogamp.opencl.CLPlatform$2.run(CLPlatform.java:125)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.jogamp.opencl.CLPlatform.initialize(CLPlatform.java:122)
	at com.jogamp.opencl.demos.info.CLInfo.main(CLInfo.java:42)
	... 9 more
Caused by: java.lang.ClassNotFoundException: com.jogamp.opencl.impl.CLMemObjectDestructorCallback
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(Unknown Source)
	at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	... 24 more


glclinterop.jnlp shows blank window.

julia3d.jnlp gives same error:
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at com.sun.javaws.Launcher.executeApplication(Unknown Source)
	at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
	at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
	at com.sun.javaws.Launcher.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: com/jogamp/opencl/impl/CLMemObjectDestructorCallback
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(Unknown Source)
	at java.lang.ClassLoader.loadLibrary(Unknown Source)
	at java.lang.Runtime.loadLibrary0(Unknown Source)
	at java.lang.System.loadLibrary(Unknown Source)
	at com.jogamp.common.jvm.JNILibLoaderBase.loadLibraryInternal(JNILibLoaderBase.java:218)
	at com.jogamp.common.jvm.JNILibLoaderBase.access$000(JNILibLoaderBase.java:51)
	at com.jogamp.common.jvm.JNILibLoaderBase$DefaultAction.loadLibrary(JNILibLoaderBase.java:81)
	at com.jogamp.common.jvm.JNILibLoaderBase$DefaultAction.loadLibrary(JNILibLoaderBase.java:106)
	at com.jogamp.common.jvm.JNILibLoaderBase.loadLibrary(JNILibLoaderBase.java:146)
	at com.jogamp.opencl.JOCLJNILibLoader.loadOpenCL(JOCLJNILibLoader.java:46)
	at com.jogamp.opencl.CLPlatform$2.run(CLPlatform.java:125)
	at java.security.AccessController.doPrivileged(Native Method)
	at com.jogamp.opencl.CLPlatform.initialize(CLPlatform.java:122)
	at com.jogamp.opencl.CLPlatform.getDefault(CLPlatform.java:154)
	at com.jogamp.opencl.demos.julia3d.Julia3d.<init>(Julia3d.java:48)
	at com.jogamp.opencl.demos.julia3d.Julia3d.main(Julia3d.java:206)
	... 9 more
Caused by: java.lang.ClassNotFoundException: com.jogamp.opencl.impl.CLMemObjectDestructorCallback
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(Unknown Source)
	at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	... 26 more


multi-device-fractal.jnlp also shows blank window.

In all cases Java complains about unsafe components.

I have Catalyst version: Catalyst_10.12_CCC2_Preview_Win7_Dec7 and Stream SDK version: streamsdk_2-3_win764

My environment variables are:
ATISTREAMSDKROOT=C:\Program Files (x86)\ATI Stream\
ATISTREAMSDKSAMPLESROOT=C:\AMD\ATI Stream Samples\
JAVA_HOME=C:\Program Files\Java\jre6
Path=C:\AMD\ATI Stream Samples\bin\x86_64;C:\AMD\ATI Stream Samples\bin\x86;C:\Program Files (x86)\ATI Stream\bin\x86_64;C:\Program Files (x86)\ATI Stream\bin\x86;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;%JAVA_HOME%\bin;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\ATI Stream\Tools\Stream KernelAnalyzer 1.7\


If you reply to this email, your message will be added to the discussion below:
http://jogamp.762907.n3.nabble.com/Some-bugs-tp2291303p2291303.html
To start a new topic under jogamp, email [hidden email]
To unsubscribe from jogamp, click here.

-- 
http://michael-bien.com/
Reply | Threaded
Open this post in threaded view
|

Re: Some bugs

Wibowit
Thanks. Half of them are working flawlessly from now, at least on my system under Windows 7 64 bit. My system is (a reminder): ATI Radeon HD 5770, 8 GiB RAM, Catalyst 10.12 CCC2 Preview, ATI Stream SDK 2.3.

BitonicSort.java fails with such error:
init:
deps-jar:
compile-single:
run-single:
Initializing OpenCL...
Initializing OpenCL bitonic sorter...
    creating bitonic sort program
    checking minimum supported workgroup size
Exception in thread "main" java.lang.RuntimeException: Minimum work-group size 512 required by this application is not supported on this device.
        at com.jogamp.opencl.demos.bitonicsort.BitonicSort.initBitonicSort(BitonicSort.java:113)
        at com.jogamp.opencl.demos.bitonicsort.BitonicSort.<init>(BitonicSort.java:53)
        at com.jogamp.opencl.demos.bitonicsort.BitonicSort.main(BitonicSort.java:199)
Java Result: 1
BUILD SUCCESSFUL (total time: 1 second)

MultiDeviceFractal.java shows error after resizing:
init:
deps-jar:
compile-single:
run-single:
CLProgramBuilder{options=[], defines=[], devices={CLDevice [id: 284084128 name: Juniper type: GPU profile: FULL_PROFILE]=[B@20992bae}}
CLProgramBuilder{options=[], defines=[], devices={CLDevice [id: 284092000 name: Intel(R) Core(TM)2 Duo CPU E8400  @ 3.00GHz type: CPU profile: FULL_PROFILE]=[B@20992bae}}

Exception in thread "AWT-EventQueue-0" com.jogamp.opencl.CLException$CLInvalidMemObjectException: can not obtain buffer info [error: CL_INVALID_MEM_OBJECT]
        at com.jogamp.opencl.CLException.checkForError(CLException.java:67)
        at com.jogamp.opencl.CLMemory.getSizeImpl(CLMemory.java:96)
        at com.jogamp.opencl.gl.CLGLBuffer.<init>(CLGLBuffer.java:52)
        at com.jogamp.opencl.gl.CLGLBuffer.create(CLGLBuffer.java:66)
        at com.jogamp.opencl.gl.CLGLContext.createFromGLBuffer(CLGLContext.java:217)
        at com.jogamp.opencl.gl.CLGLContext.createFromGLBuffer(CLGLContext.java:205)
        at com.jogamp.opencl.demos.fractal.MultiDeviceFractal.initPBO(MultiDeviceFractal.java:287)
        at com.jogamp.opencl.demos.fractal.MultiDeviceFractal.reshape(MultiDeviceFractal.java:449)
        at com.jogamp.opengl.impl.GLDrawableHelper.reshape(GLDrawableHelper.java:202)
        at com.jogamp.opengl.impl.GLDrawableHelper.reshape(GLDrawableHelper.java:209)
        at javax.media.opengl.awt.GLCanvas$DisplayAction.run(GLCanvas.java:848)
        at com.jogamp.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:362)
        at javax.media.opengl.awt.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:748)
        at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:383)
        at javax.media.opengl.awt.GLCanvas.paint(GLCanvas.java:481)
        at sun.awt.RepaintArea.paintComponent(RepaintArea.java:248)
        at sun.awt.RepaintArea.paint(RepaintArea.java:224)
        at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:310)
        at java.awt.Component.dispatchEventImpl(Component.java:4706)
        at java.awt.Component.dispatchEvent(Component.java:4460)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at com.jogamp.opencl.demos.fractal.MultiDeviceFractal.initPBO(MultiDeviceFractal.java:269)
        at com.jogamp.opencl.demos.fractal.MultiDeviceFractal.reshape(MultiDeviceFractal.java:449)
        at com.jogamp.opengl.impl.GLDrawableHelper.reshape(GLDrawableHelper.java:202)
        at com.jogamp.opengl.impl.GLDrawableHelper.reshape(GLDrawableHelper.java:209)
        at javax.media.opengl.awt.GLCanvas$DisplayAction.run(GLCanvas.java:848)
        at com.jogamp.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:362)
        at javax.media.opengl.awt.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:748)
        at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:383)
        at javax.media.opengl.awt.GLCanvas.paint(GLCanvas.java:481)
        at sun.awt.RepaintArea.paintComponent(RepaintArea.java:248)
        at sun.awt.RepaintArea.paint(RepaintArea.java:224)
        at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:310)
        at java.awt.Component.dispatchEventImpl(Component.java:4706)
        at java.awt.Component.dispatchEvent(Component.java:4460)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at com.jogamp.opencl.demos.fractal.MultiDeviceFractal.initPBO(MultiDeviceFractal.java:269)
        at com.jogamp.opencl.demos.fractal.MultiDeviceFractal.reshape(MultiDeviceFractal.java:449)
        at com.jogamp.opengl.impl.GLDrawableHelper.reshape(GLDrawableHelper.java:202)
        at com.jogamp.opengl.impl.GLDrawableHelper.reshape(GLDrawableHelper.java:209)
        at javax.media.opengl.awt.GLCanvas$DisplayAction.run(GLCanvas.java:848)
        at com.jogamp.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:362)
        at javax.media.opengl.awt.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:748)
        at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:383)
        at javax.media.opengl.awt.GLCanvas.paint(GLCanvas.java:481)
        at sun.awt.RepaintArea.paintComponent(RepaintArea.java:248)
        at sun.awt.RepaintArea.paint(RepaintArea.java:224)
        at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:310)
        at java.awt.Component.dispatchEventImpl(Component.java:4706)
        at java.awt.Component.dispatchEvent(Component.java:4460)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at com.jogamp.opencl.demos.fractal.MultiDeviceFractal.initPBO(MultiDeviceFractal.java:269)
        at com.jogamp.opencl.demos.fractal.MultiDeviceFractal.reshape(MultiDeviceFractal.java:449)
        at com.jogamp.opengl.impl.GLDrawableHelper.reshape(GLDrawableHelper.java:202)
        at com.jogamp.opengl.impl.GLDrawableHelper.reshape(GLDrawableHelper.java:209)
        at javax.media.opengl.awt.GLCanvas$DisplayAction.run(GLCanvas.java:848)
        at com.jogamp.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:362)
        at javax.media.opengl.awt.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:748)
        at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:383)
        at javax.media.opengl.awt.GLCanvas.paint(GLCanvas.java:481)
        at sun.awt.RepaintArea.paintComponent(RepaintArea.java:248)
        at sun.awt.RepaintArea.paint(RepaintArea.java:224)
        at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:310)
        at java.awt.Component.dispatchEventImpl(Component.java:4706)
        at java.awt.Component.dispatchEvent(Component.java:4460)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at com.jogamp.opencl.demos.fractal.MultiDeviceFractal.initPBO(MultiDeviceFractal.java:269)
        at com.jogamp.opencl.demos.fractal.MultiDeviceFractal.reshape(MultiDeviceFractal.java:449)
        at com.jogamp.opengl.impl.GLDrawableHelper.reshape(GLDrawableHelper.java:202)
        at com.jogamp.opengl.impl.GLDrawableHelper.reshape(GLDrawableHelper.java:209)
        at javax.media.opengl.awt.GLCanvas$DisplayAction.run(GLCanvas.java:848)
        at com.jogamp.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:362)
        at javax.media.opengl.awt.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:748)
        at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:383)
        at javax.media.opengl.awt.GLCanvas.paint(GLCanvas.java:481)
        at sun.awt.RepaintArea.paintComponent(RepaintArea.java:248)
        at sun.awt.RepaintArea.paint(RepaintArea.java:224)
        at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:310)
        at java.awt.Component.dispatchEventImpl(Component.java:4706)
        at java.awt.Component.dispatchEvent(Component.java:4460)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at com.jogamp.opencl.demos.fractal.MultiDeviceFractal.initPBO(MultiDeviceFractal.java:269)
        at com.jogamp.opencl.demos.fractal.MultiDeviceFractal.reshape(MultiDeviceFractal.java:449)
        at com.jogamp.opengl.impl.GLDrawableHelper.reshape(GLDrawableHelper.java:202)
        at com.jogamp.opengl.impl.GLDrawableHelper.reshape(GLDrawableHelper.java:209)
        at javax.media.opengl.awt.GLCanvas$DisplayAction.run(GLCanvas.java:848)
        at com.jogamp.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:362)
        at javax.media.opengl.awt.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:748)
        at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:383)
        at javax.media.opengl.awt.GLCanvas.paint(GLCanvas.java:481)
        at sun.awt.RepaintArea.paintComponent(RepaintArea.java:248)
        at sun.awt.RepaintArea.paint(RepaintArea.java:224)
        at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:310)
        at java.awt.Component.dispatchEventImpl(Component.java:4706)
        at java.awt.Component.dispatchEvent(Component.java:4460)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
BUILD SUCCESSFUL (total time: 19 seconds)

Julia3d.java caused display driver to freeze and then restart, after setting Epsilon to 0.0000 using keyboard.

RadixSortDemo.java shows error about some variable declaration:
init:
deps-jar:
compile-single:
run-single:

 = = = workgroup size: 128 = = = 
array size: 0.131072MB; elements: 32K
Exception in thread "main" com.jogamp.opencl.CLException$CLBuildProgramFailureException: 
CLDevice [id: 141150112 name: Juniper type: GPU profile: FULL_PROFILE] build log:
C:\Users\Piotrek\AppData\Local\Temp\OCL93FE.tmp.cl(92): error: non-kernel
          function: variable with automatic storage duration cannot be stored
          in a named address space
          __local uint numtrue;
                       ^

C:\Users\Piotrek\AppData\Local\Temp\OCL93FE.tmp.cl(95): error: identifier
          "numtrue" is undefined
                  numtrue = address.w + preds.w;
                  ^

C:\Users\Piotrek\AppData\Local\Temp\OCL93FE.tmp.cl(101): error: identifier
          "numtrue" is undefined
          rank.x = (preds.x) ? address.x : numtrue + idx - address.x;
                                           ^

3 errors detected in the compilation of "C:\Users\Piotrek\AppData\Local\Temp\OCL93FE.tmp.cl".
����������������� [error: CL_BUILD_PROGRAM_FAILURE]
        at com.jogamp.opencl.CLException.newException(CLException.java:78)
        at com.jogamp.opencl.CLProgram.build(CLProgram.java:363)
        at com.jogamp.opencl.CLProgram.build(CLProgram.java:266)
        at com.jogamp.opencl.demos.radixsort.RadixSort.<init>(RadixSort.java:62)
        at com.jogamp.opencl.demos.radixsort.RadixSortDemo.<init>(RadixSortDemo.java:69)
        at com.jogamp.opencl.demos.radixsort.RadixSortDemo.main(RadixSortDemo.java:127)
Java Result: 1
BUILD SUCCESSFUL (total time: 0 seconds)
Reply | Threaded
Open this post in threaded view
|

Re: Some bugs

Michael Bien
Hello,

good to hear that its working for you now. Some of the samples are not intended to work under all circumstances to keep them more concise.

e.g the workgroup size is often hardcoded and might not work with certain hardware or not result in optimal performance. device.getMaxWorkgroupsize() only works with few CL implementations...

radixsort is directly ported from the NV sdk and won't work on some other CL impls. Maybe we should add a better error message.

Multifractal resizing works for me on AMD/CPU/linux, NV/GPU/linux, and also with the intel sdk as far as i remember.
please file a bug.

julia3d. well, don't set it to 0 :)
feel free to provide a patch if you like / have time. Freezing/rebooting drivers might be also caused from too long blocking GPU calls on windows. (a little bit over 1s is enough)
http://copypastaresearch.tumblr.com/post/1262185647/when-u-have-a-quite-slow-gpu-as-i-do-u-may-run

best regards,
michael

On 01/20/2011 04:24 PM, Wibowit [via jogamp] wrote:
Thanks. Half of them are working flawlessly from now, at least on my system under Windows 7 64 bit. My system is (a reminder): ATI Radeon HD 5770, 8 GiB RAM, Catalyst 10.12 CCC2 Preview, ATI Stream SDK 2.3.

BitonicSort.java fails with such error:
init:
deps-jar:
compile-single:
run-single:
Initializing OpenCL...
Initializing OpenCL bitonic sorter...
    creating bitonic sort program
    checking minimum supported workgroup size
Exception in thread "main" java.lang.RuntimeException: Minimum work-group size 512 required by this application is not supported on this device.
        at com.jogamp.opencl.demos.bitonicsort.BitonicSort.initBitonicSort(BitonicSort.java:113)
        at com.jogamp.opencl.demos.bitonicsort.BitonicSort.<init>(BitonicSort.java:53)
        at com.jogamp.opencl.demos.bitonicsort.BitonicSort.main(BitonicSort.java:199)
Java Result: 1
BUILD SUCCESSFUL (total time: 1 second)


MultiDeviceFractal.java shows error after resizing:
init:
deps-jar:
compile-single:
run-single:
CLProgramBuilder{options=[], defines=[], devices={CLDevice [id: 284084128 name: Juniper type: GPU profile: FULL_PROFILE]=[B@20992bae}}
CLProgramBuilder{options=[], defines=[], devices={CLDevice [id: 284092000 name: Intel(R) Core(TM)2 Duo CPU E8400  @ 3.00GHz type: CPU profile: FULL_PROFILE]=[B@20992bae}}

Exception in thread "AWT-EventQueue-0" com.jogamp.opencl.CLException$CLInvalidMemObjectException: can not obtain buffer info [error: CL_INVALID_MEM_OBJECT]
        at com.jogamp.opencl.CLException.checkForError(CLException.java:67)
        at com.jogamp.opencl.CLMemory.getSizeImpl(CLMemory.java:96)
        at com.jogamp.opencl.gl.CLGLBuffer.<init>(CLGLBuffer.java:52)
        at com.jogamp.opencl.gl.CLGLBuffer.create(CLGLBuffer.java:66)
        at com.jogamp.opencl.gl.CLGLContext.createFromGLBuffer(CLGLContext.java:217)
        at com.jogamp.opencl.gl.CLGLContext.createFromGLBuffer(CLGLContext.java:205)
        at com.jogamp.opencl.demos.fractal.MultiDeviceFractal.initPBO(MultiDeviceFractal.java:287)
        at com.jogamp.opencl.demos.fractal.MultiDeviceFractal.reshape(MultiDeviceFractal.java:449)
        at com.jogamp.opengl.impl.GLDrawableHelper.reshape(GLDrawableHelper.java:202)
        at com.jogamp.opengl.impl.GLDrawableHelper.reshape(GLDrawableHelper.java:209)
        at javax.media.opengl.awt.GLCanvas$DisplayAction.run(GLCanvas.java:848)
        at com.jogamp.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:362)
        at javax.media.opengl.awt.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:748)
        at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:383)
        at javax.media.opengl.awt.GLCanvas.paint(GLCanvas.java:481)
        at sun.awt.RepaintArea.paintComponent(RepaintArea.java:248)
        at sun.awt.RepaintArea.paint(RepaintArea.java:224)
        at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:310)
        at java.awt.Component.dispatchEventImpl(Component.java:4706)
        at java.awt.Component.dispatchEvent(Component.java:4460)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at com.jogamp.opencl.demos.fractal.MultiDeviceFractal.initPBO(MultiDeviceFractal.java:269)
        at com.jogamp.opencl.demos.fractal.MultiDeviceFractal.reshape(MultiDeviceFractal.java:449)
        at com.jogamp.opengl.impl.GLDrawableHelper.reshape(GLDrawableHelper.java:202)
        at com.jogamp.opengl.impl.GLDrawableHelper.reshape(GLDrawableHelper.java:209)
        at javax.media.opengl.awt.GLCanvas$DisplayAction.run(GLCanvas.java:848)
        at com.jogamp.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:362)
        at javax.media.opengl.awt.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:748)
        at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:383)
        at javax.media.opengl.awt.GLCanvas.paint(GLCanvas.java:481)
        at sun.awt.RepaintArea.paintComponent(RepaintArea.java:248)
        at sun.awt.RepaintArea.paint(RepaintArea.java:224)
        at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:310)
        at java.awt.Component.dispatchEventImpl(Component.java:4706)
        at java.awt.Component.dispatchEvent(Component.java:4460)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at com.jogamp.opencl.demos.fractal.MultiDeviceFractal.initPBO(MultiDeviceFractal.java:269)
        at com.jogamp.opencl.demos.fractal.MultiDeviceFractal.reshape(MultiDeviceFractal.java:449)
        at com.jogamp.opengl.impl.GLDrawableHelper.reshape(GLDrawableHelper.java:202)
        at com.jogamp.opengl.impl.GLDrawableHelper.reshape(GLDrawableHelper.java:209)
        at javax.media.opengl.awt.GLCanvas$DisplayAction.run(GLCanvas.java:848)
        at com.jogamp.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:362)
        at javax.media.opengl.awt.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:748)
        at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:383)
        at javax.media.opengl.awt.GLCanvas.paint(GLCanvas.java:481)
        at sun.awt.RepaintArea.paintComponent(RepaintArea.java:248)
        at sun.awt.RepaintArea.paint(RepaintArea.java:224)
        at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:310)
        at java.awt.Component.dispatchEventImpl(Component.java:4706)
        at java.awt.Component.dispatchEvent(Component.java:4460)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at com.jogamp.opencl.demos.fractal.MultiDeviceFractal.initPBO(MultiDeviceFractal.java:269)
        at com.jogamp.opencl.demos.fractal.MultiDeviceFractal.reshape(MultiDeviceFractal.java:449)
        at com.jogamp.opengl.impl.GLDrawableHelper.reshape(GLDrawableHelper.java:202)
        at com.jogamp.opengl.impl.GLDrawableHelper.reshape(GLDrawableHelper.java:209)
        at javax.media.opengl.awt.GLCanvas$DisplayAction.run(GLCanvas.java:848)
        at com.jogamp.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:362)
        at javax.media.opengl.awt.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:748)
        at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:383)
        at javax.media.opengl.awt.GLCanvas.paint(GLCanvas.java:481)
        at sun.awt.RepaintArea.paintComponent(RepaintArea.java:248)
        at sun.awt.RepaintArea.paint(RepaintArea.java:224)
        at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:310)
        at java.awt.Component.dispatchEventImpl(Component.java:4706)
        at java.awt.Component.dispatchEvent(Component.java:4460)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at com.jogamp.opencl.demos.fractal.MultiDeviceFractal.initPBO(MultiDeviceFractal.java:269)
        at com.jogamp.opencl.demos.fractal.MultiDeviceFractal.reshape(MultiDeviceFractal.java:449)
        at com.jogamp.opengl.impl.GLDrawableHelper.reshape(GLDrawableHelper.java:202)
        at com.jogamp.opengl.impl.GLDrawableHelper.reshape(GLDrawableHelper.java:209)
        at javax.media.opengl.awt.GLCanvas$DisplayAction.run(GLCanvas.java:848)
        at com.jogamp.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:362)
        at javax.media.opengl.awt.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:748)
        at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:383)
        at javax.media.opengl.awt.GLCanvas.paint(GLCanvas.java:481)
        at sun.awt.RepaintArea.paintComponent(RepaintArea.java:248)
        at sun.awt.RepaintArea.paint(RepaintArea.java:224)
        at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:310)
        at java.awt.Component.dispatchEventImpl(Component.java:4706)
        at java.awt.Component.dispatchEvent(Component.java:4460)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at com.jogamp.opencl.demos.fractal.MultiDeviceFractal.initPBO(MultiDeviceFractal.java:269)
        at com.jogamp.opencl.demos.fractal.MultiDeviceFractal.reshape(MultiDeviceFractal.java:449)
        at com.jogamp.opengl.impl.GLDrawableHelper.reshape(GLDrawableHelper.java:202)
        at com.jogamp.opengl.impl.GLDrawableHelper.reshape(GLDrawableHelper.java:209)
        at javax.media.opengl.awt.GLCanvas$DisplayAction.run(GLCanvas.java:848)
        at com.jogamp.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:362)
        at javax.media.opengl.awt.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:748)
        at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:383)
        at javax.media.opengl.awt.GLCanvas.paint(GLCanvas.java:481)
        at sun.awt.RepaintArea.paintComponent(RepaintArea.java:248)
        at sun.awt.RepaintArea.paint(RepaintArea.java:224)
        at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:310)
        at java.awt.Component.dispatchEventImpl(Component.java:4706)
        at java.awt.Component.dispatchEvent(Component.java:4460)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
BUILD SUCCESSFUL (total time: 19 seconds)


Julia3d.java caused display driver to freeze and then restart, after setting Epsilon to 0.0000 using keyboard.

RadixSortDemo.java shows error about some variable declaration:
init:
deps-jar:
compile-single:
run-single:

 = = = workgroup size: 128 = = = 
array size: 0.131072MB; elements: 32K
Exception in thread "main" com.jogamp.opencl.CLException$CLBuildProgramFailureException: 
CLDevice [id: 141150112 name: Juniper type: GPU profile: FULL_PROFILE] build log:
C:\Users\Piotrek\AppData\Local\Temp\OCL93FE.tmp.cl(92): error: non-kernel
          function: variable with automatic storage duration cannot be stored
          in a named address space
          __local uint numtrue;
                       ^

C:\Users\Piotrek\AppData\Local\Temp\OCL93FE.tmp.cl(95): error: identifier
          "numtrue" is undefined
                  numtrue = address.w + preds.w;
                  ^

C:\Users\Piotrek\AppData\Local\Temp\OCL93FE.tmp.cl(101): error: identifier
          "numtrue" is undefined
          rank.x = (preds.x) ? address.x : numtrue + idx - address.x;
                                           ^

3 errors detected in the compilation of "C:\Users\Piotrek\AppData\Local\Temp\OCL93FE.tmp.cl".
����������������� [error: CL_BUILD_PROGRAM_FAILURE]
        at com.jogamp.opencl.CLException.newException(CLException.java:78)
        at com.jogamp.opencl.CLProgram.build(CLProgram.java:363)
        at com.jogamp.opencl.CLProgram.build(CLProgram.java:266)
        at com.jogamp.opencl.demos.radixsort.RadixSort.<init>(RadixSort.java:62)
        at com.jogamp.opencl.demos.radixsort.RadixSortDemo.<init>(RadixSortDemo.java:69)
        at com.jogamp.opencl.demos.radixsort.RadixSortDemo.main(RadixSortDemo.java:127)
Java Result: 1
BUILD SUCCESSFUL (total time: 0 seconds)



If you reply to this email, your message will be added to the discussion below:
http://jogamp.762907.n3.nabble.com/Some-bugs-tp2291303p2294921.html
To start a new topic under jogamp, email [hidden email]
To unsubscribe from jogamp, click here.

-- 
http://michael-bien.com/
Reply | Threaded
Open this post in threaded view
|

Re: Some bugs

Michael Bien
In reply to this post by Wibowit
Wibowit wrote
Julia3d.java caused display driver to freeze and then restart, after setting Epsilon to 0.0000 using keyboard.
fixed

all demos are now back online
http://jogamp.org/jocl-demos/www/

regards,
-michael