Re: [Mesa-dev] Leaked hardware event if kernel launch fails?

2016-12-25 Thread Pierre Moreau
Hello Francisco! Thank you for your quick reply! On 02:33 pm - Dec 25 2016, Francisco Jerez wrote: > Pierre Moreau writes: > > > Hello, > > > Hi Pierre! > > > I noticed that, if trying to enqueue a kernel which had no > > `module::section::text_executable` attached to

Re: [Mesa-dev] Leaked hardware event if kernel launch fails?

2016-12-25 Thread Francisco Jerez
Pierre Moreau writes: > Hello, > Hi Pierre! > I noticed that, if trying to enqueue a kernel which had no > `module::section::text_executable` attached to its clover module, I would get > a > `std::out_of_range` exception, instead of the expected >

[Mesa-dev] Leaked hardware event if kernel launch fails?

2016-12-25 Thread Pierre Moreau
Hello, I noticed that, if trying to enqueue a kernel which had no `module::section::text_executable` attached to its clover module, I would get a `std::out_of_range` exception, instead of the expected CL_INVALID_PROGRAM_EXECUTABLE (see [0]; I tried enqueueing using `clEnqueueNDRangeKernel). I