mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 13:33:02 +08:00
31 lines
666 B
C++
31 lines
666 B
C++
/*
|
|
* Copyright (C) 2023-2024 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "level_zero/api/driver_experimental/public/zex_common.h"
|
|
#include <level_zero/ze_api.h>
|
|
|
|
namespace L0 {
|
|
|
|
ZE_APIEXPORT ze_result_t ZE_APICALL
|
|
zexEventGetDeviceAddress(
|
|
ze_event_handle_t event,
|
|
uint64_t *completionValue,
|
|
uint64_t *address);
|
|
|
|
ZE_APIEXPORT ze_result_t ZE_APICALL
|
|
zexCounterBasedEventCreate(
|
|
ze_context_handle_t hContext,
|
|
ze_device_handle_t hDevice,
|
|
uint64_t *deviceAddress,
|
|
uint64_t *hostAddress,
|
|
uint64_t completionValue,
|
|
const ze_event_desc_t *desc,
|
|
ze_event_handle_t *phEvent);
|
|
|
|
} // namespace L0
|