mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-27 07:44:16 +08:00
When debug flag ForceZeroCopyForUseHostPtr is set, add CL_MEM_FORCE_HOST_MEMORY_INTEL flag to buffers created with CL_MEM_USE_HOST_PTR. This makes the buffers use zero copy. Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>