feature: update base layout of L0 handles to match ze_handle_t layout

this layout is required by L0 DDI Handle extension

Related-To: NEO-13121, NEO-13917
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2025-03-28 09:32:57 +00:00
committed by Compute-Runtime-Automation
parent f760731173
commit 2394f9fd91
49 changed files with 150 additions and 125 deletions

View File

@@ -8,12 +8,9 @@
#pragma once
#include "level_zero/core/source/helpers/api_handle_helper.h"
#include <level_zero/ze_api.h>
struct _ze_image_handle_t {
const uint64_t objMagic = objMagicValue;
static const zel_handle_type_t handleType = ZEL_HANDLE_IMAGE;
};
struct _ze_image_handle_t : BaseHandleWithLoaderTranslation<ZEL_HANDLE_IMAGE> {};
static_assert(IsCompliantWithDdiHandlesExt<_ze_image_handle_t>);
namespace NEO {
struct ImageInfo;