[Beignet] [PATCH 2/3] add clCreateBufferFromLibva() api

Simon Richter Simon.Richter at hogyros.de
Fri Sep 27 21:03:43 PDT 2013


Hi,

> This patch and the following patch is to introduce new API to cl lib.
> It's better to put it into include/CL/cl_intel.h, and the naming rule
> is to follow other non-standard API : clMapBufferIntel(cl_mem, cl_int*);
> clXXXIntel.

In addition, extension functions need to be listed in the resolver
function clGetExtensionFunctionAddress (also in cl_api.c), so the
extension function is available when going through the ICD loader (which
is also the reason for the "Intel" suffix -- so the loader knows which
resolver to call).

   Simon


More information about the Beignet mailing list