summaryrefslogtreecommitdiff
path: root/kernels/compiler_constant_expr.cl
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyuw@linux.intel.com>2014-10-23 15:19:22 +0800
committerZhigang Gong <zhigang.gong@intel.com>2014-10-24 18:12:29 +0800
commit8b0850587b80847056c9d798642fd8a7155fe3c3 (patch)
treee2eaae3f53d84ac8d344785290f49f55ee0372d6 /kernels/compiler_constant_expr.cl
parente74164f951ba9003f92d14d685f184617da056eb (diff)
Make use of write enable flag for mem bo map
Use drm/intel optimization for mem bo mapping in case of read or write. So we could be possibly waiting less. This also adds 'map_flags' check in clEnqueueMapBuffer/clEnqueueMapImage for actual read or write mapping. But currently leave clMapBufferIntel untouched which might break ABI/API. v2: Fix write_map flag in clEnqueueMapBuffer/clEnqueueMapImage. Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com> Reviewed-by: "Guo, Yejun" <yejun.guo@intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Diffstat (limited to 'kernels/compiler_constant_expr.cl')
0 files changed, 0 insertions, 0 deletions