Reply – Re: How to run jocl tests?
Your Name
Subject
Message
or Cancel
In Reply To
Re: How to run jocl tests?
— by chan chan
Thanks for your concern.
Im interested in GLCL Memory sharing. so please look #5's log.

Here is system A's messages below.

3. launch 3D interactive Julia fractal.
----------------------------------------------------
Could not launch from cache. Will try online mode. [Need to update: force update set in LAP]
#### Java Web Start Error:
#### can not create CL context [error: CL_OUT_OF_RESOURCES]



5. launch OpenGL-OpenCL memory sharing.
----------------------------------------------------
{CLDevice [id: 182189160 name: Intel(R) Core(TM) i5 CPU         760  @ 2.80GHz type: CPU profile: FULL_PROFILE]=BUILD_SUCCESS}
true
CLDevice [id: 182189160 name: Intel(R) Core(TM) i5 CPU         760  @ 2.80GHz type: CPU profile: FULL_PROFILE] build log:
Compilation started
Compilation done
Linking started
Linking done
Kernel <sineWave> was successfully vectorized
Done.
cl buffer type: GL_OBJECT_BUFFER
shared with gl buffer: 1
cl initialised
Exception in thread "AWT-EventQueue-0-AWTAnimator" java.lang.RuntimeException: com.jogamp.opencl.CLException$CLInvalidOperationException: can not enqueue 2DRange CLKernel [id: 358502136 name: sineWave]
 with gwo: null gws: {256, 256} lws: null
cond.: null events: null [error: CL_INVALID_OPERATION]
        at com.jogamp.common.util.awt.AWTEDTExecutor.invoke(AWTEDTExecutor.java:58)
        at jogamp.opengl.awt.AWTThreadingPlugin.invokeOnOpenGLThread(AWTThreadingPlugin.java:100)
        at jogamp.opengl.ThreadingImpl.invokeOnOpenGLThread(ThreadingImpl.java:205)
        at javax.media.opengl.Threading.invokeOnOpenGLThread(Threading.java:172)
        at javax.media.opengl.Threading.invoke(Threading.java:191)
        at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:483)
        at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:74)
        at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:440)
        at com.jogamp.opengl.util.Animator$MainLoop.run(Animator.java:197)
        at java.lang.Thread.run(Unknown Source)
Caused by: com.jogamp.opencl.CLException$CLInvalidOperationException: can not enqueue 2DRange CLKernel [id: 358502136 name: sineWave]
 with gwo: null gws: {256, 256} lws: null
cond.: null events: null [error: CL_INVALID_OPERATION]
        at com.jogamp.opencl.CLException.newException(CLException.java:78)
        at com.jogamp.opencl.CLCommandQueue.putNDRangeKernel(CLCommandQueue.java:1614)
        at com.jogamp.opencl.CLCommandQueue.put2DRangeKernel(CLCommandQueue.java:1522)
        at com.jogamp.opencl.CLCommandQueue.put2DRangeKernel(CLCommandQueue.java:1482)
        at com.jogamp.opencl.demos.joglinterop.GLCLInteroperabilityDemo.computeHeightfield(GLCLInteroperabilityDemo.java:238)
        at com.jogamp.opencl.demos.joglinterop.GLCLInteroperabilityDemo.display(GLCLInteroperabilityDemo.java:210)
        at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:588)
        at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:572)
        at javax.media.opengl.awt.GLCanvas$7.run(GLCanvas.java:1054)
        at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1034)
        at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:909)
        at javax.media.opengl.awt.GLCanvas$8.run(GLCanvas.java:1065)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$000(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)