Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Apr 2020 15:54:51 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r532763 - in head/lang/intel-compute-runtime: . files
Message-ID:  <202004241554.03OFspN0068874@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Fri Apr 24 15:54:50 2020
New Revision: 532763
URL: https://svnweb.freebsd.org/changeset/ports/532763

Log:
  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)

Modified:
  head/lang/intel-compute-runtime/Makefile   (contents, props changed)
  head/lang/intel-compute-runtime/distinfo   (contents, props changed)
  head/lang/intel-compute-runtime/files/patch-includes   (contents, props changed)
  head/lang/intel-compute-runtime/files/patch-max_freq   (contents, props changed)
  head/lang/intel-compute-runtime/files/patch-no-blitter   (contents, props changed)

Modified: head/lang/intel-compute-runtime/Makefile
==============================================================================
--- head/lang/intel-compute-runtime/Makefile	Fri Apr 24 15:09:34 2020	(r532762)
+++ head/lang/intel-compute-runtime/Makefile	Fri Apr 24 15:54:50 2020	(r532763)
@@ -1,8 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	compute-runtime
-DISTVERSION=	20.15.16524
-PORTREVISION=	1
+DISTVERSION=	20.16.16582
 CATEGORIES=	lang
 PKGNAMEPREFIX=	intel-
 

Modified: head/lang/intel-compute-runtime/distinfo
==============================================================================
--- head/lang/intel-compute-runtime/distinfo	Fri Apr 24 15:09:34 2020	(r532762)
+++ head/lang/intel-compute-runtime/distinfo	Fri Apr 24 15:54:50 2020	(r532763)
@@ -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

Modified: head/lang/intel-compute-runtime/files/patch-includes
==============================================================================
--- head/lang/intel-compute-runtime/files/patch-includes	Fri Apr 24 15:09:34 2020	(r532762)
+++ head/lang/intel-compute-runtime/files/patch-includes	Fri Apr 24 15:54:50 2020	(r532763)
@@ -15,16 +15,15 @@ runtime/tbx/tbx_sockets_imp.cpp:107:9: error: unknown 
 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 {

Modified: head/lang/intel-compute-runtime/files/patch-max_freq
==============================================================================
--- head/lang/intel-compute-runtime/files/patch-max_freq	Fri Apr 24 15:09:34 2020	(r532762)
+++ head/lang/intel-compute-runtime/files/patch-max_freq	Fri Apr 24 15:54:50 2020	(r532763)
@@ -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();

Modified: head/lang/intel-compute-runtime/files/patch-no-blitter
==============================================================================
--- head/lang/intel-compute-runtime/files/patch-no-blitter	Fri Apr 24 15:09:34 2020	(r532762)
+++ head/lang/intel-compute-runtime/files/patch-no-blitter	Fri Apr 24 15:54:50 2020	(r532763)
@@ -23,15 +23,15 @@ frame #4: 0x000000000020df59 ze_peak`L0Context::init_x
    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;
- }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004241554.03OFspN0068874>