You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[SYCL] LLVM ERROR: OCL version mismatch while building test application #3
Could try to link with the library with -L -l options, please?
We are working on alternative solution I hope we will upload a fix soon. The problem here is LLVM-SPIR-V translator which create a non-empty LLVM module from an empty SPIR-V file (I assume opencllib.so doesn't have SPIR-V code). This non-empty LLVM module has OpenCL 1.2 version encoded in metadata and the check you disabled, detects that we are trying to link SPIR-V files built from OpenCL C++ and OpenCL 1.2, which makes it fail.
@bader
When I ran sample code, I got this result:
The result is incorrect for element: 1 , expected: 1 , got: 0
The result is incorrect for element: 2 , expected: 2 , got: 0
The result is incorrect for element: 3 , expected: 3 , got: 0
Platform Info:
HW: KabyLake
SW: Ubutu 16.04.x
OpenCL: 2.1 (Verified by some code written by myself, it's ok.)
Did I do something wrong? Can you give me some hints on this?
Thank you.
Activity
bader commentedon Jan 24, 2019
Could try to link with the library with -L -l options, please?
We are working on alternative solution I hope we will upload a fix soon. The problem here is LLVM-SPIR-V translator which create a non-empty LLVM module from an empty SPIR-V file (I assume opencllib.so doesn't have SPIR-V code). This non-empty LLVM module has OpenCL 1.2 version encoded in metadata and the check you disabled, detects that we are trying to link SPIR-V files built from OpenCL C++ and OpenCL 1.2, which makes it fail.
kpet commentedon Jan 24, 2019
Using -L -l just works and that's probably what I should have used anyway.
[llvm-symbolizer][test] Extract tests from llvm-symbolizer.test and s…
[LCSSA] Handle case with single new PHI faster.
bader commentedon Feb 12, 2019
Should be fixed by PR #23.
[LCSSA] Skip blocks in sub-loops when scanning for uses.
Rollback of rL355585.
wangliwei-intel commentedon Mar 27, 2019
@bader
When I ran sample code, I got this result:
The result is incorrect for element: 1 , expected: 1 , got: 0
The result is incorrect for element: 2 , expected: 2 , got: 0
The result is incorrect for element: 3 , expected: 3 , got: 0
Platform Info:
HW: KabyLake
SW: Ubutu 16.04.x
OpenCL: 2.1 (Verified by some code written by myself, it's ok.)
Did I do something wrong? Can you give me some hints on this?
Thank you.
Remove a useless assertion in clang-check.
Revert rL357915 from cfe/trunk: Remove a useless assertion in clang-c…
Remove a useless assertion in clang-check.
[StackMaps] Add location size to llvm-readobj -stackmap output
RegisterContextLLDB::GetFullUnwindPlanForFrame has four verbose
244 remaining items
[LifetimeSafety][test] Fix UUM of fields added in #221610 and #205764…
[lldb] Fix infinite recursion in ArchSpec's core matching (#221899)
[SYCL] Fix leak of the UR memory object behind `get_native()` on an i…
[SYCL][E2E] Destroy the Level Zero handles interop-direct.cpp owns (#…
[KnownFPClass] Move `fadd`/`fsub` tests to `nofpclass-fadd-fsub.ll` (…
[SYCL][ESIMD] Fix leak of the demangler output buffer in `ESIMDRemove…
[UR][OpenCL] Release the program reference internally created by `mak…
[lldb] Fix heap-use-after-free in scripted process memory reads (#225…
[lldb] Fix heap-buffer-overflow in tree-sitter-swift scanner state (#…
[lldb][test] Handle None function name in frame provider tests (#226936)
[lldb][test] Fix race condition in test_stop-hook.cpp (#227284)
[lldb] Reject thread until targets outside of an inline frame's funct…
[lldb] Step through inlined code when stepping out of inline frame N …
[lldb] Step through inlined code when stepping out of inline frame N …
Fix SystemZ TableGen crashing when GlobalISel is enabled (#228227)