summaryrefslogtreecommitdiff
path: root/lang/intel-compute-runtime/files
diff options
context:
space:
mode:
Diffstat (limited to 'lang/intel-compute-runtime/files')
-rw-r--r--lang/intel-compute-runtime/files/patch-includes20
-rw-r--r--lang/intel-compute-runtime/files/patch-userptr4
2 files changed, 21 insertions, 3 deletions
diff --git a/lang/intel-compute-runtime/files/patch-includes b/lang/intel-compute-runtime/files/patch-includes
index da46c97d99cd..eeb1a6217c38 100644
--- a/lang/intel-compute-runtime/files/patch-includes
+++ b/lang/intel-compute-runtime/files/patch-includes
@@ -1,4 +1,8 @@
-Add missing includes in various places.
+Adjust includes in various places.
+
+core/os_interface/linux/drm_neo.cpp:21:10: fatal error: 'linux/limits.h' file not found
+#include <linux/limits.h>
+ ^~~~~~~~~~~~~~~~
runtime/tbx/tbx_sockets_imp.cpp:74:51: error: use of undeclared identifier 'IPPROTO_TCP'
m_socket = ::socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
@@ -11,6 +15,20 @@ runtime/tbx/tbx_sockets_imp.cpp:107:9: error: unknown type name 'sockaddr_in'; d
struct sockaddr {
^
+--- core/os_interface/linux/drm_neo.cpp.orig 2020-02-14 10:58:18 UTC
++++ core/os_interface/linux/drm_neo.cpp
+@@ -15,10 +15,10 @@
+ #include "core/os_interface/linux/sys_calls.h"
+ #include "core/utilities/directory.h"
+
++#include <climits>
+ #include <cstdio>
+ #include <cstring>
+ #include <fstream>
+-#include <linux/limits.h>
+
+ namespace NEO {
+
--- runtime/tbx/tbx_sockets_imp.cpp.orig 2019-11-22 15:41:47 UTC
+++ runtime/tbx/tbx_sockets_imp.cpp
@@ -18,6 +18,7 @@ typedef int socklen_t;
diff --git a/lang/intel-compute-runtime/files/patch-userptr b/lang/intel-compute-runtime/files/patch-userptr
index 2f3bbadbaeb2..b328b58f7dc1 100644
--- a/lang/intel-compute-runtime/files/patch-userptr
+++ b/lang/intel-compute-runtime/files/patch-userptr
@@ -38,8 +38,8 @@ frame #5: 0x000000080104b4e5 libigdrcl.so`NEO::DrmMemoryManager::DrmMemoryManage
60 }
61 }
---- runtime/os_interface/linux/drm_memory_manager.cpp.orig 2020-01-15 11:27:15 UTC
-+++ runtime/os_interface/linux/drm_memory_manager.cpp
+--- core/os_interface/linux/drm_memory_manager.cpp.orig 2020-02-14 10:58:18 UTC
++++ core/os_interface/linux/drm_memory_manager.cpp
@@ -141,7 +141,17 @@ NEO::BufferObject *DrmMemoryManager::allocUserptr(uint
userptr.flags = static_cast<uint32_t>(flags);