Login  Register

Re: Why CLEventList has fixed size?

Posted by Wibowit on Apr 01, 2011; 11:16pm
URL: https://forum.jogamp.org/Why-CLEventList-has-fixed-size-tp2705613p2765418.html

I am finally doing some work on topic and have a basic question: how to use CLEventLists?

I have a code: http://pastebin.com/X5NYX2h9
Problematic line is 71. AFAIU condition parameter should be a list of events to wait for completion, and event parameter should be a list to store resulting event. Extracting profiling info from event does work good.

When I run my program in NetBeans then the output is:
run:
1
com.jogamp.opencl.CLException$CLInvalidEventWaitListException: can not enqueue 1DRange CLKernel [id: 140154717645264 name: sortChunks]
 with gwo: null gws: {8388500} lws: {250} 
cond.: com.jogamp.opencl.CLEventList[CLEvent [id: 140154720214544 name: NDRANGE_KERNEL status: QUEUED]] events: com.jogamp.opencl.CLEventList[] [error: CL_INVALID_EVENT_WAIT_LIST]
Enqueue-to-submit delay: 2105842 ns
Submit-to-run delay: 8432622 ns
Total running time: 8650142 ns
<mediawiki xmlns="http://www.mediawiki.org/xml/export-0.3/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mediawiki.org/xml/export-0.3/ http://www.mediawiki.org/
 <adeiiiklmmnswx________________.//aegiiiklmorwx________________"//::=hipssttwwx________________-LSaacceehimnnst________________"//:=hinoptttwww________________ -.//03ehlmoprtx________________.//egiik
BUILD SUCCESSFUL (total time: 2 seconds)
What's wrong with that event wait list?