[Mesa-stable] [PATCH] clover: Call clBuildProgram() notification function when build completes
Francisco Jerez
currojerez at riseup.net
Thu Apr 23 05:15:36 PDT 2015
Emil Velikov <emil.l.velikov at gmail.com> writes:
> Humble ping.
>
This patch is obsolete. IIRC Tom sent a v2 to which I replied with some
(mostly trivial) suggestions. There's no v3 yet AFAIK.
> -Emil
>
> On 08/04/15 18:34, Emil Velikov wrote:
>> Hi Tom,
>>
>> Just a friendly reminder that this patch hasn't landed in master yet.
>> Just making sure it doesn't fall through the cracks :-)
>>
>> Cheers
>> Emil
>>
>> On 24 March 2015 at 19:44, Tom Stellard <thomas.stellard at amd.com> wrote:
>>> Cc: 10.5 10.4 <mesa-stable at lists.freedesktop.org>
>>> ---
>>> src/gallium/state_trackers/clover/api/program.cpp | 4 ++++
>>> 1 file changed, 4 insertions(+)
>>>
>>> diff --git a/src/gallium/state_trackers/clover/api/program.cpp b/src/gallium/state_trackers/clover/api/program.cpp
>>> index 60184ed..fcec1d7 100644
>>> --- a/src/gallium/state_trackers/clover/api/program.cpp
>>> +++ b/src/gallium/state_trackers/clover/api/program.cpp
>>> @@ -180,8 +180,12 @@ clBuildProgram(cl_program d_prog, cl_uint num_devs,
>>> validate_build_program_common(prog, num_devs, d_devs, pfn_notify, user_data);
>>>
>>> prog.build(devs, opts);
>>> + if (pfn_notify)
>>> + pfn_notify(d_prog, user_data);
>>> return CL_SUCCESS;
>>> } catch (error &e) {
>>> + if (pfn_notify)
>>> + pfn_notify(d_prog, user_data);
>>> if (e.get() == CL_INVALID_COMPILER_OPTIONS)
>>> return CL_INVALID_BUILD_OPTIONS;
>>> if (e.get() == CL_COMPILE_PROGRAM_FAILURE)
>>> --
>>> 2.0.4
>>>
>>> _______________________________________________
>>> mesa-stable mailing list
>>> mesa-stable at lists.freedesktop.org
>>> http://lists.freedesktop.org/mailman/listinfo/mesa-stable
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 212 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-stable/attachments/20150423/79b8c968/attachment.sig>
More information about the mesa-stable
mailing list