[Beignet] [PATCH V2 1/3] support CL_MEM_USE_HOST_PTR with userptr for cl buffer

Zhenyu Wang zhenyuw at linux.intel.com
Thu Nov 6 21:42:33 PST 2014


On 2014.11.07 11:51:08 +0800, Zhigang Gong wrote:
> I have one major comment, what if the running system doesn't support userptr?
> We may need to check whether we can use userptr feature at runtime rather than
> compile time, right?

It's already handled by libdrm interface that if you run old kernel without userptr
support, you won't get bo alloc from libdrm, as in current method just fallback
to copy case.

-- 
Open Source Technology Center, Intel ltd.

$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/beignet/attachments/20141107/cd999b94/attachment.sig>


More information about the Beignet mailing list