diff options
Diffstat (limited to 'lang/intel-compute-runtime/files/patch-unix')
-rw-r--r-- | lang/intel-compute-runtime/files/patch-unix | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/lang/intel-compute-runtime/files/patch-unix b/lang/intel-compute-runtime/files/patch-unix index 2d990bb22c5e..7fde47a37598 100644 --- a/lang/intel-compute-runtime/files/patch-unix +++ b/lang/intel-compute-runtime/files/patch-unix @@ -21,26 +21,6 @@ core/elf/writer.cpp:76:5: error: memcpy_s(curSectionHeader, sizeof(SElf64SectionHeader), ^ ---- level_zero/source/inc/ze_intel_gpu.h.orig 2020-03-27 09:53:58 UTC -+++ level_zero/source/inc/ze_intel_gpu.h -@@ -12,7 +12,7 @@ - #include <string.h> - - /////////////////////////////////////////////////////////////////////////////// --#if defined(__linux__) -+#if !defined(__APPLE__) && !defined(_WIN32) - #include <dlfcn.h> - #define HMODULE void * - #define MAKE_VERSION() L0_PROJECT_VERSION_MAJOR "." L0_PROJECT_VERSION_MINOR -@@ -42,7 +42,7 @@ inline bool getenv_tobool(const char *name) { - return (0 == strcmp("1", env)); - } - --#if defined(__linux__) -+#if !defined(__APPLE__) && !defined(_WIN32) - #define LOAD_INTEL_GPU_LIBRARY() LOAD_DRIVER_LIBRARY(MAKE_LIBRARY_NAME("ze_intel_gpu", MAKE_VERSION())) - #elif defined(_WIN32) - #if _WIN64 --- shared/source/helpers/string.h.orig 2020-02-28 16:16:42 UTC +++ shared/source/helpers/string.h @@ -10,7 +10,7 @@ |