[Mesa-stable] [PATCH] clover: Call clBuildProgram() notification function when build completes

Emil Velikov emil.l.velikov at gmail.com
Thu Apr 23 05:59:22 PDT 2015


Humble ping.

-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



More information about the mesa-stable mailing list