diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2021-03-24 20:23:19 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2021-04-06 08:11:41 +0000 |
commit | 0f984aa02a5bae024559aa7b0f3949e447e13861 (patch) | |
tree | 0444586b23bfc8e5e6384fdd0ca49992274a1d63 /lang/intel-compute-runtime/files/patch-no-perf | |
parent | multimedia/libva-utils: update to 2.11.1 (diff) |
lang/intel-compute-runtime: update to 21.13.19438
Changes: https://github.com/intel/compute-runtime/compare/21.12.19358...21.13.19438
Reported by: GitHub (watch releases)
Diffstat (limited to 'lang/intel-compute-runtime/files/patch-no-perf')
-rw-r--r-- | lang/intel-compute-runtime/files/patch-no-perf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/intel-compute-runtime/files/patch-no-perf b/lang/intel-compute-runtime/files/patch-no-perf index fafdfa4bc9e2..94690df93378 100644 --- a/lang/intel-compute-runtime/files/patch-no-perf +++ b/lang/intel-compute-runtime/files/patch-no-perf @@ -6,14 +6,14 @@ level_zero/tools/source/sysman/linux/pmu/pmu_imp.h:12:10: fatal error: 'linux/pe #include <linux/perf_event.h> ^~~~~~~~~~~~~~~~~~~~ ---- level_zero/tools/source/sysman/engine/linux/os_engine_imp.cpp.orig 2020-09-11 07:53:58 UTC +--- level_zero/tools/source/sysman/engine/linux/os_engine_imp.cpp.orig 2021-03-24 20:23:19 UTC +++ level_zero/tools/source/sysman/engine/linux/os_engine_imp.cpp @@ -49,9 +49,11 @@ ze_result_t LinuxEngineImp::getActivity(zes_engine_sta return ZE_RESULT_ERROR_UNSUPPORTED_FEATURE; } uint64_t data[2] = {}; +#ifdef __linux__ - if (pPmuInterface->pmuReadSingle(static_cast<int>(fd), data, sizeof(data)) < 0) { + if (pPmuInterface->pmuRead(static_cast<int>(fd), data, sizeof(data)) < 0) { return ZE_RESULT_ERROR_UNSUPPORTED_FEATURE; } +#endif |