Date: Fri, 17 Apr 2020 14:49:31 +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: r531938 - in head/lang/intel-compute-runtime: . files Message-ID: <202004171449.03HEnVnX090637@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Fri Apr 17 14:49:31 2020 New Revision: 531938 URL: https://svnweb.freebsd.org/changeset/ports/531938 Log: lang/intel-compute-runtime: update to 20.15.16524 Changes: https://github.com/intel/compute-runtime/compare/20.14.16441...20.15.16524 Reported by: GitHub (watch releases) Added: head/lang/intel-compute-runtime/files/patch-no-blitter (contents, props changed) 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-max_freq (contents, props changed) Modified: head/lang/intel-compute-runtime/Makefile ============================================================================== --- head/lang/intel-compute-runtime/Makefile Fri Apr 17 14:49:19 2020 (r531937) +++ head/lang/intel-compute-runtime/Makefile Fri Apr 17 14:49:31 2020 (r531938) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= compute-runtime -DISTVERSION= 20.14.16441 +DISTVERSION= 20.15.16524 CATEGORIES= lang PKGNAMEPREFIX= intel- Modified: head/lang/intel-compute-runtime/distinfo ============================================================================== --- head/lang/intel-compute-runtime/distinfo Fri Apr 17 14:49:19 2020 (r531937) +++ head/lang/intel-compute-runtime/distinfo Fri Apr 17 14:49:31 2020 (r531938) @@ -1,3 +1,3 @@ -TIMESTAMP = 1585911199 -SHA256 (intel-compute-runtime-20.14.16441_GH0.tar.gz) = 169e7833121beea8ec69ff9249ca06f3bae981e14593c7a62f363d4991acb7e2 -SIZE (intel-compute-runtime-20.14.16441_GH0.tar.gz) = 3012283 +TIMESTAMP = 1586590867 +SHA256 (intel-compute-runtime-20.15.16524_GH0.tar.gz) = 6b0f8f12fdda8c379f803b8b08e2219ca18377dea9487519ea46c1ecb4089f6a +SIZE (intel-compute-runtime-20.15.16524_GH0.tar.gz) = 3031777 Modified: head/lang/intel-compute-runtime/files/patch-max_freq ============================================================================== --- head/lang/intel-compute-runtime/files/patch-max_freq Fri Apr 17 14:49:19 2020 (r531937) +++ head/lang/intel-compute-runtime/files/patch-max_freq Fri Apr 17 14:49:31 2020 (r531938) @@ -3,11 +3,11 @@ $ clinfo | fgrep clock Max clock frequency 0MHz ---- shared/source/os_interface/linux/drm_neo.cpp.orig 2020-03-06 21:12:07 UTC +--- shared/source/os_interface/linux/drm_neo.cpp.orig 2020-04-11 07:41:07 UTC +++ shared/source/os_interface/linux/drm_neo.cpp -@@ -22,6 +22,11 @@ - #include <cstring> +@@ -24,6 +24,11 @@ #include <fstream> + #include <linux/limits.h> +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) +#include <sys/param.h> @@ -16,8 +16,8 @@ + namespace NEO { - const char *Drm::sysFsDefaultGpuPath = "/drm/card0"; -@@ -106,6 +111,16 @@ int Drm::getEnabledPooledEu(int &enabled) { + namespace IoctlHelper { +@@ -104,6 +109,16 @@ int Drm::getEnabledPooledEu(int &enabled) { int Drm::getMaxGpuFrequency(int &maxGpuFrequency) { maxGpuFrequency = 0; @@ -31,10 +31,10 @@ + + maxGpuFrequency = std::stoi(max_freq); +#else - int deviceID = 0; - int ret = getDeviceID(deviceID); - if (ret != 0) { -@@ -127,6 +142,7 @@ int Drm::getMaxGpuFrequency(int &maxGpuFrequency) { + std::string clockSysFsPath = getSysFsPciPath(); + + clockSysFsPath += "/gt_max_freq_mhz"; +@@ -115,6 +130,7 @@ int Drm::getMaxGpuFrequency(int &maxGpuFrequency) { ifs >> maxGpuFrequency; ifs.close(); Added: head/lang/intel-compute-runtime/files/patch-no-blitter ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/intel-compute-runtime/files/patch-no-blitter Fri Apr 17 14:49:31 2020 (r531938) @@ -0,0 +1,37 @@ +Regressed by https://github.com/intel/compute-runtime/commit/691a4ea8237f +blitterOperationsSupported isn't enabled on any GPU yet + +Process 82663 stopped +* thread #1, name = 'ze_peak', stop reason = signal SIGABRT + frame #0: 0x000000080060b02a libc.so.7`__sys_thr_kill at thr_kill.S:4 +(lldb) bt +* thread #1, name = 'ze_peak', stop reason = signal SIGABRT + * frame #0: 0x000000080060b02a libc.so.7`__sys_thr_kill at thr_kill.S:4 + frame #1: 0x000000080060a9c4 libc.so.7`__raise(s=6) at raise.c:52:10 + frame #2: 0x0000000800573459 libc.so.7`abort at abort.c:67:8 + frame #3: 0x00000008003d6a49 libcxxrt.so.1`report_failure(err=<unavailable>, thrown_exception=0x0000000802717fa8) at exception.cc:719:5 + frame #4: 0x000000000020df59 ze_peak`L0Context::init_xe(this=0x00007fffffffde70) at ze_peak.cpp:183:5 + frame #5: 0x00000000002115d9 ze_peak`main(argc=1, argv=0x00007fffffffe0f0) at ze_peak.cpp:760:11 + frame #6: 0x000000000020b8bf ze_peak`_start(ap=<unavailable>, cleanup=<unavailable>) at crt1.c:76:7 +(lldb) f 4 +frame #4: 0x000000000020df59 ze_peak`L0Context::init_xe(this=0x00007fffffffde70) at ze_peak.cpp:183:5 + 180 result = + 181 zeCommandListCreate(device, &command_list_description, &command_list); + 182 if (result) { +-> 183 throw std::runtime_error("zeDeviceCreateCommandList failed: " + + 184 std::to_string(result)); + 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; + } +- return ZE_RESULT_ERROR_INVALID_ENUMERATION; + } + return ZE_RESULT_SUCCESS; + }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202004171449.03HEnVnX090637>