Describe ZEX_HOST_MEM_ALLOC_FLAG_USE_HOST_PTR flag

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2022-07-27 17:04:25 +00:00
committed by Compute-Runtime-Automation
parent 6bdc920d21
commit fd99ea7259

View File

@ -13,6 +13,10 @@
#include "level_zero/api/driver_experimental/public/zex_api.h"
///////////////////////////////////////////////////////////////////////////////
// It indicates that the application wants the L0 driver implementation to use
// memory referenced by **ptr passed in `zeMemAllocHost` or `zeMemAllocShared`.
// Can be set in `ze_host_mem_alloc_flags_t`.
constexpr uint32_t ZEX_HOST_MEM_ALLOC_FLAG_USE_HOST_PTR = ZE_BIT(30);
///////////////////////////////////////////////////////////////////////////////