summaryrefslogtreecommitdiff
path: root/lang/intel-compute-runtime/files/patch-ocloc-no-dlsym
diff options
context:
space:
mode:
Diffstat (limited to 'lang/intel-compute-runtime/files/patch-ocloc-no-dlsym')
-rw-r--r--lang/intel-compute-runtime/files/patch-ocloc-no-dlsym34
1 files changed, 0 insertions, 34 deletions
diff --git a/lang/intel-compute-runtime/files/patch-ocloc-no-dlsym b/lang/intel-compute-runtime/files/patch-ocloc-no-dlsym
deleted file mode 100644
index fabe89e9bbc1..000000000000
--- a/lang/intel-compute-runtime/files/patch-ocloc-no-dlsym
+++ /dev/null
@@ -1,34 +0,0 @@
-Regressed by https://github.com/intel/compute-runtime/commit/beab60f62634
-
-FAILED: bin/built_ins/x64/gen12lp/copy_buffer_rect_Gen12LPlp.spv bin/built_ins/x64/gen12lp/copy_buffer_rect_Gen12LPlp.bin bin/built_ins/x64/gen12lp/copy_buffer_rect_Gen12LPlp.cpp bin/built_ins/x64/gen12lp/copy_buffer_rect_Gen12LPlp.gen
-cd shared/source/built_ins/kernels && LD_LIBRARY_PATH=bin bin/ocloc -q -file copy_buffer_rect.builtin_kernel -device tgllp -64 -out_dir bin/built_ins/x64/gen12lp -cpp_file -options -cl-kernel-arg-info
-Error! Couldn't find OclocInvoke function.
-Error! Ocloc Library couldn't be loaded.
-
---- shared/offline_compiler/source/ocloc_wrapper.cpp.orig 2020-02-28 16:16:42 UTC
-+++ shared/offline_compiler/source/ocloc_wrapper.cpp
-@@ -5,6 +5,7 @@
- *
- */
-
-+#include "ocloc_api.h"
- #include "ocloc_wrapper.h"
-
- #include "shared/source/os_interface/os_library.h"
-@@ -43,14 +44,8 @@ struct OclocWrapper::Impl {
- OclocLibrary ocloc;
- std::string oclocLibName = "";
- ocloc.library.reset(NEO::OsLibrary::load(oclocLibName));
-- if (nullptr == (ocloc.invoke = reinterpret_cast<pOclocInvoke>(ocloc.library->getProcAddress("oclocInvoke")))) {
-- std::cout << "Error! Couldn't find OclocInvoke function.\n";
-- return;
-- }
-- if (nullptr == (ocloc.freeOutput = reinterpret_cast<pOclocFreeOutput>(ocloc.library->getProcAddress("oclocFreeOutput")))) {
-- std::cout << "Error! Couldn't find OclocFreeOutput function.\n";
-- return;
-- }
-+ ocloc.invoke = oclocInvoke;
-+ ocloc.freeOutput = oclocFreeOutput;
- this->oclocLib = std::move(ocloc);
- }
- };