Debian Codegraph @

level_zero/experimental/source/tracing/tracing_device_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 zeDeviceGetTracing(ze_driver_handle_t hDriver,
14 uint32_t *pCount,
15 ze_device_handle_t *phDevices);
16
17 ZE_APIEXPORT ze_result_t ZE_APICALL
18 zeDeviceGetPropertiesTracing(ze_device_handle_t hDevice,
19 ze_device_properties_t *pDeviceProperties);
20
21 ZE_APIEXPORT ze_result_t ZE_APICALL
22 zeDeviceGetComputePropertiesTracing(ze_device_handle_t hDevice,
23 ze_device_compute_properties_t *pComputeProperties);
24
25 ZE_APIEXPORT ze_result_t ZE_APICALL
26 zeDeviceGetMemoryPropertiesTracing(ze_device_handle_t hDevice,
27 uint32_t *pCount,
28 ze_device_memory_properties_t *pMemProperties);
29
30 ZE_APIEXPORT ze_result_t ZE_APICALL
31 zeDeviceGetCachePropertiesTracing(ze_device_handle_t hDevice,
32 uint32_t *pCount,
33 ze_device_cache_properties_t *pCacheProperties);
34
35 ZE_APIEXPORT ze_result_t ZE_APICALL
36 zeDeviceGetImagePropertiesTracing(ze_device_handle_t hDevice,
37 ze_device_image_properties_t *pImageProperties);
38
39 ZE_APIEXPORT ze_result_t ZE_APICALL
40 zeDeviceGetSubDevicesTracing(ze_device_handle_t hDevice,
41 uint32_t *pCount,
42 ze_device_handle_t *phSubdevices);
43
44 ZE_APIEXPORT ze_result_t ZE_APICALL
45 zeDeviceGetP2PPropertiesTracing(ze_device_handle_t hDevice,
46 ze_device_handle_t hPeerDevice,
47 ze_device_p2p_properties_t *pP2PProperties);
48
49 ZE_APIEXPORT ze_result_t ZE_APICALL
50 zeDeviceCanAccessPeerTracing(ze_device_handle_t hDevice,
51 ze_device_handle_t hPeerDevice,
52 ze_bool_t *value);
53
54 ZE_APIEXPORT ze_result_t ZE_APICALL
55 zeKernelSetCacheConfigTracing(ze_kernel_handle_t hKernel,
56 ze_cache_config_flags_t flags);
57
58 ZE_APIEXPORT ze_result_t ZE_APICALL
59 zeDeviceGetMemoryAccessPropertiesTracing(ze_device_handle_t hDevice,
60 ze_device_memory_access_properties_t *pMemAccessProperties);
61
62 ZE_APIEXPORT ze_result_t ZE_APICALL
63 zeDeviceGetModulePropertiesTracing(ze_device_handle_t hDevice,
64 ze_device_module_properties_t *pModuleProperties);
65
66 ZE_APIEXPORT ze_result_t ZE_APICALL
67 zeDeviceGetCommandQueueGroupPropertiesTracing(ze_device_handle_t hDevice,
68 uint32_t *pCount,
69 ze_command_queue_group_properties_t *pCommandQueueGroupProperties);
70
71 ZE_APIEXPORT ze_result_t ZE_APICALL
72 zeDeviceGetExternalMemoryPropertiesTracing(ze_device_handle_t hDevice,
73 ze_device_external_memory_properties_t *pExternalMemoryProperties);
74
75 ZE_APIEXPORT ze_result_t ZE_APICALL
76 zeDeviceGetStatusTracing(ze_device_handle_t hDevice);
77 }