Since upgrading to =dev-util/intel-graphics-compiler-1.0.11485 from intel-graphics-compiler-1.0.11378 I am unable to launch any OpenCL kernels on my Tigerlake system (integrated Xe-LP GPU). I have confirmed the issue is with the compiler and not the runtime. (A good source of OpenCL kernels for testing is to run clpeak from https://github.com/krrishnarraj/clpeak). Suspicion is that it may be because the newer compiler links against LLVM 14 whereas the older one is pinned to LLVM 13. Reproducible: Always
(In reply to Freddie Witherden from comment #0) > Since upgrading to =dev-util/intel-graphics-compiler-1.0.11485 from > intel-graphics-compiler-1.0.11378 Are we talking about -r1 or non -r1? I don't have Iris, but my Skylake GPU seems to work just fine.
(In reply to Conrad Kostecki from comment #1) > (In reply to Freddie Witherden from comment #0) > > Since upgrading to =dev-util/intel-graphics-compiler-1.0.11485 from > > intel-graphics-compiler-1.0.11378 > > Are we talking about -r1 or non -r1? -r1.
Well, in this case, I would like you to ask to fill a bug report for you GPU at Github for intel-graphics-compiler, since this doesn't seem to affect all GPUs. I will revert back to LLVM13, as I can't do more here.
(In reply to Conrad Kostecki from comment #3) > Well, in this case, I would like you to ask to fill a bug report for you GPU > at Github for intel-graphics-compiler, since this doesn't seem to affect all > GPUs. I will revert back to LLVM13, as I can't do more here. Can do. Would you be able to revert back to LLVM13 first so I can see if this resolves the issue? Makes it easier to pin down where the problem might be.
(In reply to Freddie Witherden from comment #4) > (In reply to Conrad Kostecki from comment #3) > > Well, in this case, I would like you to ask to fill a bug report for you GPU > > at Github for intel-graphics-compiler, since this doesn't seem to affect all > > GPUs. I will revert back to LLVM13, as I can't do more here. > > Can do. Would you be able to revert back to LLVM13 first so I can see if > this resolves the issue? Makes it easier to pin down where the problem > might be. Please downgrade to version without -r1, test and report back.
(In reply to Conrad Kostecki from comment #5) > (In reply to Freddie Witherden from comment #4) > > (In reply to Conrad Kostecki from comment #3) > > > Well, in this case, I would like you to ask to fill a bug report for you GPU > > > at Github for intel-graphics-compiler, since this doesn't seem to affect all > > > GPUs. I will revert back to LLVM13, as I can't do more here. > > > > Can do. Would you be able to revert back to LLVM13 first so I can see if > > this resolves the issue? Makes it easier to pin down where the problem > > might be. > > Please downgrade to version without -r1, test and report back. Works with non -r1 (which pulled in LLVM 13).
Please report this to upstream then.
(In reply to Conrad Kostecki from comment #7) > Please report this to upstream then. From upstream: https://github.com/intel/intel-graphics-compiler/blob/master/documentation/build_ubuntu.md where they note: > LLVM12/Clang12 to LLVM14/Clang14 > > Experimental Currently there are none LLVM12+/Clang12+ conformance/performance guarantees. with only LLVM 11 being listed as Production grade. Given this is not the first LLVM related issue dev-util/intel-graphics-compiler has had, I think it might be worth investigating the feasibility of bundling/doing a local checkout of their recommended LLVM version (as Gentoo is pretty aggressive at removing older versions whereas upstream hangs onto them for years).
Yes, I am aware of that. But this is related to Ubuntu, as they still support Ubuntu 18.04. LLVM13+ is supported. Despite, LLVM11 and LLVM12 are last-rited. Again, I would kindly ask, that you please report this to upstream, since my Skylake GPU works.
I can confirm I've got the same issue with a Kaby lake gpu (P630). Fine with llvm13 and not 14.
(In reply to rkemp from comment #10) > I can confirm I've got the same issue with a Kaby lake gpu (P630). > Fine with llvm13 and not 14. Thank you. I also would like you to report that to upstream. I will downgrade in the mean time.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39337db3d4a0020f430c7d9c7500a9f48a288f72 commit 39337db3d4a0020f430c7d9c7500a9f48a288f72 Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2022-08-02 19:10:53 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2022-08-02 19:18:26 +0000 dev-util/intel-graphics-compiler: drop 1.0.11485-r1 Closes: https://bugs.gentoo.org/859886 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> .../intel-graphics-compiler-1.0.11485-r1.ebuild | 91 ---------------------- 1 file changed, 91 deletions(-)
Looks like this issue has been raised already https://github.com/intel/intel-graphics-compiler/issues/245