forked from oneapi-src/level-zero
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathze_ddi_common.h
More file actions
38 lines (34 loc) · 1012 Bytes
/
ze_ddi_common.h
File metadata and controls
38 lines (34 loc) · 1012 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
*
* Copyright (C) 2024 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
* @file ze_ddi_common.h
* @version v1.15-r1.15.31
*
*/
#ifndef _ZE_DDI_COMMON_H
#define _ZE_DDI_COMMON_H
#if defined(__cplusplus)
#pragma once
#endif
#include "ze_ddi.h"
#include "zet_ddi.h"
#include "zes_ddi.h"
#include "zer_ddi.h"
#if defined(__cplusplus)
extern "C" {
#endif
/// @brief Handle with pointers to Dispatch Tables allocated by the driver at the beginning of every L0 object handle.
typedef struct _ze_handle_t
{
ze_dditable_driver_t *pCore; // [in] pointer to _ze_dditable_t_ object related to this handle
zet_dditable_driver_t *pTools; // [in] pointer to _zet_dditable_t_ object related to this handle
zes_dditable_driver_t *pSysman; // [in] pointer to _zes_dditable_t_ object related to this handle
zer_dditable_driver_t *pRuntime; // [in] pointer to _zer_dditable_t_ object related to this handle
} ze_handle_t;
#if defined(__cplusplus)
} // extern "C"
#endif
#endif // _ZE_DDI_COMMON_H