feature: add functions to get/set VA space

Added an extension version of zeContextGetVirtualAddressSpaceIpcHandle
and zeContextPutVirtualAddressSpaceIpcHandle, which return
ZE_RESULT_ERROR_UNSUPPORTED_FEATURE for now.

Related-To: NEO-8259

Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
This commit is contained in:
Young Jin Yoon
2023-10-04 22:57:00 +00:00
committed by Compute-Runtime-Automation
parent 6d4f79b71b
commit 0550c80d4f
34 changed files with 694 additions and 369 deletions

View File

@@ -561,6 +561,10 @@ std::unique_ptr<EngineInfo> IoctlHelper::createEngineInfo(bool isSysmanEnabled)
void IoctlHelper::fillBindInfoForIpcHandle(uint32_t handle, size_t size) {}
bool IoctlHelper::getFdFromVmExport(uint32_t vmId, uint32_t flags, int32_t *fd) {
return false;
}
uint32_t IoctlHelper::createGem(uint64_t size, uint32_t memoryBanks) {
GemCreate gemCreate = {};
gemCreate.size = size;