[Beignet] [PATCH] Generate all supported as_* functions

He Junyan junyan.he at linux.intel.com
Thu Jun 13 02:03:25 PDT 2013


Hi Simon,

The convert_XXX function is used in several cases in piglit and lack of
such functions will cause the case fail.
I read your patch and find the scripts for generating the as_XXX and
convert_XXX function, which are good enough to generate the functions.
Can you update it and we can pass those failed issues.


On 05/31/2013 02:26 PM, Zhigang Gong wrote:
> Hi Simon,
>
> Are you still working on this?
>
> On Fri, May 17, 2013 at 08:43:45PM +0200, Simon Richter wrote:
>> Hi,
>>
>> On 17.05.2013 17:51, zhigang gong wrote:
>>
>>> Maybe you could take a look at what we did on ocl_common_defines.h.
>>> That's an example of separate header file for open cl kernels.
>>> Need to add something to the CMake script file to stringfy it to a .cpp
>>> and build it into the library, and need to modify function
>>> programNewFromSource() to include it when build OCL source file.
>> Yes, I've seen how that is done -- however placing the definitions at
>> this point in the file would also require splitting ocl_stdlib.h in two,
>> which I'd rather avoid as things get disorganized pretty quickly that way.
>>
>> I think I can look into it on Tuesday due to the holidays over here.
>>
>>     Simon
>> _______________________________________________
>> Beignet mailing list
>> Beignet at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/beignet
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet
>



More information about the Beignet mailing list