<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [hawaii, radeonsi, clover] Running Piglit cl/program/execute/{,tail-}calls{,-struct,-workitem-id}.cl cause GPU VM error and ring stalled GPU lockup"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105113#c10">Comment # 10</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [hawaii, radeonsi, clover] Running Piglit cl/program/execute/{,tail-}calls{,-struct,-workitem-id}.cl cause GPU VM error and ring stalled GPU lockup"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105113">bug 105113</a>
from <span class="vcard"><a class="email" href="mailto:mail@maciej.szmigiero.name" title="Maciej S. Szmigiero <mail@maciej.szmigiero.name>"> <span class="fn">Maciej S. Szmigiero</span></a>
</span></b>
<pre>(In reply to Jan Vesely from <a href="show_bug.cgi?id=105113#c9">comment #9</a>)
<span class="quote">> (In reply to Maciej S. Szmigiero from <a href="show_bug.cgi?id=105113#c8">comment #8</a>)
> > Aren't program@execute@calls-struct and program@execute@tail-calls tests
> > from <a href="show_bug.cgi?id=105113#c4">comment 4</a> examples of this behavior?
> > These seem to run but return wrong results, or am I not parsing the piglit
> > test results correctly?
>
> This is more of a piglit problem. piglit uses a combination of enqueue and
> clFinish. However, the error happens on kernel launch. thus;
> 1.) clEnqueueNDRangeKernel -- success
> 2.) The driver tries to launch the kernel and fails on relocations
> 3.) application(piglit) calls clFinish
>
> depending on the order of 2. and 3. clFinish can either see an empty queue
> and succeed or try to wait for kernel execution and fail.
>
> The following series should address that:
> <a href="https://patchwork.freedesktop.org/series/52857/">https://patchwork.freedesktop.org/series/52857/</a></span >
Thanks for the detailed explanation and the patches.
I can confirm that with them applied program@execute@calls-struct and
program@execute@tail-calls exit with
CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST, so I guess they work
(or rather, fail) as expected.
Feel free to add
"Tested-by: Maciej S. Szmigiero <<a href="mailto:mail@maciej.szmigiero.name">mail@maciej.szmigiero.name</a>>" tag if you would
like.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>