summaryrefslogtreecommitdiff
path: root/lang/intel-compute-runtime/files
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2021-02-19 14:42:06 +0000
committerJan Beich <jbeich@FreeBSD.org>2021-02-19 14:42:06 +0000
commitd5d2ae54de1e1e5472c02f33b2d5726982705bb4 (patch)
tree400fed0f0cf259b19582fa6c73daeb60358b54ac /lang/intel-compute-runtime/files
parentRename graphics/py-graph-core to graphics/py-pygraph. The new version works (diff)
lang/intel-compute-runtime: update to 21.07.19042
Changes: https://github.com/intel/compute-runtime/compare/21.06.18993...21.07.19042 Reported by: GitHub (watch releases)
Notes
Notes: svn path=/head/; revision=566070
Diffstat (limited to 'lang/intel-compute-runtime/files')
-rw-r--r--lang/intel-compute-runtime/files/patch-no-perf18
1 files changed, 9 insertions, 9 deletions
diff --git a/lang/intel-compute-runtime/files/patch-no-perf b/lang/intel-compute-runtime/files/patch-no-perf
index 236bfd7f5757..fafdfa4bc9e2 100644
--- a/lang/intel-compute-runtime/files/patch-no-perf
+++ b/lang/intel-compute-runtime/files/patch-no-perf
@@ -32,12 +32,12 @@ level_zero/tools/source/sysman/linux/pmu/pmu_imp.h:12:10: fatal error: 'linux/pe
}
LinuxEngineImp::LinuxEngineImp(OsSysman *pOsSysman, zes_engine_group_t type, uint32_t engineInstance) : engineGroup(type), engineInstance(engineInstance) {
---- level_zero/tools/source/sysman/linux/os_sysman_imp.cpp.orig 2020-09-11 07:53:58 UTC
+--- level_zero/tools/source/sysman/linux/os_sysman_imp.cpp.orig 2021-02-08 19:32:47 UTC
+++ level_zero/tools/source/sysman/linux/os_sysman_imp.cpp
-@@ -37,8 +37,10 @@ ze_result_t LinuxSysmanImp::init() {
- pPmt = new PlatformMonitoringTech();
- UNRECOVERABLE_IF(nullptr == pPmt);
- pPmt->init(myDeviceName, pFsAccess);
+@@ -42,8 +42,10 @@ ze_result_t LinuxSysmanImp::init() {
+ auto rootPciPathOfGpuDevice = getPciRootPortDirectoryPath(realRootPath);
+ PlatformMonitoringTech::create(pParentSysmanDeviceImp->deviceHandles, pFsAccess, rootPciPathOfGpuDevice, mapOfSubDeviceIdToPmtObject);
+
+#ifdef __linux__
pPmuInterface = PmuInterface::create(this);
UNRECOVERABLE_IF(nullptr == pPmuInterface);
@@ -45,12 +45,12 @@ level_zero/tools/source/sysman/linux/pmu/pmu_imp.h:12:10: fatal error: 'linux/pe
return ZE_RESULT_SUCCESS;
}
---- level_zero/tools/source/sysman/linux/os_sysman_imp.h.orig 2020-09-11 07:53:58 UTC
+--- level_zero/tools/source/sysman/linux/os_sysman_imp.h.orig 2021-02-08 19:32:47 UTC
+++ level_zero/tools/source/sysman/linux/os_sysman_imp.h
-@@ -13,7 +13,9 @@
- #include "level_zero/core/source/device/device.h"
+@@ -14,7 +14,9 @@
+ #include "level_zero/tools/source/sysman/linux/firmware_util/firmware_util.h"
#include "level_zero/tools/source/sysman/linux/fs_access.h"
- #include "level_zero/tools/source/sysman/linux/pmt.h"
+ #include "level_zero/tools/source/sysman/linux/pmt/pmt.h"
+#ifdef __linux__
#include "level_zero/tools/source/sysman/linux/pmu/pmu_imp.h"
+#endif