-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Neil R. Spruit <[email protected]>
- Loading branch information
Showing
10 changed files
with
228 additions
and
9 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
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,41 @@ | ||
/* | ||
* | ||
* Copyright (C) 2024 Intel Corporation | ||
* | ||
* SPDX-License-Identifier: MIT | ||
* | ||
* @file ze_ddi_common.h | ||
* @version v1.12-r1.11.9 | ||
* | ||
*/ | ||
#ifndef _ZE_DDI_H | ||
#define _ZE_DDI_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 Container of all dditables for dispatchable functions | ||
typedef struct _ze_dispatch_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_dispatch_t; | ||
/// @brief Handle with pointer to Dispatch Container allocated by the driver at the beginning of every L0 object handle | ||
typedef struct _ze_handle_t | ||
{ | ||
ze_dispatch_t *pDispatch; // [in] pointer to _ze_dispatch_t_ object related to this handle | ||
} ze_handle_t; | ||
|
||
#if defined(__cplusplus) | ||
} // extern "C" | ||
#endif | ||
|
||
#endif // _ZE_DDI_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
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
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