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
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Beignet mailing list Beignet@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/beignet