mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
fix: add fallback for invalid handles in extension functions
handle context, commandlist, driver, device, event, image and kernel handles Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
066282e15b
commit
d45c16dfc2
@@ -7,6 +7,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "level_zero/core/source/helpers/api_handle_helper.h"
|
||||
#include <level_zero/ze_api.h>
|
||||
#include <level_zero/zes_api.h>
|
||||
|
||||
@@ -15,6 +16,7 @@
|
||||
#include <vector>
|
||||
|
||||
struct _ze_driver_handle_t {
|
||||
const uint64_t objMagic = objMagicValue;
|
||||
virtual ~_ze_driver_handle_t() = default;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user