2020-03-06 11:09:57 +01:00
|
|
|
/*
|
2022-05-16 14:06:56 +00:00
|
|
|
* Copyright (C) 2020-2022 Intel Corporation
|
2020-03-06 11:09:57 +01:00
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
extern "C" {
|
|
|
|
|
|
2020-08-07 13:42:35 -07:00
|
|
|
ZE_APIEXPORT ze_result_t ZE_APICALL
|
2022-05-16 14:06:56 +00:00
|
|
|
zeContextCreateTracing(ze_driver_handle_t hDriver,
|
|
|
|
|
const ze_context_desc_t *desc,
|
|
|
|
|
ze_context_handle_t *phContext);
|
2020-08-07 13:42:35 -07:00
|
|
|
|
|
|
|
|
ZE_APIEXPORT ze_result_t ZE_APICALL
|
2022-05-16 14:06:56 +00:00
|
|
|
zeContextDestroyTracing(ze_context_handle_t hContext);
|
2020-08-07 13:42:35 -07:00
|
|
|
|
|
|
|
|
ZE_APIEXPORT ze_result_t ZE_APICALL
|
2022-05-16 14:06:56 +00:00
|
|
|
zeContextGetStatusTracing(ze_context_handle_t hContext);
|
2020-08-07 13:42:35 -07:00
|
|
|
|
|
|
|
|
ZE_APIEXPORT ze_result_t ZE_APICALL
|
2022-05-16 14:06:56 +00:00
|
|
|
zeContextSystemBarrierTracing(ze_context_handle_t hContext,
|
|
|
|
|
ze_device_handle_t hDevice);
|
2020-08-07 13:42:35 -07:00
|
|
|
|
2020-07-31 18:03:32 -07:00
|
|
|
ZE_APIEXPORT ze_result_t ZE_APICALL
|
2022-05-16 14:06:56 +00:00
|
|
|
zeContextMakeMemoryResidentTracing(ze_context_handle_t hContext,
|
|
|
|
|
ze_device_handle_t hDevice,
|
|
|
|
|
void *ptr,
|
|
|
|
|
size_t size);
|
2020-03-06 11:09:57 +01:00
|
|
|
|
2020-07-31 18:03:32 -07:00
|
|
|
ZE_APIEXPORT ze_result_t ZE_APICALL
|
2022-05-16 14:06:56 +00:00
|
|
|
zeContextEvictMemoryTracing(ze_context_handle_t hContext,
|
|
|
|
|
ze_device_handle_t hDevice,
|
|
|
|
|
void *ptr,
|
|
|
|
|
size_t size);
|
2020-03-06 11:09:57 +01:00
|
|
|
|
2020-07-31 18:03:32 -07:00
|
|
|
ZE_APIEXPORT ze_result_t ZE_APICALL
|
2022-05-16 14:06:56 +00:00
|
|
|
zeContextMakeImageResidentTracing(ze_context_handle_t hContext,
|
|
|
|
|
ze_device_handle_t hDevice,
|
|
|
|
|
ze_image_handle_t hImage);
|
2020-03-06 11:09:57 +01:00
|
|
|
|
2020-07-31 18:03:32 -07:00
|
|
|
ZE_APIEXPORT ze_result_t ZE_APICALL
|
2022-05-16 14:06:56 +00:00
|
|
|
zeContextEvictImageTracing(ze_context_handle_t hContext,
|
|
|
|
|
ze_device_handle_t hDevice,
|
|
|
|
|
ze_image_handle_t hImage);
|
2020-03-06 11:09:57 +01:00
|
|
|
|
|
|
|
|
} // extern "C"
|