Debian Codegraph @

level_zero/experimental/source/tracing/tracing_residency_imp.h

raw
1 /*
2 * Copyright (C) 2020-2022 Intel Corporation
3 *
4 * SPDX-License-Identifier: MIT
5 *
6 */
7
8 #pragma once
9
10 extern "C" {
11
12 ZE_APIEXPORT ze_result_t ZE_APICALL
13 zeContextCreateTracing(ze_driver_handle_t hDriver,
14 const ze_context_desc_t *desc,
15 ze_context_handle_t *phContext);
16
17 ZE_APIEXPORT ze_result_t ZE_APICALL
18 zeContextDestroyTracing(ze_context_handle_t hContext);
19
20 ZE_APIEXPORT ze_result_t ZE_APICALL
21 zeContextGetStatusTracing(ze_context_handle_t hContext);
22
23 ZE_APIEXPORT ze_result_t ZE_APICALL
24 zeContextSystemBarrierTracing(ze_context_handle_t hContext,
25 ze_device_handle_t hDevice);
26
27 ZE_APIEXPORT ze_result_t ZE_APICALL
28 zeContextMakeMemoryResidentTracing(ze_context_handle_t hContext,
29 ze_device_handle_t hDevice,
30 void *ptr,
31 size_t size);
32
33 ZE_APIEXPORT ze_result_t ZE_APICALL
34 zeContextEvictMemoryTracing(ze_context_handle_t hContext,
35 ze_device_handle_t hDevice,
36 void *ptr,
37 size_t size);
38
39 ZE_APIEXPORT ze_result_t ZE_APICALL
40 zeContextMakeImageResidentTracing(ze_context_handle_t hContext,
41 ze_device_handle_t hDevice,
42 ze_image_handle_t hImage);
43
44 ZE_APIEXPORT ze_result_t ZE_APICALL
45 zeContextEvictImageTracing(ze_context_handle_t hContext,
46 ze_device_handle_t hDevice,
47 ze_image_handle_t hImage);
48
49 } // extern "C"