[Beignet] [PATCH 2/3] enable CL_DEVICE_HOST_UNIFIED_MEMORY so app can benefit from CL_MEM_USE_HOST_PTR
Guo Yejun
yejun.guo at intel.com
Wed Nov 5 17:41:12 PST 2014
Signed-off-by: Guo Yejun <yejun.guo at intel.com>
---
src/cl_gt_device.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/cl_gt_device.h b/src/cl_gt_device.h
index 3cd54eb..1c0a9e6 100644
--- a/src/cl_gt_device.h
+++ b/src/cl_gt_device.h
@@ -60,7 +60,7 @@
.max_constant_buffer_size = 512 << 10,
.max_constant_args = 8,
.error_correction_support = CL_FALSE,
-.host_unified_memory = CL_FALSE,
+.host_unified_memory = CL_TRUE,
.profiling_timer_resolution = 80, /* ns */
.endian_little = CL_TRUE,
.available = CL_TRUE,
--
2.1.0
More information about the Beignet
mailing list