-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XE_HP* related unit tests fail with all compute-runtime versions #498
Comments
I've managed to bisect the issue to commit 947297d (Compile XeHpSdv by default) in 21.44.21506, so the problem has been there since XeHpSdv got enabled ,,, I've also noticed that it does not happen always (only 43 out of 100 attempts in a longer series) and that the mismatching 8-byte objects have different values in each run:
There seems to be some pattern: the expected value is |
HP_SDV tests are not the only ones failing for me (on Xeon build host) when building latest "compute-runtime" 22.04.22286 release. To get its build (tests) to succeed (with LLVM v11), I need to give CMake: I can enable support for DG1 and earlier HW though: For now this is fine because public kernel does not have support for XE_HP* (and even enabling support for DG1 requires force probing). |
@anbe42 I would suggest renaming this as "XE_HP* related unit tests fail with all compute-runtime versions". |
@anbe42 what compiler version are you using? |
@JablonskiMateusz compute-runtime is built with gcc 11 (Debian package) and uses igc built with llvm 12 (Debian package) and gcc 11 (if there are components built with gcc instead of clang/llvm), igc uses opencl-clang and spirv-llvm-translator built with llvm-12 |
@JablonskiMateusz In my case, I was building "compute-runtime" 22.04.22286 with gcc v10 and LLVM v11 on Ubuntu 21.04:
By disabling all XE_HP* stuff, build worked again. Note that this is with "igc-1.0.9636" because "compute-runtime" build fails with newer IGC versions to: intel/intel-graphics-compiler#224 Opencl-clang was oldish one from the distro, but all SPIRV deps are built by IGC from sources. I have not tried to enabing XE_HP* options with newer "compute-runtime" versions (I've been waiting for that IGC bug to get first some attention). |
@eero-t regarding the issue:
igc-1.0.9636 didn't work with DG2 very well, the issue should go away with igc-1.0.9933 |
@JablonskiMateusz OK, as newer HW unit-tests in compute-runtime need also newer IGC, I assume disabling XE_HP* platforms while still using older IGC version is the correct thing to do? Could compute-runtime add IGC version check and disable them automatically when IGC is too old, to avoid user confusion about this? EDIT: I misunderstood your comment at first, this was rewritten after the lightbulb lit... |
While that explain my issues, what about the XE_HP* failures that the original bug reporter got with "igc-1.0.9933", are even newer IGC versions needed for the other XE_HP* platforms (supported by compute-runtime) than DG2? EDIT: Looking at IGC release notes after "igc-1.0.9636", I started to wonder is this issue VC (Vector Compiler / intrinsics) related. Any idea whether things should work any better if one would disable / not use VC in IGC build? (I have impression that no-VC is less tested code path in IGC, that's why I'm asking first whether it's even supposed to work better, before trying it myself.) |
regarding two failures that @anbe42 mentioned at the very beginning of the issue, I setup workspace with gcc11 and reproduced the issue. |
This is in our queue. We expect to have a fix in the near future. |
Any news? |
could you try with 95103c3 ? |
seems to work here |
Hi,
while trying to update the Debian packages for the Intel OpenCL stack, I've run into two failing tests:
This happened while building intel-compute-runtime 22.03.22192 using igc 1.0.9933 and llvm-12. There may well be some unsupported combination of build dependency versions ...
I'm thankful for any pointer where to start looking.
(I can successfully build 21.32.20609 using igc 1.0.8744 (or 1.0.9933 as well) and llvm-12 in the same setup. I haven't tried any versions inbetween.)
The text was updated successfully, but these errors were encountered: