[Beignet] [PATCH] Refine mem.h and improve the related macro defination.

Simon Richter Simon.Richter at hogyros.de
Fri Dec 23 16:10:36 UTC 2016


Hi,

On 22.12.2016 11:49, He Junyan wrote:

> According to my understanding, PIPE is also a mem object.
> clGetMemObjectInfo can be used to query all kinds of mem object.
> clGetPipeInfo just query additional PIPE info.
> According to CL spec, it just says query CL_MEM_HOST_PTR return
> the host ptr if image/buffer created by CL_MEM_USE_HOST_PTR is specified,
> otherwise, return NULL.

> So, as a PIPE, I think it just retuns NULL and it that correct?

The specification doesn't address this case, so until we get
clarification on that, NULL or an error are both fine.

   Simon


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/beignet/attachments/20161223/3c4ce574/attachment.sig>


More information about the Beignet mailing list