-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Have single ze_handle_t and update .rst docs
Signed-off-by: Neil R. Spruit <[email protected]>
- Loading branch information
Showing
4 changed files
with
36 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/* | ||
* | ||
* Copyright (C) 2024 Intel Corporation | ||
* | ||
* SPDX-License-Identifier: MIT | ||
* | ||
* @file ze_ddi_common.h | ||
* @version v1.12-r1.11.11 | ||
* | ||
*/ | ||
#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" | ||
|
||
#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 | ||
} ze_handle_t; | ||
|
||
#if defined(__cplusplus) | ||
} // extern "C" | ||
#endif | ||
|
||
#endif // _ZE_DDI_COMMON_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters