diff options
author | Grigori Goronzy <[email protected]> | 2015-05-19 09:28:30 +0200 |
---|---|---|
committer | Grigori Goronzy <[email protected]> | 2015-05-24 01:14:49 +0200 |
commit | f972b223c4cb4ec58a9451cbac5d120ac9deb336 (patch) | |
tree | 997d133fdfc43c5a9abe62b3ceb34886b727b2a5 /VERSION | |
parent | 5c495e86388b55af067677e8608eb124a5d70d29 (diff) |
clover: try userptr for CL_MEM_USE_HOST_PTR
According to spec, CL_MEM_USE_HOST_PTR should directly use host memory,
if possible. This is just what userptr is for, so use it.
In case the memory cannot be mapped, a fallback similar to
CL_MEM_COPY_HOST_PTR is used.
v2: constify, drop unneeded cast
Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'VERSION')
0 files changed, 0 insertions, 0 deletions