summaryrefslogtreecommitdiff
path: root/lang/intel-compute-runtime/files
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2021-06-02 19:58:38 +0000
committerJan Beich <jbeich@FreeBSD.org>2021-06-12 00:05:57 +0000
commit5ac7f1333efa99313ccae6121f508ca6b83b9580 (patch)
tree22b2eeda553fdc96befbf361ad8feb6636992b32 /lang/intel-compute-runtime/files
parentsysutils/rubygem-bolt: Update to 3.9.2 (diff)
lang/intel-compute-runtime: update to 21.23.20043
Changes: https://github.com/intel/compute-runtime/compare/21.22.19967...21.23.20043 Reported by: GitHub (watch releases)
Diffstat (limited to 'lang/intel-compute-runtime/files')
-rw-r--r--lang/intel-compute-runtime/files/patch-unix11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/intel-compute-runtime/files/patch-unix b/lang/intel-compute-runtime/files/patch-unix
index 7fde47a37598..50467f486654 100644
--- a/lang/intel-compute-runtime/files/patch-unix
+++ b/lang/intel-compute-runtime/files/patch-unix
@@ -32,3 +32,14 @@ core/elf/writer.cpp:76:5: error:
#include <cstring>
#include <errno.h>
+--- shared/source/os_interface/linux/drm_neo.cpp.orig 2021-06-02 19:58:38 UTC
++++ shared/source/os_interface/linux/drm_neo.cpp
+@@ -733,7 +733,7 @@ int Drm::queryAdapterBDF() {
+ void Drm::setGmmInputArgs(void *args) {
+ auto gmmInArgs = reinterpret_cast<GMM_INIT_IN_ARGS *>(args);
+ auto adapterBDF = this->getAdapterBDF();
+-#if defined(__linux__)
++#if !defined(_WIN32)
+ gmmInArgs->FileDescriptor = adapterBDF.Data;
+ #endif
+ gmmInArgs->ClientType = GMM_CLIENT::GMM_OCL_VISTA;