summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2020-04-24 15:54:50 +0000
committerJan Beich <jbeich@FreeBSD.org>2020-04-24 15:54:50 +0000
commit96f179edc20966b7604aafa13d2f65b99cb8a33c (patch)
treeae17700bdc7786511c8d3fd7b2fb1b57921d8eb0
parentdatabases/freetds-devel: Update version 1.1.108=>1.1.162 (diff)
lang/intel-compute-runtime: update to 20.16.16582
Changes: https://github.com/intel/compute-runtime/compare/20.15.16524...20.16.16582 Reported by: GitHub (watch releases)
Notes
Notes: svn path=/head/; revision=532763
Diffstat (limited to '')
-rw-r--r--lang/intel-compute-runtime/Makefile3
-rw-r--r--lang/intel-compute-runtime/distinfo6
-rw-r--r--lang/intel-compute-runtime/files/patch-includes5
-rw-r--r--lang/intel-compute-runtime/files/patch-max_freq15
-rw-r--r--lang/intel-compute-runtime/files/patch-no-blitter20
5 files changed, 22 insertions, 27 deletions
diff --git a/lang/intel-compute-runtime/Makefile b/lang/intel-compute-runtime/Makefile
index 3d8b201fc136..dea1f942d164 100644
--- a/lang/intel-compute-runtime/Makefile
+++ b/lang/intel-compute-runtime/Makefile
@@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= compute-runtime
-DISTVERSION= 20.15.16524
-PORTREVISION= 1
+DISTVERSION= 20.16.16582
CATEGORIES= lang
PKGNAMEPREFIX= intel-
diff --git a/lang/intel-compute-runtime/distinfo b/lang/intel-compute-runtime/distinfo
index ba5fca008d0d..520ef789e801 100644
--- a/lang/intel-compute-runtime/distinfo
+++ b/lang/intel-compute-runtime/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1586590867
-SHA256 (intel-compute-runtime-20.15.16524_GH0.tar.gz) = 6b0f8f12fdda8c379f803b8b08e2219ca18377dea9487519ea46c1ecb4089f6a
-SIZE (intel-compute-runtime-20.15.16524_GH0.tar.gz) = 3031777
+TIMESTAMP = 1587149018
+SHA256 (intel-compute-runtime-20.16.16582_GH0.tar.gz) = 94643285b84e2f059c36c8715a8c1a4de3edd4ce11ec3b6181e30f0c5458920f
+SIZE (intel-compute-runtime-20.16.16582_GH0.tar.gz) = 3042531
diff --git a/lang/intel-compute-runtime/files/patch-includes b/lang/intel-compute-runtime/files/patch-includes
index 2d6951a6c4a0..f8476932ceeb 100644
--- a/lang/intel-compute-runtime/files/patch-includes
+++ b/lang/intel-compute-runtime/files/patch-includes
@@ -15,16 +15,15 @@ runtime/tbx/tbx_sockets_imp.cpp:107:9: error: unknown type name 'sockaddr_in'; d
struct sockaddr {
^
---- shared/source/os_interface/linux/drm_neo.cpp.orig 2020-02-28 16:16:42 UTC
+--- shared/source/os_interface/linux/drm_neo.cpp.orig 2020-04-17 18:43:38 UTC
+++ shared/source/os_interface/linux/drm_neo.cpp
-@@ -17,10 +17,10 @@
+@@ -19,9 +19,9 @@
#include "shared/source/os_interface/os_interface.h"
#include "shared/source/utilities/directory.h"
+#include <climits>
#include <cstdio>
#include <cstring>
- #include <fstream>
-#include <linux/limits.h>
namespace NEO {
diff --git a/lang/intel-compute-runtime/files/patch-max_freq b/lang/intel-compute-runtime/files/patch-max_freq
index d92b9bbb46f8..96a77436988b 100644
--- a/lang/intel-compute-runtime/files/patch-max_freq
+++ b/lang/intel-compute-runtime/files/patch-max_freq
@@ -3,11 +3,11 @@
$ clinfo | fgrep clock
Max clock frequency 0MHz
---- shared/source/os_interface/linux/drm_neo.cpp.orig 2020-04-11 07:41:07 UTC
-+++ shared/source/os_interface/linux/drm_neo.cpp
-@@ -24,6 +24,13 @@
+--- shared/source/os_interface/linux/drm_query.cpp.orig 2020-04-17 18:43:38 UTC
++++ shared/source/os_interface/linux/drm_query.cpp
+@@ -11,10 +11,41 @@
+
#include <fstream>
- #include <linux/limits.h>
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+#include <sys/param.h>
@@ -18,10 +18,7 @@
+
namespace NEO {
- namespace IoctlHelper {
-@@ -104,6 +111,30 @@ int Drm::getEnabledPooledEu(int &enabled) {
-
- int Drm::getMaxGpuFrequency(int &maxGpuFrequency) {
+ int Drm::getMaxGpuFrequency(HardwareInfo &hwInfo, int &maxGpuFrequency) {
maxGpuFrequency = 0;
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+ struct stat sb;
@@ -50,7 +47,7 @@
std::string clockSysFsPath = getSysFsPciPath();
clockSysFsPath += "/gt_max_freq_mhz";
-@@ -115,6 +146,7 @@ int Drm::getMaxGpuFrequency(int &maxGpuFrequency) {
+@@ -26,6 +57,7 @@ int Drm::getMaxGpuFrequency(HardwareInfo &hwInfo, int
ifs >> maxGpuFrequency;
ifs.close();
diff --git a/lang/intel-compute-runtime/files/patch-no-blitter b/lang/intel-compute-runtime/files/patch-no-blitter
index 9fa59d0f9c03..ca34842f0132 100644
--- a/lang/intel-compute-runtime/files/patch-no-blitter
+++ b/lang/intel-compute-runtime/files/patch-no-blitter
@@ -23,15 +23,15 @@ frame #4: 0x000000000020df59 ze_peak`L0Context::init_xe(this=0x00007fffffffde70)
185 }
186 if (verbose)
---- level_zero/core/source/device/device_imp.cpp.orig 2020-04-11 07:41:07 UTC
-+++ level_zero/core/source/device/device_imp.cpp
-@@ -725,9 +725,7 @@ ze_result_t DeviceImp::isCreatedCommandListCopyOnly(co
- auto hwInfo = neoDevice->getHardwareInfo();
- if (hwInfo.capabilityTable.blitterOperationsSupported) {
- *useBliter = true;
-- return ZE_RESULT_SUCCESS;
+--- level_zero/core/source/device/device_imp.h.orig 2020-04-17 18:43:38 UTC
++++ level_zero/core/source/device/device_imp.h
+@@ -99,9 +99,7 @@ struct DeviceImp : public Device {
+ auto hwInfo = neoDevice->getHardwareInfo();
+ if (hwInfo.capabilityTable.blitterOperationsSupported) {
+ *useBliter = NEO::DebugManager.flags.EnableCopyOnlyCommandListsAndCommandQueues.get();
+- return ZE_RESULT_SUCCESS;
+ }
+- return ZE_RESULT_ERROR_INVALID_ENUMERATION;
}
-- return ZE_RESULT_ERROR_INVALID_ENUMERATION;
+ return ZE_RESULT_SUCCESS;
}
- return ZE_RESULT_SUCCESS;
- }