[Pkg-opencl-devel] Bug#1055874: intel-graphics-compiler: FTBFS in bookworm: Assertion `SupportedIntrinsics.find(CPU) != SupportedI, ntrinsics.end() && "Unknown Platform"' failed.

Andreas Beckmann anbe at debian.org
Fri Nov 17 09:26:40 GMT 2023


Control: fixed -1 1.0.13822.1-1
> Verified that building in current bookworm with intel-vc-intrinsics-dev> downgraded to 0.8.1 works fine, while it FTBFS with 0.11.0> (there were no intel-vc-intrinsics uploads between these two versions)
rebuilding in bookworm the next version that was uploaded to
experimental (1.0.13822.1-1) works fine ... trying to bisect ... there
must be a commit fixing support with 0.11 somewhere ;-)

git bisect start '--term-old' 'broken' '--term-new' 'fixed'
# status: waiting for both good and bad commits
# fixed: [f76f43110b8af770cc039002c66e06ef2177fdce] [Autobackout][FuncReg]Revert of change: 62aaffe74f152a909e2f5e4161f807b53cc87931  Performance improvements in reduce_group built-in instr
git bisect fixed f76f43110b8af770cc039002c66e06ef2177fdce
# status: waiting for good commit(s), bad commit known
# fixed: [385f67c0b9a0eda6a65c56616e84bb2d612f82cf]  Preinstalled SPIRV-Tools CMakeFile fix
git bisect fixed 385f67c0b9a0eda6a65c56616e84bb2d612f82cf
# status: waiting for good commit(s), bad commit known
# broken: [7da96420a6c5be941b7710646a9f729b7760a9bc] Revert " Fix for metadata related with loops"
git bisect broken 7da96420a6c5be941b7710646a9f729b7760a9bc
# broken: [d03177fe331ee59ac41e359b918f9e01bdfe63d4]  Disable split async pass when doing sync DispatchRays
git bisect broken d03177fe331ee59ac41e359b918f9e01bdfe63d4
# broken: [aecb6ce6dceb775c536af536df102f41bd2f7082]  Enhance sinpi/cospi optimization
git bisect broken aecb6ce6dceb775c536af536df102f41bd2f7082
# fixed: [3154d022fa7e08e7ecfb71da2d72da3f9f01dbfd] [Autobackout][FuncReg]Revert of change: cef27a8c996ca53f558b42b891b6fbdc5339bbb2  Optimize vector constants, with same delta-offset
git bisect fixed 3154d022fa7e08e7ecfb71da2d72da3f9f01dbfd
# broken: [2ce23f16d6d81c7f1a98132c8ec711649dcc37b8]  Remove unused code
git bisect broken 2ce23f16d6d81c7f1a98132c8ec711649dcc37b8
# broken: [7d615d13b5da52c5728b11a1e3e317eb0e860887]  Suppress ExeSize of block load/store sends if it exceeds SimdSize
git bisect broken 7d615d13b5da52c5728b11a1e3e317eb0e860887
# fixed: [b2e1ee2538fee57774f66a789855f2f9d6801b98]  Add option to enable AddressArithmeticSinking pass
git bisect fixed b2e1ee2538fee57774f66a789855f2f9d6801b98
# fixed: [189f308793853f5a701201ec7a05cd81ef02a76b]  ZEBIN: Fix printf for 32-bit applications
git bisect fixed 189f308793853f5a701201ec7a05cd81ef02a76b
# fixed: [d1761dfc3ca6b54bac0ee213389a65f84d2aa9b7]  Explicitly cast pointers to `int` in BiFModule (LLVM 15)
git bisect fixed d1761dfc3ca6b54bac0ee213389a65f84d2aa9b7
# fixed: [36be850a67777d06135768b582f63bd03b059d8d]  Fix spelling in IGC LIT checks to avoid LLVM 15 failures
git bisect fixed 36be850a67777d06135768b582f63bd03b059d8d
# fixed: [916a01be779ad4280541fc1a83a98182c441569e]  VC subtarget refactoring
git bisect fixed 916a01be779ad4280541fc1a83a98182c441569e
# first fixed commit: [916a01be779ad4280541fc1a83a98182c441569e]  VC subtarget refactoring

916a01be779ad4280541fc1a83a98182c441569e is the first fixed commit
commit 916a01be779ad4280541fc1a83a98182c441569e
Author: Victor Mustya <victor.mustya at intel.com>
Date:   Wed Nov 16 05:59:08 2022 +0000

      VC subtarget refactoring
     
     Refactor VC subtargets to reduce copy-paste

  .../cmake/supported_platforms_list.cmake           |  34 +-
  .../igcdeps/src/TranslationInterface.cpp           |  48 ++-
  IGC/VectorCompiler/lib/Driver/Driver.cpp           |   7 +
  IGC/VectorCompiler/lib/GenXCodeGen/GenX.td         | 361 ++++++++++++---------
  .../lib/GenXCodeGen/GenXCisaBuilder.cpp            |  47 +--
  .../lib/GenXCodeGen/GenXLowering.cpp               |   2 +-
  .../lib/GenXCodeGen/GenXRegionUtils.cpp            |  15 +-
  .../lib/GenXCodeGen/GenXSubtarget.cpp              |  35 +-
  IGC/VectorCompiler/lib/GenXCodeGen/GenXSubtarget.h | 232 +++++--------
  IGC/VectorCompiler/lib/GenXCodeGen/GenXUtil.cpp    |   2 +-
  IGC/VectorCompiler/utils/vcb/vcb.cpp               |   4 +-
  11 files changed, 414 insertions(+), 373 deletions(-)

Trying to backport that ...

I also needed to apply this commit while bisecting the older commits:

commit 385f67c0b9a0eda6a65c56616e84bb2d612f82cf (tag: fix1)
Author: Jakub Czarnecki <jakub.czarnecki at intel.com>
Date:   Thu Dec 15 12:07:06 2022 +0000

      Preinstalled SPIRV-Tools CMakeFile fix
     
     Corrected typos and missing characters from the SPIRV-Tools CMakeFile,
     added add_custom_target to allow marking preinstalled SPIRV-Tools as a
     target.


Andreas



More information about the Pkg-opencl-devel mailing list