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

Simon Richter Simon.Richter at hogyros.de
Fri May 17 11:43:45 PDT 2013


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


More information about the Beignet mailing list