1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370
|
/*
*
* Copyright (C) 2019-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
* @file zes_ldrddi.h
*
*/
#pragma once
namespace loader
{
///////////////////////////////////////////////////////////////////////////////
// Forward declaration for driver_t so this header can reference loader::driver_t*
// without requiring inclusion of ze_loader_internal.h (which includes this file).
struct driver_t;
///////////////////////////////////////////////////////////////////////////////
using zes_driver_object_t = object_t < zes_driver_handle_t >;
using zes_driver_factory_t = singleton_factory_t < zes_driver_object_t, zes_driver_handle_t >;
using zes_device_object_t = object_t < zes_device_handle_t >;
using zes_device_factory_t = singleton_factory_t < zes_device_object_t, zes_device_handle_t >;
using zes_sched_object_t = object_t < zes_sched_handle_t >;
using zes_sched_factory_t = singleton_factory_t < zes_sched_object_t, zes_sched_handle_t >;
using zes_perf_object_t = object_t < zes_perf_handle_t >;
using zes_perf_factory_t = singleton_factory_t < zes_perf_object_t, zes_perf_handle_t >;
using zes_pwr_object_t = object_t < zes_pwr_handle_t >;
using zes_pwr_factory_t = singleton_factory_t < zes_pwr_object_t, zes_pwr_handle_t >;
using zes_freq_object_t = object_t < zes_freq_handle_t >;
using zes_freq_factory_t = singleton_factory_t < zes_freq_object_t, zes_freq_handle_t >;
using zes_engine_object_t = object_t < zes_engine_handle_t >;
using zes_engine_factory_t = singleton_factory_t < zes_engine_object_t, zes_engine_handle_t >;
using zes_standby_object_t = object_t < zes_standby_handle_t >;
using zes_standby_factory_t = singleton_factory_t < zes_standby_object_t, zes_standby_handle_t >;
using zes_firmware_object_t = object_t < zes_firmware_handle_t >;
using zes_firmware_factory_t = singleton_factory_t < zes_firmware_object_t, zes_firmware_handle_t >;
using zes_mem_object_t = object_t < zes_mem_handle_t >;
using zes_mem_factory_t = singleton_factory_t < zes_mem_object_t, zes_mem_handle_t >;
using zes_fabric_port_object_t = object_t < zes_fabric_port_handle_t >;
using zes_fabric_port_factory_t = singleton_factory_t < zes_fabric_port_object_t, zes_fabric_port_handle_t >;
using zes_temp_object_t = object_t < zes_temp_handle_t >;
using zes_temp_factory_t = singleton_factory_t < zes_temp_object_t, zes_temp_handle_t >;
using zes_psu_object_t = object_t < zes_psu_handle_t >;
using zes_psu_factory_t = singleton_factory_t < zes_psu_object_t, zes_psu_handle_t >;
using zes_fan_object_t = object_t < zes_fan_handle_t >;
using zes_fan_factory_t = singleton_factory_t < zes_fan_object_t, zes_fan_handle_t >;
using zes_led_object_t = object_t < zes_led_handle_t >;
using zes_led_factory_t = singleton_factory_t < zes_led_object_t, zes_led_handle_t >;
using zes_ras_object_t = object_t < zes_ras_handle_t >;
using zes_ras_factory_t = singleton_factory_t < zes_ras_object_t, zes_ras_handle_t >;
using zes_diag_object_t = object_t < zes_diag_handle_t >;
using zes_diag_factory_t = singleton_factory_t < zes_diag_object_t, zes_diag_handle_t >;
using zes_overclock_object_t = object_t < zes_overclock_handle_t >;
using zes_overclock_factory_t = singleton_factory_t < zes_overclock_object_t, zes_overclock_handle_t >;
using zes_vf_object_t = object_t < zes_vf_handle_t >;
using zes_vf_factory_t = singleton_factory_t < zes_vf_object_t, zes_vf_handle_t >;
__zedlllocal ze_result_t ZE_APICALL
zesloaderInitDriverDDITables(loader::driver_t *driver);
}
namespace loader_driver_ddi
{
__zedlllocal void ZE_APICALL
zesDestroyDDiDriverTables(zes_dditable_driver_t* pDdiTable);
__zedlllocal ze_result_t ZE_APICALL
zesDriverGetExtensionProperties(
zes_driver_handle_t hDriver, ///< [in] handle of the driver instance
uint32_t* pCount, ///< [in,out] pointer to the number of extension properties.
///< if count is zero, then the driver shall update the value with the
///< total number of extension properties available.
///< if count is greater than the number of extension properties available,
///< then the driver shall update the value with the correct number of
///< extension properties available.
zes_driver_extension_properties_t* pExtensionProperties ///< [in,out][optional][range(0, *pCount)] array of query results for
///< extension properties.
///< if count is less than the number of extension properties available,
///< then driver shall only retrieve that number of extension properties.
);
__zedlllocal ze_result_t ZE_APICALL
zesDriverGetExtensionFunctionAddress(
zes_driver_handle_t hDriver, ///< [in] handle of the driver instance
const char* name, ///< [in] extension function name
void** ppFunctionAddress ///< [out] pointer to function pointer
);
__zedlllocal ze_result_t ZE_APICALL
zesDeviceGet(
zes_driver_handle_t hDriver, ///< [in] handle of the sysman driver instance
uint32_t* pCount, ///< [in,out] pointer to the number of sysman devices.
///< if count is zero, then the driver shall update the value with the
///< total number of sysman devices available.
///< if count is greater than the number of sysman devices available, then
///< the driver shall update the value with the correct number of sysman
///< devices available.
zes_device_handle_t* phDevices ///< [in,out][optional][range(0, *pCount)] array of handle of sysman devices.
///< if count is less than the number of sysman devices available, then
///< driver shall only retrieve that number of sysman devices.
);
__zedlllocal ze_result_t ZE_APICALL
zesDeviceGetProperties(
zes_device_handle_t hDevice, ///< [in] Sysman handle of the device.
zes_device_properties_t* pProperties ///< [in,out] Structure that will contain information about the device.
);
__zedlllocal ze_result_t ZE_APICALL
zesDeviceGetState(
zes_device_handle_t hDevice, ///< [in] Sysman handle of the device.
zes_device_state_t* pState ///< [in,out] Structure that will contain information about the device.
);
__zedlllocal ze_result_t ZE_APICALL
zesDeviceReset(
zes_device_handle_t hDevice, ///< [in] Sysman handle for the device
ze_bool_t force ///< [in] If set to true, all applications that are currently using the
///< device will be forcibly killed.
);
__zedlllocal ze_result_t ZE_APICALL
zesDeviceResetExt(
zes_device_handle_t hDevice, ///< [in] Sysman handle for the device
zes_reset_properties_t* pProperties ///< [in] Device reset properties to apply
);
__zedlllocal ze_result_t ZE_APICALL
zesDeviceProcessesGetState(
zes_device_handle_t hDevice, ///< [in] Sysman handle for the device
uint32_t* pCount, ///< [in,out] pointer to the number of processes.
///< if count is zero, then the driver shall update the value with the
///< total number of processes currently attached to the device.
///< if count is greater than the number of processes currently attached to
///< the device, then the driver shall update the value with the correct
///< number of processes.
zes_process_state_t* pProcesses ///< [in,out][optional][range(0, *pCount)] array of process information.
///< if count is less than the number of processes currently attached to
///< the device, then the driver shall only retrieve information about that
///< number of processes. In this case, the return code will ::ZE_RESULT_ERROR_INVALID_SIZE.
);
__zedlllocal ze_result_t ZE_APICALL
zesDevicePciGetProperties(
zes_device_handle_t hDevice, ///< [in] Sysman handle of the device.
zes_pci_properties_t* pProperties ///< [in,out] Will contain the PCI properties.
);
__zedlllocal ze_result_t ZE_APICALL
zesDevicePciGetState(
zes_device_handle_t hDevice, ///< [in] Sysman handle of the device.
zes_pci_state_t* pState ///< [in,out] Will contain the PCI properties.
);
__zedlllocal ze_result_t ZE_APICALL
zesDevicePciGetBars(
zes_device_handle_t hDevice, ///< [in] Sysman handle of the device.
uint32_t* pCount, ///< [in,out] pointer to the number of PCI bars.
///< if count is zero, then the driver shall update the value with the
///< total number of PCI bars that are setup.
///< if count is greater than the number of PCI bars that are setup, then
///< the driver shall update the value with the correct number of PCI bars.
zes_pci_bar_properties_t* pProperties ///< [in,out][optional][range(0, *pCount)] array of information about setup
///< PCI bars.
///< if count is less than the number of PCI bars that are setup, then the
///< driver shall only retrieve information about that number of PCI bars.
);
__zedlllocal ze_result_t ZE_APICALL
zesDevicePciGetStats(
zes_device_handle_t hDevice, ///< [in] Sysman handle of the device.
zes_pci_stats_t* pStats ///< [in,out] Will contain a snapshot of the latest stats.
);
__zedlllocal ze_result_t ZE_APICALL
zesDeviceSetOverclockWaiver(
zes_device_handle_t hDevice ///< [in] Sysman handle of the device.
);
__zedlllocal ze_result_t ZE_APICALL
zesDeviceGetOverclockDomains(
zes_device_handle_t hDevice, ///< [in] Sysman handle of the device.
uint32_t* pOverclockDomains ///< [in,out] Returns the overclock domains that are supported (a bit for
///< each of enum ::zes_overclock_domain_t). If no bits are set, the device
///< doesn't support overclocking.
);
__zedlllocal ze_result_t ZE_APICALL
zesDeviceGetOverclockControls(
zes_device_handle_t hDevice, ///< [in] Sysman handle of the device.
zes_overclock_domain_t domainType, ///< [in] Domain type.
uint32_t* pAvailableControls ///< [in,out] Returns the overclock controls that are supported for the
///< specified overclock domain (a bit for each of enum
///< ::zes_overclock_control_t).
);
__zedlllocal ze_result_t ZE_APICALL
zesDeviceResetOverclockSettings(
zes_device_handle_t hDevice, ///< [in] Sysman handle of the device.
ze_bool_t onShippedState ///< [in] True will reset to shipped state; false will reset to
///< manufacturing state
);
__zedlllocal ze_result_t ZE_APICALL
zesDeviceReadOverclockState(
zes_device_handle_t hDevice, ///< [in] Sysman handle of the device.
zes_overclock_mode_t* pOverclockMode, ///< [out] One of overclock mode.
ze_bool_t* pWaiverSetting, ///< [out] Waiver setting: 0 = Waiver not set, 1 = waiver has been set.
ze_bool_t* pOverclockState, ///< [out] Current settings 0 =manufacturing state, 1= shipped state)..
zes_pending_action_t* pPendingAction, ///< [out] This enum is returned when the driver attempts to set an
///< overclock control or reset overclock settings.
ze_bool_t* pPendingReset ///< [out] Pending reset 0 =manufacturing state, 1= shipped state)..
);
__zedlllocal ze_result_t ZE_APICALL
zesDeviceEnumOverclockDomains(
zes_device_handle_t hDevice, ///< [in] Sysman handle of the device.
uint32_t* pCount, ///< [in,out] pointer to the number of components of this type.
///< if count is zero, then the driver shall update the value with the
///< total number of components of this type that are available.
///< if count is greater than the number of components of this type that
///< are available, then the driver shall update the value with the correct
///< number of components.
zes_overclock_handle_t* phDomainHandle ///< [in,out][optional][range(0, *pCount)] array of handle of components of
///< this type.
///< if count is less than the number of components of this type that are
///< available, then the driver shall only retrieve that number of
///< component handles.
);
__zedlllocal ze_result_t ZE_APICALL
zesOverclockGetDomainProperties(
zes_overclock_handle_t hDomainHandle, ///< [in] Handle for the component domain.
zes_overclock_properties_t* pDomainProperties ///< [in,out] The overclock properties for the specified domain.
);
__zedlllocal ze_result_t ZE_APICALL
zesOverclockGetDomainVFProperties(
zes_overclock_handle_t hDomainHandle, ///< [in] Handle for the component domain.
zes_vf_property_t* pVFProperties ///< [in,out] The VF min,max,step for a specified domain.
);
__zedlllocal ze_result_t ZE_APICALL
zesOverclockGetDomainControlProperties(
zes_overclock_handle_t hDomainHandle, ///< [in] Handle for the component domain.
zes_overclock_control_t DomainControl, ///< [in] Handle for the component.
zes_control_property_t* pControlProperties ///< [in,out] overclock control values.
);
__zedlllocal ze_result_t ZE_APICALL
zesOverclockGetControlCurrentValue(
zes_overclock_handle_t hDomainHandle, ///< [in] Handle for the component.
zes_overclock_control_t DomainControl, ///< [in] Overclock Control.
double* pValue ///< [in,out] Getting overclock control value for the specified control.
);
__zedlllocal ze_result_t ZE_APICALL
zesOverclockGetControlPendingValue(
zes_overclock_handle_t hDomainHandle, ///< [in] Handle for the component domain.
zes_overclock_control_t DomainControl, ///< [in] Overclock Control.
double* pValue ///< [out] Returns the pending value for a given control. The units and
///< format of the value depend on the control type.
);
__zedlllocal ze_result_t ZE_APICALL
zesOverclockSetControlUserValue(
zes_overclock_handle_t hDomainHandle, ///< [in] Handle for the component domain.
zes_overclock_control_t DomainControl, ///< [in] Domain Control.
double pValue, ///< [in] The new value of the control. The units and format of the value
///< depend on the control type.
zes_pending_action_t* pPendingAction ///< [out] Pending overclock setting.
);
__zedlllocal ze_result_t ZE_APICALL
zesOverclockGetControlState(
zes_overclock_handle_t hDomainHandle, ///< [in] Handle for the component domain.
zes_overclock_control_t DomainControl, ///< [in] Domain Control.
zes_control_state_t* pControlState, ///< [out] Current overclock control state.
zes_pending_action_t* pPendingAction ///< [out] Pending overclock setting.
);
__zedlllocal ze_result_t ZE_APICALL
zesOverclockGetVFPointValues(
zes_overclock_handle_t hDomainHandle, ///< [in] Handle for the component domain.
zes_vf_type_t VFType, ///< [in] Voltage or Freqency point to read.
zes_vf_array_type_t VFArrayType, ///< [in] User,Default or Live VF array to read from
uint32_t PointIndex, ///< [in] Point index - number between (0, max_num_points - 1).
uint32_t* PointValue ///< [out] Returns the frequency in 1kHz units or voltage in millivolt
///< units from the custom V-F curve at the specified zero-based index
);
__zedlllocal ze_result_t ZE_APICALL
zesOverclockSetVFPointValues(
zes_overclock_handle_t hDomainHandle, ///< [in] Handle for the component domain.
zes_vf_type_t VFType, ///< [in] Voltage or Freqency point to read.
uint32_t PointIndex, ///< [in] Point index - number between (0, max_num_points - 1).
uint32_t PointValue ///< [in] Writes frequency in 1kHz units or voltage in millivolt units to
///< custom V-F curve at the specified zero-based index
);
__zedlllocal ze_result_t ZE_APICALL
zesDeviceEnumDiagnosticTestSuites(
zes_device_handle_t hDevice, ///< [in] Sysman handle of the device.
uint32_t* pCount, ///< [in,out] pointer to the number of components of this type.
///< if count is zero, then the driver shall update the value with the
///< total number of components of this type that are available.
///< if count is greater than the number of components of this type that
///< are available, then the driver shall update the value with the correct
///< number of components.
zes_diag_handle_t* phDiagnostics ///< [in,out][optional][range(0, *pCount)] array of handle of components of
///< this type.
///< if count is less than the number of components of this type that are
///< available, then the driver shall only retrieve that number of
///< component handles.
);
__zedlllocal ze_result_t ZE_APICALL
zesDiagnosticsGetProperties(
zes_diag_handle_t hDiagnostics, ///< [in] Handle for the component.
zes_diag_properties_t* pProperties ///< [in,out] Structure describing the properties of a diagnostics test
///< suite
);
__zedlllocal ze_result_t ZE_APICALL
zesDiagnosticsGetTests(
zes_diag_handle_t hDiagnostics, ///< [in] Handle for the component.
uint32_t* pCount, ///< [in,out] pointer to the number of tests.
///< if count is zero, then the driver shall update the value with the
///< total number of tests that are available.
///< if count is greater than the number of tests that are available, then
///< the driver shall update the value with the correct number of tests.
zes_diag_test_t* pTests ///< [in,out][optional][range(0, *pCount)] array of information about
///< individual tests sorted by increasing value of the `index` member of ::zes_diag_test_t.
///< if count is less than the number of tests that are available, then the
///< driver shall only retrieve that number of tests.
);
__zedlllocal ze_result_t ZE_APICALL
zesDiagnosticsRunTests(
zes_diag_handle_t hDiagnostics, ///< [in] Handle for the component.
uint32_t startIndex, ///< [in] The index of the first test to run. Set to
///< ::ZES_DIAG_FIRST_TEST_INDEX to start from the beginning.
uint32_t endIndex, ///< [in] The index of the last test to run. Set to
///< ::ZES_DIAG_LAST_TEST_INDEX to complete all tests after the start test.
zes_diag_result_t* pResult ///< [in,out] The result of the diagnostics
);
__zedlllocal ze_result_t ZE_APICALL
zesDeviceEccAvailable(
zes_device_handle_t hDevice, ///< [in] Handle for the component.
ze_bool_t* pAvailable ///< [out] ECC functionality is available (true)/unavailable (false).
);
__zedlllocal ze_result_t ZE_APICALL
zesDeviceEccConfigurable(
zes_device_handle_t hDevice, ///< [in] Handle for the component.
ze_bool_t* pConfigurable ///< [out] ECC can be enabled/disabled (true)/enabled/disabled (false).
);
__zedlllocal ze_result_t ZE_APICALL
zesDeviceGetEccState(
zes_device_handle_t hDevice, ///< [in] Handle for the component.
zes_device_ecc_properties_t* pState ///< [out] ECC state, pending state, and pending action for state change.
);
__zedlllocal ze_result_t ZE_APICALL
zesDeviceSetEccState(
zes_device_handle_t hDevice, ///< [in] Handle for the component.
const zes_device_ecc_desc_t* newState, ///< [in] Pointer to desired ECC state.
zes_device_ecc_properties_t* pState ///< [out] ECC state, pending state, and pending action for state change.
);
__zedlllocal ze_result_t ZE_APICALL
zesDeviceEnumEngineGroups(
zes_device_handle_t hDevice, ///< [in] Sysman handle of the device.
uint32_t* pCount, ///< [in,out] pointer to the number of components of this type.
///< if count is zero, then the driver shall update the value with the
///< total number of components of this type that are available.
///< if count is greater than the number of components of this type that
///< are available, then the driver shall update the value with the correct
///< number of components.
zes_engine_handle_t* phEngine ///< [in,out][optional][range(0, *pCount)] array of handle of components of
///< this type.
///< if count is less than the number of components of this type that are
///< available, then the driver shall only retrieve that number of
///< component handles.
);
__zedlllocal ze_result_t ZE_APICALL
zesEngineGetProperties(
zes_engine_handle_t hEngine, ///< [in] Handle for the component.
zes_engine_properties_t* pProperties ///< [in,out] The properties for the specified engine group.
);
__zedlllocal ze_result_t ZE_APICALL
zesEngineGetActivity(
zes_engine_handle_t hEngine, ///< [in] Handle for the component.
zes_engine_stats_t* pStats ///< [in,out] Will contain a snapshot of the engine group activity
///< counters.
);
__zedlllocal ze_result_t ZE_APICALL
zesDeviceEventRegister(
zes_device_handle_t hDevice, ///< [in] The device handle.
zes_event_type_flags_t events ///< [in] List of events to listen to.
);
__zedlllocal ze_result_t ZE_APICALL
zesDriverEventListen(
ze_driver_handle_t hDriver, ///< [in] handle of the driver instance
uint32_t timeout, ///< [in] if non-zero, then indicates the maximum time (in milliseconds) to
///< yield before returning ::ZE_RESULT_SUCCESS or ::ZE_RESULT_NOT_READY;
///< if zero, then will check status and return immediately;
///< if `UINT32_MAX`, then function will not return until events arrive.
uint32_t count, ///< [in] Number of device handles in phDevices.
zes_device_handle_t* phDevices, ///< [in][range(0, count)] Device handles to listen to for events. Only
///< devices from the provided driver handle can be specified in this list.
uint32_t* pNumDeviceEvents, ///< [in,out] Will contain the actual number of devices in phDevices that
///< generated events. If non-zero, check pEvents to determine the devices
///< and events that were received.
zes_event_type_flags_t* pEvents ///< [in,out] An array that will continue the list of events for each
///< device listened in phDevices.
///< This array must be at least as big as count.
///< For every device handle in phDevices, this will provide the events
///< that occurred for that device at the same position in this array. If
///< no event was received for a given device, the corresponding array
///< entry will be zero.
);
__zedlllocal ze_result_t ZE_APICALL
zesDriverEventListenEx(
ze_driver_handle_t hDriver, ///< [in] handle of the driver instance
uint64_t timeout, ///< [in] if non-zero, then indicates the maximum time (in milliseconds) to
///< yield before returning ::ZE_RESULT_SUCCESS or ::ZE_RESULT_NOT_READY;
///< if zero, then will check status and return immediately;
///< if `UINT64_MAX`, then function will not return until events arrive.
uint32_t count, ///< [in] Number of device handles in phDevices.
zes_device_handle_t* phDevices, ///< [in][range(0, count)] Device handles to listen to for events. Only
///< devices from the provided driver handle can be specified in this list.
uint32_t* pNumDeviceEvents, ///< [in,out] Will contain the actual number of devices in phDevices that
///< generated events. If non-zero, check pEvents to determine the devices
///< and events that were received.
zes_event_type_flags_t* pEvents ///< [in,out] An array that will continue the list of events for each
///< device listened in phDevices.
///< This array must be at least as big as count.
///< For every device handle in phDevices, this will provide the events
///< that occurred for that device at the same position in this array. If
///< no event was received for a given device, the corresponding array
///< entry will be zero.
);
__zedlllocal ze_result_t ZE_APICALL
zesDeviceEnumFabricPorts(
zes_device_handle_t hDevice, ///< [in] Sysman handle of the device.
uint32_t* pCount, ///< [in,out] pointer to the number of components of this type.
///< if count is zero, then the driver shall update the value with the
///< total number of components of this type that are available.
///< if count is greater than the number of components of this type that
///< are available, then the driver shall update the value with the correct
///< number of components.
zes_fabric_port_handle_t* phPort ///< [in,out][optional][range(0, *pCount)] array of handle of components of
///< this type.
///< if count is less than the number of components of this type that are
///< available, then the driver shall only retrieve that number of
///< component handles.
);
__zedlllocal ze_result_t ZE_APICALL
zesFabricPortGetProperties(
zes_fabric_port_handle_t hPort, ///< [in] Handle for the component.
zes_fabric_port_properties_t* pProperties ///< [in,out] Will contain properties of the Fabric Port.
);
__zedlllocal ze_result_t ZE_APICALL
zesFabricPortGetLinkType(
zes_fabric_port_handle_t hPort, ///< [in] Handle for the component.
zes_fabric_link_type_t* pLinkType ///< [in,out] Will contain details about the link attached to the Fabric
///< port.
);
__zedlllocal ze_result_t ZE_APICALL
zesFabricPortGetConfig(
zes_fabric_port_handle_t hPort, ///< [in] Handle for the component.
zes_fabric_port_config_t* pConfig ///< [in,out] Will contain configuration of the Fabric Port.
);
__zedlllocal ze_result_t ZE_APICALL
zesFabricPortSetConfig(
zes_fabric_port_handle_t hPort, ///< [in] Handle for the component.
const zes_fabric_port_config_t* pConfig ///< [in] Contains new configuration of the Fabric Port.
);
__zedlllocal ze_result_t ZE_APICALL
zesFabricPortGetState(
zes_fabric_port_handle_t hPort, ///< [in] Handle for the component.
zes_fabric_port_state_t* pState ///< [in,out] Will contain the current state of the Fabric Port
);
__zedlllocal ze_result_t ZE_APICALL
zesFabricPortGetThroughput(
zes_fabric_port_handle_t hPort, ///< [in] Handle for the component.
zes_fabric_port_throughput_t* pThroughput ///< [in,out] Will contain the Fabric port throughput counters.
);
__zedlllocal ze_result_t ZE_APICALL
zesFabricPortGetFabricErrorCounters(
zes_fabric_port_handle_t hPort, ///< [in] Handle for the component.
zes_fabric_port_error_counters_t* pErrors ///< [in,out] Will contain the Fabric port Error counters.
);
__zedlllocal ze_result_t ZE_APICALL
zesFabricPortGetMultiPortThroughput(
zes_device_handle_t hDevice, ///< [in] Sysman handle of the device.
uint32_t numPorts, ///< [in] Number of ports enumerated in function ::zesDeviceEnumFabricPorts
zes_fabric_port_handle_t* phPort, ///< [in][range(0, numPorts)] array of fabric port handles provided by user
///< to gather throughput values.
zes_fabric_port_throughput_t** pThroughput ///< [out][range(0, numPorts)] array of fabric port throughput counters
///< from multiple ports of type ::zes_fabric_port_throughput_t.
);
__zedlllocal ze_result_t ZE_APICALL
zesDeviceEnumFans(
zes_device_handle_t hDevice, ///< [in] Sysman handle of the device.
uint32_t* pCount, ///< [in,out] pointer to the number of components of this type.
///< if count is zero, then the driver shall update the value with the
///< total number of components of this type that are available.
///< if count is greater than the number of components of this type that
///< are available, then the driver shall update the value with the correct
///< number of components.
zes_fan_handle_t* phFan ///< [in,out][optional][range(0, *pCount)] array of handle of components of
///< this type.
///< if count is less than the number of components of this type that are
///< available, then the driver shall only retrieve that number of
///< component handles.
);
__zedlllocal ze_result_t ZE_APICALL
zesFanGetProperties(
zes_fan_handle_t hFan, ///< [in] Handle for the component.
zes_fan_properties_t* pProperties ///< [in,out] Will contain the properties of the fan.
);
__zedlllocal ze_result_t ZE_APICALL
zesFanGetConfig(
zes_fan_handle_t hFan, ///< [in] Handle for the component.
zes_fan_config_t* pConfig ///< [in,out] Will contain the current configuration of the fan.
);
__zedlllocal ze_result_t ZE_APICALL
zesFanSetDefaultMode(
zes_fan_handle_t hFan ///< [in] Handle for the component.
);
__zedlllocal ze_result_t ZE_APICALL
zesFanSetFixedSpeedMode(
zes_fan_handle_t hFan, ///< [in] Handle for the component.
const zes_fan_speed_t* speed ///< [in] The fixed fan speed setting
);
__zedlllocal ze_result_t ZE_APICALL
zesFanSetSpeedTableMode(
zes_fan_handle_t hFan, ///< [in] Handle for the component.
const zes_fan_speed_table_t* speedTable ///< [in] A table containing temperature/speed pairs.
);
__zedlllocal ze_result_t ZE_APICALL
zesFanGetState(
zes_fan_handle_t hFan, ///< [in] Handle for the component.
zes_fan_speed_units_t units, ///< [in] The units in which the fan speed should be returned.
int32_t* pSpeed ///< [in,out] Will contain the current speed of the fan in the units
///< requested. A value of -1 indicates that the fan speed cannot be
///< measured.
);
__zedlllocal ze_result_t ZE_APICALL
zesDeviceEnumFirmwares(
zes_device_handle_t hDevice, ///< [in] Sysman handle of the device.
uint32_t* pCount, ///< [in,out] pointer to the number of components of this type.
///< if count is zero, then the driver shall update the value with the
///< total number of components of this type that are available.
///< if count is greater than the number of components of this type that
///< are available, then the driver shall update the value with the correct
///< number of components.
zes_firmware_handle_t* phFirmware ///< [in,out][optional][range(0, *pCount)] array of handle of components of
///< this type.
///< if count is less than the number of components of this type that are
///< available, then the driver shall only retrieve that number of
///< component handles.
);
__zedlllocal ze_result_t ZE_APICALL
zesFirmwareGetProperties(
zes_firmware_handle_t hFirmware, ///< [in] Handle for the component.
zes_firmware_properties_t* pProperties ///< [in,out] Pointer to an array that will hold the properties of the
///< firmware
);
__zedlllocal ze_result_t ZE_APICALL
zesFirmwareFlash(
zes_firmware_handle_t hFirmware, ///< [in] Handle for the component.
void* pImage, ///< [in] Image of the new firmware to flash.
uint32_t size ///< [in] Size of the flash image.
);
__zedlllocal ze_result_t ZE_APICALL
zesFirmwareGetFlashProgress(
zes_firmware_handle_t hFirmware, ///< [in] Handle for the component.
uint32_t* pCompletionPercent ///< [in,out] Pointer to the Completion Percentage of Firmware Update
);
__zedlllocal ze_result_t ZE_APICALL
zesFirmwareGetConsoleLogs(
zes_firmware_handle_t hFirmware, ///< [in] Handle for the component.
size_t* pSize, ///< [in,out] size of firmware log
char* pFirmwareLog ///< [in,out][optional] pointer to null-terminated string of the log.
);
__zedlllocal ze_result_t ZE_APICALL
zesDeviceEnumFrequencyDomains(
zes_device_handle_t hDevice, ///< [in] Sysman handle of the device.
uint32_t* pCount, ///< [in,out] pointer to the number of components of this type.
///< if count is zero, then the driver shall update the value with the
///< total number of components of this type that are available.
///< if count is greater than the number of components of this type that
///< are available, then the driver shall update the value with the correct
///< number of components.
zes_freq_handle_t* phFrequency ///< [in,out][optional][range(0, *pCount)] array of handle of components of
///< this type.
///< if count is less than the number of components of this type that are
///< available, then the driver shall only retrieve that number of
///< component handles.
);
__zedlllocal ze_result_t ZE_APICALL
zesFrequencyGetProperties(
zes_freq_handle_t hFrequency, ///< [in] Handle for the component.
zes_freq_properties_t* pProperties ///< [in,out] The frequency properties for the specified domain.
);
__zedlllocal ze_result_t ZE_APICALL
zesFrequencyGetAvailableClocks(
zes_freq_handle_t hFrequency, ///< [in] Sysman handle of the device.
uint32_t* pCount, ///< [in,out] pointer to the number of frequencies.
///< if count is zero, then the driver shall update the value with the
///< total number of frequencies that are available.
///< if count is greater than the number of frequencies that are available,
///< then the driver shall update the value with the correct number of frequencies.
double* phFrequency ///< [in,out][optional][range(0, *pCount)] array of frequencies in units of
///< MHz and sorted from slowest to fastest.
///< if count is less than the number of frequencies that are available,
///< then the driver shall only retrieve that number of frequencies.
);
__zedlllocal ze_result_t ZE_APICALL
zesFrequencyGetRange(
zes_freq_handle_t hFrequency, ///< [in] Handle for the component.
zes_freq_range_t* pLimits ///< [in,out] The range between which the hardware can operate for the
///< specified domain.
);
__zedlllocal ze_result_t ZE_APICALL
zesFrequencySetRange(
zes_freq_handle_t hFrequency, ///< [in] Handle for the component.
const zes_freq_range_t* pLimits ///< [in] The limits between which the hardware can operate for the
///< specified domain.
);
__zedlllocal ze_result_t ZE_APICALL
zesFrequencyGetState(
zes_freq_handle_t hFrequency, ///< [in] Handle for the component.
zes_freq_state_t* pState ///< [in,out] Frequency state for the specified domain.
);
__zedlllocal ze_result_t ZE_APICALL
zesFrequencyGetThrottleTime(
zes_freq_handle_t hFrequency, ///< [in] Handle for the component.
zes_freq_throttle_time_t* pThrottleTime ///< [in,out] Will contain a snapshot of the throttle time counters for the
///< specified domain.
);
__zedlllocal ze_result_t ZE_APICALL
zesFrequencyOcGetCapabilities(
zes_freq_handle_t hFrequency, ///< [in] Handle for the component.
zes_oc_capabilities_t* pOcCapabilities ///< [in,out] Pointer to the capabilities structure.
);
__zedlllocal ze_result_t ZE_APICALL
zesFrequencyOcGetFrequencyTarget(
zes_freq_handle_t hFrequency, ///< [in] Handle for the component.
double* pCurrentOcFrequency ///< [out] Overclocking Frequency in MHz, if extended moded is supported,
///< will returned in 1 Mhz granularity, else, in multiples of 50 Mhz. This
///< cannot be greater than the `maxOcFrequency` member of
///< ::zes_oc_capabilities_t.
);
__zedlllocal ze_result_t ZE_APICALL
zesFrequencyOcSetFrequencyTarget(
zes_freq_handle_t hFrequency, ///< [in] Handle for the component.
double CurrentOcFrequency ///< [in] Overclocking Frequency in MHz, if extended moded is supported, it
///< could be set in 1 Mhz granularity, else, in multiples of 50 Mhz. This
///< cannot be greater than the `maxOcFrequency` member of
///< ::zes_oc_capabilities_t.
);
__zedlllocal ze_result_t ZE_APICALL
zesFrequencyOcGetVoltageTarget(
zes_freq_handle_t hFrequency, ///< [in] Handle for the component.
double* pCurrentVoltageTarget, ///< [out] Overclock voltage in Volts. This cannot be greater than the
///< `maxOcVoltage` member of ::zes_oc_capabilities_t.
double* pCurrentVoltageOffset ///< [out] This voltage offset is applied to all points on the
///< voltage/frequency curve, including the new overclock voltageTarget.
///< Valid range is between the `minOcVoltageOffset` and
///< `maxOcVoltageOffset` members of ::zes_oc_capabilities_t.
);
__zedlllocal ze_result_t ZE_APICALL
zesFrequencyOcSetVoltageTarget(
zes_freq_handle_t hFrequency, ///< [in] Handle for the component.
double CurrentVoltageTarget, ///< [in] Overclock voltage in Volts. This cannot be greater than the
///< `maxOcVoltage` member of ::zes_oc_capabilities_t.
double CurrentVoltageOffset ///< [in] This voltage offset is applied to all points on the
///< voltage/frequency curve, include the new overclock voltageTarget.
///< Valid range is between the `minOcVoltageOffset` and
///< `maxOcVoltageOffset` members of ::zes_oc_capabilities_t.
);
__zedlllocal ze_result_t ZE_APICALL
zesFrequencyOcSetMode(
zes_freq_handle_t hFrequency, ///< [in] Handle for the component.
zes_oc_mode_t CurrentOcMode ///< [in] Current Overclocking Mode ::zes_oc_mode_t.
);
__zedlllocal ze_result_t ZE_APICALL
zesFrequencyOcGetMode(
zes_freq_handle_t hFrequency, ///< [in] Handle for the component.
zes_oc_mode_t* pCurrentOcMode ///< [out] Current Overclocking Mode ::zes_oc_mode_t.
);
__zedlllocal ze_result_t ZE_APICALL
zesFrequencyOcGetIccMax(
zes_freq_handle_t hFrequency, ///< [in] Handle for the component.
double* pOcIccMax ///< [in,out] Will contain the maximum current limit in Amperes on
///< successful return.
);
__zedlllocal ze_result_t ZE_APICALL
zesFrequencyOcSetIccMax(
zes_freq_handle_t hFrequency, ///< [in] Handle for the component.
double ocIccMax ///< [in] The new maximum current limit in Amperes.
);
__zedlllocal ze_result_t ZE_APICALL
zesFrequencyOcGetTjMax(
zes_freq_handle_t hFrequency, ///< [in] Handle for the component.
double* pOcTjMax ///< [in,out] Will contain the maximum temperature limit in degrees Celsius
///< on successful return.
);
__zedlllocal ze_result_t ZE_APICALL
zesFrequencyOcSetTjMax(
zes_freq_handle_t hFrequency, ///< [in] Handle for the component.
double ocTjMax ///< [in] The new maximum temperature limit in degrees Celsius.
);
__zedlllocal ze_result_t ZE_APICALL
zesDeviceEnumLeds(
zes_device_handle_t hDevice, ///< [in] Sysman handle of the device.
uint32_t* pCount, ///< [in,out] pointer to the number of components of this type.
///< if count is zero, then the driver shall update the value with the
///< total number of components of this type that are available.
///< if count is greater than the number of components of this type that
///< are available, then the driver shall update the value with the correct
///< number of components.
zes_led_handle_t* phLed ///< [in,out][optional][range(0, *pCount)] array of handle of components of
///< this type.
///< if count is less than the number of components of this type that are
///< available, then the driver shall only retrieve that number of
///< component handles.
);
__zedlllocal ze_result_t ZE_APICALL
zesLedGetProperties(
zes_led_handle_t hLed, ///< [in] Handle for the component.
zes_led_properties_t* pProperties ///< [in,out] Will contain the properties of the LED.
);
__zedlllocal ze_result_t ZE_APICALL
zesLedGetState(
zes_led_handle_t hLed, ///< [in] Handle for the component.
zes_led_state_t* pState ///< [in,out] Will contain the current state of the LED.
);
__zedlllocal ze_result_t ZE_APICALL
zesLedSetState(
zes_led_handle_t hLed, ///< [in] Handle for the component.
ze_bool_t enable ///< [in] Set to TRUE to turn the LED on, FALSE to turn off.
);
__zedlllocal ze_result_t ZE_APICALL
zesLedSetColor(
zes_led_handle_t hLed, ///< [in] Handle for the component.
const zes_led_color_t* pColor ///< [in] New color of the LED.
);
__zedlllocal ze_result_t ZE_APICALL
zesDeviceEnumMemoryModules(
zes_device_handle_t hDevice, ///< [in] Sysman handle of the device.
uint32_t* pCount, ///< [in,out] pointer to the number of components of this type.
///< if count is zero, then the driver shall update the value with the
///< total number of components of this type that are available.
///< if count is greater than the number of components of this type that
///< are available, then the driver shall update the value with the correct
///< number of components.
zes_mem_handle_t* phMemory ///< [in,out][optional][range(0, *pCount)] array of handle of components of
///< this type.
///< if count is less than the number of components of this type that are
///< available, then the driver shall only retrieve that number of
///< component handles.
);
__zedlllocal ze_result_t ZE_APICALL
zesMemoryGetProperties(
zes_mem_handle_t hMemory, ///< [in] Handle for the component.
zes_mem_properties_t* pProperties ///< [in,out] Will contain memory properties.
);
__zedlllocal ze_result_t ZE_APICALL
zesMemoryGetState(
zes_mem_handle_t hMemory, ///< [in] Handle for the component.
zes_mem_state_t* pState ///< [in,out] Will contain the current health and allocated memory.
);
__zedlllocal ze_result_t ZE_APICALL
zesMemoryGetBandwidth(
zes_mem_handle_t hMemory, ///< [in] Handle for the component.
zes_mem_bandwidth_t* pBandwidth ///< [in,out] Will contain the total number of bytes read from and written
///< to memory, as well as the current maximum bandwidth.
);
__zedlllocal ze_result_t ZE_APICALL
zesDeviceEnumPerformanceFactorDomains(
zes_device_handle_t hDevice, ///< [in] Sysman handle of the device.
uint32_t* pCount, ///< [in,out] pointer to the number of components of this type.
///< if count is zero, then the driver shall update the value with the
///< total number of components of this type that are available.
///< if count is greater than the number of components of this type that
///< are available, then the driver shall update the value with the correct
///< number of components.
zes_perf_handle_t* phPerf ///< [in,out][optional][range(0, *pCount)] array of handle of components of
///< this type.
///< if count is less than the number of components of this type that are
///< available, then the driver shall only retrieve that number of
///< component handles.
);
__zedlllocal ze_result_t ZE_APICALL
zesPerformanceFactorGetProperties(
zes_perf_handle_t hPerf, ///< [in] Handle for the Performance Factor domain.
zes_perf_properties_t* pProperties ///< [in,out] Will contain information about the specified Performance
///< Factor domain.
);
__zedlllocal ze_result_t ZE_APICALL
zesPerformanceFactorGetConfig(
zes_perf_handle_t hPerf, ///< [in] Handle for the Performance Factor domain.
double* pFactor ///< [in,out] Will contain the actual Performance Factor being used by the
///< hardware (may not be the same as the requested Performance Factor).
);
__zedlllocal ze_result_t ZE_APICALL
zesPerformanceFactorSetConfig(
zes_perf_handle_t hPerf, ///< [in] Handle for the Performance Factor domain.
double factor ///< [in] The new Performance Factor.
);
__zedlllocal ze_result_t ZE_APICALL
zesDeviceEnumPowerDomains(
zes_device_handle_t hDevice, ///< [in] Sysman handle of the device.
uint32_t* pCount, ///< [in,out] pointer to the number of components of this type.
///< if count is zero, then the driver shall update the value with the
///< total number of components of this type that are available.
///< if count is greater than the number of components of this type that
///< are available, then the driver shall update the value with the correct
///< number of components.
zes_pwr_handle_t* phPower ///< [in,out][optional][range(0, *pCount)] array of handle of components of
///< this type.
///< if count is less than the number of components of this type that are
///< available, then the driver shall only retrieve that number of
///< component handles.
);
__zedlllocal ze_result_t ZE_APICALL
zesDeviceGetCardPowerDomain(
zes_device_handle_t hDevice, ///< [in] Sysman handle of the device.
zes_pwr_handle_t* phPower ///< [in,out] power domain handle for the entire PCIe card.
);
__zedlllocal ze_result_t ZE_APICALL
zesPowerGetProperties(
zes_pwr_handle_t hPower, ///< [in] Handle for the component.
zes_power_properties_t* pProperties ///< [in,out] Structure that will contain property data.
);
__zedlllocal ze_result_t ZE_APICALL
zesPowerGetEnergyCounter(
zes_pwr_handle_t hPower, ///< [in] Handle for the component.
zes_power_energy_counter_t* pEnergy ///< [in,out] Will contain the latest snapshot of the energy counter and
///< timestamp when the last counter value was measured.
);
__zedlllocal ze_result_t ZE_APICALL
zesPowerGetLimits(
zes_pwr_handle_t hPower, ///< [in] Handle for the component.
zes_power_sustained_limit_t* pSustained, ///< [in,out][optional] The sustained power limit. If this is null, the
///< current sustained power limits will not be returned.
zes_power_burst_limit_t* pBurst, ///< [in,out][optional] The burst power limit. If this is null, the current
///< peak power limits will not be returned.
zes_power_peak_limit_t* pPeak ///< [in,out][optional] The peak power limit. If this is null, the peak
///< power limits will not be returned.
);
__zedlllocal ze_result_t ZE_APICALL
zesPowerSetLimits(
zes_pwr_handle_t hPower, ///< [in] Handle for the component.
const zes_power_sustained_limit_t* pSustained, ///< [in][optional] The sustained power limit. If this is null, no changes
///< will be made to the sustained power limits.
const zes_power_burst_limit_t* pBurst, ///< [in][optional] The burst power limit. If this is null, no changes will
///< be made to the burst power limits.
const zes_power_peak_limit_t* pPeak ///< [in][optional] The peak power limit. If this is null, no changes will
///< be made to the peak power limits.
);
__zedlllocal ze_result_t ZE_APICALL
zesPowerGetEnergyThreshold(
zes_pwr_handle_t hPower, ///< [in] Handle for the component.
zes_energy_threshold_t* pThreshold ///< [in,out] Returns information about the energy threshold setting -
///< enabled/energy threshold/process ID.
);
__zedlllocal ze_result_t ZE_APICALL
zesPowerSetEnergyThreshold(
zes_pwr_handle_t hPower, ///< [in] Handle for the component.
double threshold ///< [in] The energy threshold to be set in joules.
);
__zedlllocal ze_result_t ZE_APICALL
zesDeviceEnumPsus(
zes_device_handle_t hDevice, ///< [in] Sysman handle of the device.
uint32_t* pCount, ///< [in,out] pointer to the number of components of this type.
///< if count is zero, then the driver shall update the value with the
///< total number of components of this type that are available.
///< if count is greater than the number of components of this type that
///< are available, then the driver shall update the value with the correct
///< number of components.
zes_psu_handle_t* phPsu ///< [in,out][optional][range(0, *pCount)] array of handle of components of
///< this type.
///< if count is less than the number of components of this type that are
///< available, then the driver shall only retrieve that number of
///< component handles.
);
__zedlllocal ze_result_t ZE_APICALL
zesPsuGetProperties(
zes_psu_handle_t hPsu, ///< [in] Handle for the component.
zes_psu_properties_t* pProperties ///< [in,out] Will contain the properties of the power supply.
);
__zedlllocal ze_result_t ZE_APICALL
zesPsuGetState(
zes_psu_handle_t hPsu, ///< [in] Handle for the component.
zes_psu_state_t* pState ///< [in,out] Will contain the current state of the power supply.
);
__zedlllocal ze_result_t ZE_APICALL
zesDeviceEnumRasErrorSets(
zes_device_handle_t hDevice, ///< [in] Sysman handle of the device.
uint32_t* pCount, ///< [in,out] pointer to the number of components of this type.
///< if count is zero, then the driver shall update the value with the
///< total number of components of this type that are available.
///< if count is greater than the number of components of this type that
///< are available, then the driver shall update the value with the correct
///< number of components.
zes_ras_handle_t* phRas ///< [in,out][optional][range(0, *pCount)] array of handle of components of
///< this type.
///< if count is less than the number of components of this type that are
///< available, then the driver shall only retrieve that number of
///< component handles.
);
__zedlllocal ze_result_t ZE_APICALL
zesRasGetProperties(
zes_ras_handle_t hRas, ///< [in] Handle for the component.
zes_ras_properties_t* pProperties ///< [in,out] Structure describing RAS properties
);
__zedlllocal ze_result_t ZE_APICALL
zesRasGetConfig(
zes_ras_handle_t hRas, ///< [in] Handle for the component.
zes_ras_config_t* pConfig ///< [in,out] Will be populed with the current RAS configuration -
///< thresholds used to trigger events
);
__zedlllocal ze_result_t ZE_APICALL
zesRasSetConfig(
zes_ras_handle_t hRas, ///< [in] Handle for the component.
const zes_ras_config_t* pConfig ///< [in] Change the RAS configuration - thresholds used to trigger events
);
__zedlllocal ze_result_t ZE_APICALL
zesRasGetState(
zes_ras_handle_t hRas, ///< [in] Handle for the component.
ze_bool_t clear, ///< [in] Set to 1 to clear the counters of this type
zes_ras_state_t* pState ///< [in,out] Breakdown of where errors have occurred
);
__zedlllocal ze_result_t ZE_APICALL
zesDeviceEnumSchedulers(
zes_device_handle_t hDevice, ///< [in] Sysman handle of the device.
uint32_t* pCount, ///< [in,out] pointer to the number of components of this type.
///< if count is zero, then the driver shall update the value with the
///< total number of components of this type that are available.
///< if count is greater than the number of components of this type that
///< are available, then the driver shall update the value with the correct
///< number of components.
zes_sched_handle_t* phScheduler ///< [in,out][optional][range(0, *pCount)] array of handle of components of
///< this type.
///< if count is less than the number of components of this type that are
///< available, then the driver shall only retrieve that number of
///< component handles.
);
__zedlllocal ze_result_t ZE_APICALL
zesSchedulerGetProperties(
zes_sched_handle_t hScheduler, ///< [in] Handle for the component.
zes_sched_properties_t* pProperties ///< [in,out] Structure that will contain property data.
);
__zedlllocal ze_result_t ZE_APICALL
zesSchedulerGetCurrentMode(
zes_sched_handle_t hScheduler, ///< [in] Sysman handle for the component.
zes_sched_mode_t* pMode ///< [in,out] Will contain the current scheduler mode.
);
__zedlllocal ze_result_t ZE_APICALL
zesSchedulerGetTimeoutModeProperties(
zes_sched_handle_t hScheduler, ///< [in] Sysman handle for the component.
ze_bool_t getDefaults, ///< [in] If TRUE, the driver will return the system default properties for
///< this mode, otherwise it will return the current properties.
zes_sched_timeout_properties_t* pConfig ///< [in,out] Will contain the current parameters for this mode.
);
__zedlllocal ze_result_t ZE_APICALL
zesSchedulerGetTimesliceModeProperties(
zes_sched_handle_t hScheduler, ///< [in] Sysman handle for the component.
ze_bool_t getDefaults, ///< [in] If TRUE, the driver will return the system default properties for
///< this mode, otherwise it will return the current properties.
zes_sched_timeslice_properties_t* pConfig ///< [in,out] Will contain the current parameters for this mode.
);
__zedlllocal ze_result_t ZE_APICALL
zesSchedulerSetTimeoutMode(
zes_sched_handle_t hScheduler, ///< [in] Sysman handle for the component.
zes_sched_timeout_properties_t* pProperties, ///< [in] The properties to use when configurating this mode.
ze_bool_t* pNeedReload ///< [in,out] Will be set to TRUE if a device driver reload is needed to
///< apply the new scheduler mode.
);
__zedlllocal ze_result_t ZE_APICALL
zesSchedulerSetTimesliceMode(
zes_sched_handle_t hScheduler, ///< [in] Sysman handle for the component.
zes_sched_timeslice_properties_t* pProperties, ///< [in] The properties to use when configurating this mode.
ze_bool_t* pNeedReload ///< [in,out] Will be set to TRUE if a device driver reload is needed to
///< apply the new scheduler mode.
);
__zedlllocal ze_result_t ZE_APICALL
zesSchedulerSetExclusiveMode(
zes_sched_handle_t hScheduler, ///< [in] Sysman handle for the component.
ze_bool_t* pNeedReload ///< [in,out] Will be set to TRUE if a device driver reload is needed to
///< apply the new scheduler mode.
);
__zedlllocal ze_result_t ZE_APICALL
zesSchedulerSetComputeUnitDebugMode(
zes_sched_handle_t hScheduler, ///< [in] Sysman handle for the component.
ze_bool_t* pNeedReload ///< [in,out] Will be set to TRUE if a device driver reload is needed to
///< apply the new scheduler mode.
);
__zedlllocal ze_result_t ZE_APICALL
zesDeviceEnumStandbyDomains(
zes_device_handle_t hDevice, ///< [in] Sysman handle of the device.
uint32_t* pCount, ///< [in,out] pointer to the number of components of this type.
///< if count is zero, then the driver shall update the value with the
///< total number of components of this type that are available.
///< if count is greater than the number of components of this type that
///< are available, then the driver shall update the value with the correct
///< number of components.
zes_standby_handle_t* phStandby ///< [in,out][optional][range(0, *pCount)] array of handle of components of
///< this type.
///< if count is less than the number of components of this type that are
///< available, then the driver shall only retrieve that number of
///< component handles.
);
__zedlllocal ze_result_t ZE_APICALL
zesStandbyGetProperties(
zes_standby_handle_t hStandby, ///< [in] Handle for the component.
zes_standby_properties_t* pProperties ///< [in,out] Will contain the standby hardware properties.
);
__zedlllocal ze_result_t ZE_APICALL
zesStandbyGetMode(
zes_standby_handle_t hStandby, ///< [in] Handle for the component.
zes_standby_promo_mode_t* pMode ///< [in,out] Will contain the current standby mode.
);
__zedlllocal ze_result_t ZE_APICALL
zesStandbySetMode(
zes_standby_handle_t hStandby, ///< [in] Handle for the component.
zes_standby_promo_mode_t mode ///< [in] New standby mode.
);
__zedlllocal ze_result_t ZE_APICALL
zesDeviceEnumTemperatureSensors(
zes_device_handle_t hDevice, ///< [in] Sysman handle of the device.
uint32_t* pCount, ///< [in,out] pointer to the number of components of this type.
///< if count is zero, then the driver shall update the value with the
///< total number of components of this type that are available.
///< if count is greater than the number of components of this type that
///< are available, then the driver shall update the value with the correct
///< number of components.
zes_temp_handle_t* phTemperature ///< [in,out][optional][range(0, *pCount)] array of handle of components of
///< this type.
///< if count is less than the number of components of this type that are
///< available, then the driver shall only retrieve that number of
///< component handles.
);
__zedlllocal ze_result_t ZE_APICALL
zesTemperatureGetProperties(
zes_temp_handle_t hTemperature, ///< [in] Handle for the component.
zes_temp_properties_t* pProperties ///< [in,out] Will contain the temperature sensor properties.
);
__zedlllocal ze_result_t ZE_APICALL
zesTemperatureGetConfig(
zes_temp_handle_t hTemperature, ///< [in] Handle for the component.
zes_temp_config_t* pConfig ///< [in,out] Returns current configuration.
);
__zedlllocal ze_result_t ZE_APICALL
zesTemperatureSetConfig(
zes_temp_handle_t hTemperature, ///< [in] Handle for the component.
const zes_temp_config_t* pConfig ///< [in] New configuration.
);
__zedlllocal ze_result_t ZE_APICALL
zesTemperatureGetState(
zes_temp_handle_t hTemperature, ///< [in] Handle for the component.
double* pTemperature ///< [in,out] Will contain the temperature read from the specified sensor
///< in degrees Celsius.
);
__zedlllocal ze_result_t ZE_APICALL
zesPowerGetLimitsExt(
zes_pwr_handle_t hPower, ///< [in] Power domain handle instance.
uint32_t* pCount, ///< [in,out] Pointer to the number of power limit descriptors. If count is
///< zero, then the driver shall update the value with the total number of
///< components of this type that are available. If count is greater than
///< the number of components of this type that are available, then the
///< driver shall update the value with the correct number of components.
zes_power_limit_ext_desc_t* pSustained ///< [in,out][optional][range(0, *pCount)] Array of query results for power
///< limit descriptors. If count is less than the number of components of
///< this type that are available, then the driver shall only retrieve that
///< number of components.
);
__zedlllocal ze_result_t ZE_APICALL
zesPowerSetLimitsExt(
zes_pwr_handle_t hPower, ///< [in] Handle for the component.
uint32_t* pCount, ///< [in] Pointer to the number of power limit descriptors.
zes_power_limit_ext_desc_t* pSustained ///< [in][optional][range(0, *pCount)] Array of power limit descriptors.
);
__zedlllocal ze_result_t ZE_APICALL
zesEngineGetActivityExt(
zes_engine_handle_t hEngine, ///< [in] Handle for the component.
uint32_t* pCount, ///< [in,out] Pointer to the number of VF engine stats descriptors.
///< - if count is zero, the driver shall update the value with the total
///< number of engine stats available.
///< - if count is greater than the total number of engine stats
///< available, the driver shall update the value with the correct number
///< of engine stats available.
///< - The count returned is the sum of number of VF instances currently
///< available and the PF instance.
zes_engine_stats_t* pStats ///< [in,out][optional][range(0, *pCount)] array of engine group activity counters.
///< - if count is less than the total number of engine stats available,
///< then driver shall only retrieve that number of stats.
///< - the implementation shall populate the vector with engine stat for
///< PF at index 0 of the vector followed by user provided pCount-1 number
///< of VF engine stats.
);
__zedlllocal ze_result_t ZE_APICALL
zesRasGetStateExp(
zes_ras_handle_t hRas, ///< [in] Handle for the component.
uint32_t* pCount, ///< [in,out] pointer to the number of RAS state structures that can be retrieved.
///< if count is zero, then the driver shall update the value with the
///< total number of error categories for which state can be retrieved.
///< if count is greater than the number of RAS states available, then the
///< driver shall update the value with the correct number of RAS states available.
zes_ras_state_exp_t* pState ///< [in,out][optional][range(0, *pCount)] array of query results for RAS
///< error states for different categories.
///< if count is less than the number of RAS states available, then driver
///< shall only retrieve that number of RAS states.
);
__zedlllocal ze_result_t ZE_APICALL
zesRasClearStateExp(
zes_ras_handle_t hRas, ///< [in] Handle for the component.
zes_ras_error_category_exp_t category ///< [in] category for which error counter is to be cleared.
);
__zedlllocal ze_result_t ZE_APICALL
zesFirmwareGetSecurityVersionExp(
zes_firmware_handle_t hFirmware, ///< [in] Handle for the component.
char* pVersion ///< [in,out] NULL terminated string value. The string "unknown" will be
///< returned if this property cannot be determined.
);
__zedlllocal ze_result_t ZE_APICALL
zesFirmwareSetSecurityVersionExp(
zes_firmware_handle_t hFirmware ///< [in] Handle for the component.
);
__zedlllocal ze_result_t ZE_APICALL
zesDeviceGetSubDevicePropertiesExp(
zes_device_handle_t hDevice, ///< [in] Sysman handle of the device.
uint32_t* pCount, ///< [in,out] pointer to the number of sub devices.
///< if count is zero, then the driver shall update the value with the
///< total number of sub devices currently attached to the device.
///< if count is greater than the number of sub devices currently attached
///< to the device, then the driver shall update the value with the correct
///< number of sub devices.
zes_subdevice_exp_properties_t* pSubdeviceProps ///< [in,out][optional][range(0, *pCount)] array of sub device property structures.
///< if count is less than the number of sysman sub devices available, then
///< the driver shall only retrieve that number of sub device property structures.
);
__zedlllocal ze_result_t ZE_APICALL
zesDriverGetDeviceByUuidExp(
zes_driver_handle_t hDriver, ///< [in] handle of the sysman driver instance
zes_uuid_t uuid, ///< [in] universal unique identifier.
zes_device_handle_t* phDevice, ///< [out] Sysman handle of the device.
ze_bool_t* onSubdevice, ///< [out] True if the UUID belongs to the sub-device; false means that
///< UUID belongs to the root device.
uint32_t* subdeviceId ///< [out] If onSubdevice is true, this gives the ID of the sub-device
);
__zedlllocal ze_result_t ZE_APICALL
zesDeviceEnumActiveVFExp(
zes_device_handle_t hDevice, ///< [in] Sysman handle of the device.
uint32_t* pCount, ///< [in,out] pointer to the number of components of this type.
///< if count is zero, then the driver shall update the value with the
///< total number of components of this type that are available.
///< if count is greater than the number of components of this type that
///< are available, then the driver shall update the value with the correct
///< number of components.
zes_vf_handle_t* phVFhandle ///< [in,out][optional][range(0, *pCount)] array of handle of components of
///< this type.
///< if count is less than the number of components of this type that are
///< available, then the driver shall only retrieve that number of
///< component handles.
);
__zedlllocal ze_result_t ZE_APICALL
zesVFManagementGetVFPropertiesExp(
zes_vf_handle_t hVFhandle, ///< [in] Sysman handle for the VF component.
zes_vf_exp_properties_t* pProperties ///< [in,out] Will contain VF properties.
);
__zedlllocal ze_result_t ZE_APICALL
zesVFManagementGetVFMemoryUtilizationExp(
zes_vf_handle_t hVFhandle, ///< [in] Sysman handle for the component.
uint32_t* pCount, ///< [in,out] Pointer to the number of VF memory stats descriptors.
///< - if count is zero, the driver shall update the value with the total
///< number of memory stats available.
///< - if count is greater than the total number of memory stats
///< available, the driver shall update the value with the correct number
///< of memory stats available.
///< - The count returned is the sum of number of VF instances currently
///< available and the PF instance.
zes_vf_util_mem_exp_t* pMemUtil ///< [in,out][optional][range(0, *pCount)] array of memory group activity counters.
///< - if count is less than the total number of memory stats available,
///< then driver shall only retrieve that number of stats.
///< - the implementation shall populate the vector pCount-1 number of VF
///< memory stats.
);
__zedlllocal ze_result_t ZE_APICALL
zesVFManagementGetVFEngineUtilizationExp(
zes_vf_handle_t hVFhandle, ///< [in] Sysman handle for the component.
uint32_t* pCount, ///< [in,out] Pointer to the number of VF engine stats descriptors.
///< - if count is zero, the driver shall update the value with the total
///< number of engine stats available.
///< - if count is greater than the total number of engine stats
///< available, the driver shall update the value with the correct number
///< of engine stats available.
///< - The count returned is the sum of number of VF instances currently
///< available and the PF instance.
zes_vf_util_engine_exp_t* pEngineUtil ///< [in,out][optional][range(0, *pCount)] array of engine group activity counters.
///< - if count is less than the total number of engine stats available,
///< then driver shall only retrieve that number of stats.
///< - the implementation shall populate the vector pCount-1 number of VF
///< engine stats.
);
__zedlllocal ze_result_t ZE_APICALL
zesVFManagementSetVFTelemetryModeExp(
zes_vf_handle_t hVFhandle, ///< [in] Sysman handle for the component.
zes_vf_info_util_exp_flags_t flags, ///< [in] utilization flags to enable or disable. May be 0 or a valid
///< combination of ::zes_vf_info_util_exp_flag_t.
ze_bool_t enable ///< [in] Enable utilization telemetry.
);
__zedlllocal ze_result_t ZE_APICALL
zesVFManagementSetVFTelemetrySamplingIntervalExp(
zes_vf_handle_t hVFhandle, ///< [in] Sysman handle for the component.
zes_vf_info_util_exp_flags_t flag, ///< [in] utilization flags to set sampling interval. May be 0 or a valid
///< combination of ::zes_vf_info_util_exp_flag_t.
uint64_t samplingInterval ///< [in] Sampling interval value.
);
__zedlllocal ze_result_t ZE_APICALL
zesDeviceEnumEnabledVFExp(
zes_device_handle_t hDevice, ///< [in] Sysman handle of the device.
uint32_t* pCount, ///< [in,out] pointer to the number of components of this type.
///< if count is zero, then the driver shall update the value with the
///< total number of components of this type that are available.
///< if count is greater than the number of components of this type that
///< are available, then the driver shall update the value with the correct
///< number of components.
zes_vf_handle_t* phVFhandle ///< [in,out][optional][range(0, *pCount)] array of handle of components of
///< this type.
///< if count is less than the number of components of this type that are
///< available, then the driver shall only retrieve that number of
///< component handles.
);
__zedlllocal ze_result_t ZE_APICALL
zesVFManagementGetVFCapabilitiesExp(
zes_vf_handle_t hVFhandle, ///< [in] Sysman handle for the VF component.
zes_vf_exp_capabilities_t* pCapability ///< [in,out] Will contain VF capability.
);
__zedlllocal ze_result_t ZE_APICALL
zesVFManagementGetVFMemoryUtilizationExp2(
zes_vf_handle_t hVFhandle, ///< [in] Sysman handle for the component.
uint32_t* pCount, ///< [in,out] Pointer to the number of VF memory stats descriptors.
///< - if count is zero, the driver shall update the value with the total
///< number of memory stats available.
///< - if count is greater than the total number of memory stats
///< available, the driver shall update the value with the correct number
///< of memory stats available.
zes_vf_util_mem_exp2_t* pMemUtil ///< [in,out][optional][range(0, *pCount)] array of memory group activity counters.
///< - if count is less than the total number of memory stats available,
///< then driver shall only retrieve that number of stats.
///< - the implementation shall populate the vector pCount-1 number of VF
///< memory stats.
);
__zedlllocal ze_result_t ZE_APICALL
zesVFManagementGetVFEngineUtilizationExp2(
zes_vf_handle_t hVFhandle, ///< [in] Sysman handle for the component.
uint32_t* pCount, ///< [in,out] Pointer to the number of VF engine stats descriptors.
///< - if count is zero, the driver shall update the value with the total
///< number of engine stats available.
///< - if count is greater than the total number of engine stats
///< available, the driver shall update the value with the correct number
///< of engine stats available.
zes_vf_util_engine_exp2_t* pEngineUtil ///< [in,out][optional][range(0, *pCount)] array of engine group activity counters.
///< - if count is less than the total number of engine stats available,
///< then driver shall only retrieve that number of stats.
///< - the implementation shall populate the vector pCount-1 number of VF
///< engine stats.
);
__zedlllocal ze_result_t ZE_APICALL
zesVFManagementGetVFCapabilitiesExp2(
zes_vf_handle_t hVFhandle, ///< [in] Sysman handle for the VF component.
zes_vf_exp2_capabilities_t* pCapability ///< [in,out] Will contain VF capability.
);
}
#if defined(__cplusplus)
extern "C" {
#endif
__zedlllocal void ZE_APICALL
zesGetGlobalProcAddrTableLegacy();
__zedlllocal ze_result_t ZE_APICALL
zesGetGlobalProcAddrTableFromDriver(loader::driver_t *driver);
__zedlllocal void ZE_APICALL
zesGetDeviceProcAddrTableLegacy();
__zedlllocal ze_result_t ZE_APICALL
zesGetDeviceProcAddrTableFromDriver(loader::driver_t *driver);
__zedlllocal void ZE_APICALL
zesGetDeviceExpProcAddrTableLegacy();
__zedlllocal ze_result_t ZE_APICALL
zesGetDeviceExpProcAddrTableFromDriver(loader::driver_t *driver);
__zedlllocal void ZE_APICALL
zesGetDriverProcAddrTableLegacy();
__zedlllocal ze_result_t ZE_APICALL
zesGetDriverProcAddrTableFromDriver(loader::driver_t *driver);
__zedlllocal void ZE_APICALL
zesGetDriverExpProcAddrTableLegacy();
__zedlllocal ze_result_t ZE_APICALL
zesGetDriverExpProcAddrTableFromDriver(loader::driver_t *driver);
__zedlllocal void ZE_APICALL
zesGetDiagnosticsProcAddrTableLegacy();
__zedlllocal ze_result_t ZE_APICALL
zesGetDiagnosticsProcAddrTableFromDriver(loader::driver_t *driver);
__zedlllocal void ZE_APICALL
zesGetEngineProcAddrTableLegacy();
__zedlllocal ze_result_t ZE_APICALL
zesGetEngineProcAddrTableFromDriver(loader::driver_t *driver);
__zedlllocal void ZE_APICALL
zesGetFabricPortProcAddrTableLegacy();
__zedlllocal ze_result_t ZE_APICALL
zesGetFabricPortProcAddrTableFromDriver(loader::driver_t *driver);
__zedlllocal void ZE_APICALL
zesGetFanProcAddrTableLegacy();
__zedlllocal ze_result_t ZE_APICALL
zesGetFanProcAddrTableFromDriver(loader::driver_t *driver);
__zedlllocal void ZE_APICALL
zesGetFirmwareProcAddrTableLegacy();
__zedlllocal ze_result_t ZE_APICALL
zesGetFirmwareProcAddrTableFromDriver(loader::driver_t *driver);
__zedlllocal void ZE_APICALL
zesGetFirmwareExpProcAddrTableLegacy();
__zedlllocal ze_result_t ZE_APICALL
zesGetFirmwareExpProcAddrTableFromDriver(loader::driver_t *driver);
__zedlllocal void ZE_APICALL
zesGetFrequencyProcAddrTableLegacy();
__zedlllocal ze_result_t ZE_APICALL
zesGetFrequencyProcAddrTableFromDriver(loader::driver_t *driver);
__zedlllocal void ZE_APICALL
zesGetLedProcAddrTableLegacy();
__zedlllocal ze_result_t ZE_APICALL
zesGetLedProcAddrTableFromDriver(loader::driver_t *driver);
__zedlllocal void ZE_APICALL
zesGetMemoryProcAddrTableLegacy();
__zedlllocal ze_result_t ZE_APICALL
zesGetMemoryProcAddrTableFromDriver(loader::driver_t *driver);
__zedlllocal void ZE_APICALL
zesGetOverclockProcAddrTableLegacy();
__zedlllocal ze_result_t ZE_APICALL
zesGetOverclockProcAddrTableFromDriver(loader::driver_t *driver);
__zedlllocal void ZE_APICALL
zesGetPerformanceFactorProcAddrTableLegacy();
__zedlllocal ze_result_t ZE_APICALL
zesGetPerformanceFactorProcAddrTableFromDriver(loader::driver_t *driver);
__zedlllocal void ZE_APICALL
zesGetPowerProcAddrTableLegacy();
__zedlllocal ze_result_t ZE_APICALL
zesGetPowerProcAddrTableFromDriver(loader::driver_t *driver);
__zedlllocal void ZE_APICALL
zesGetPsuProcAddrTableLegacy();
__zedlllocal ze_result_t ZE_APICALL
zesGetPsuProcAddrTableFromDriver(loader::driver_t *driver);
__zedlllocal void ZE_APICALL
zesGetRasProcAddrTableLegacy();
__zedlllocal ze_result_t ZE_APICALL
zesGetRasProcAddrTableFromDriver(loader::driver_t *driver);
__zedlllocal void ZE_APICALL
zesGetRasExpProcAddrTableLegacy();
__zedlllocal ze_result_t ZE_APICALL
zesGetRasExpProcAddrTableFromDriver(loader::driver_t *driver);
__zedlllocal void ZE_APICALL
zesGetSchedulerProcAddrTableLegacy();
__zedlllocal ze_result_t ZE_APICALL
zesGetSchedulerProcAddrTableFromDriver(loader::driver_t *driver);
__zedlllocal void ZE_APICALL
zesGetStandbyProcAddrTableLegacy();
__zedlllocal ze_result_t ZE_APICALL
zesGetStandbyProcAddrTableFromDriver(loader::driver_t *driver);
__zedlllocal void ZE_APICALL
zesGetTemperatureProcAddrTableLegacy();
__zedlllocal ze_result_t ZE_APICALL
zesGetTemperatureProcAddrTableFromDriver(loader::driver_t *driver);
__zedlllocal void ZE_APICALL
zesGetVFManagementExpProcAddrTableLegacy();
__zedlllocal ze_result_t ZE_APICALL
zesGetVFManagementExpProcAddrTableFromDriver(loader::driver_t *driver);
#if defined(__cplusplus)
};
#endif
|