[Bug 2085370] Re: Important build flag left out of IGC build

Pavel Androniychuk 2085370 at bugs.launchpad.net
Wed Dec 11 17:04:21 UTC 2024


to answer Timo's question:

IGC_OPTION__LINK_KHRONOS_SPIRV_TRANSLATOR is ON by default as well when the other flag is used 
"-DIGC_OPTION__USE_KHRONOS_SPIRV_TRANSLATOR_IN_SC=1"

Since both are on by default no action needs to be taken with oracular
and plucky

but please please update igc in noble with this build flag
"-DIGC_OPTION__USE_KHRONOS_SPIRV_TRANSLATOR_IN_SC=1"

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2085370

Title:
  Important build flag left out of IGC build

Status in intel-graphics-compiler package in Ubuntu:
  Fix Released
Status in intel-graphics-compiler source package in Noble:
  In Progress
Status in intel-graphics-compiler source package in Oracular:
  Invalid

Bug description:
  Our partners at Intel have informed us that we are missing a very important build flag for the IGC package:
  -DIGC_OPTION__USE_KHRONOS_SPIRV_TRANSLATOR_IN_SC=1

  Without this build flag enabled, we should expect to see instabilities
  such as pytorch crashes.

  ---------------------- SRU Template ----------------------

  [ Impact ]

   * Users will notice that some software that depends on IGC will be
  less stable

  [ Test Plan ]

   * Intel has done testing on their end and assures us that this is a necessary build flag for their software stack to work as intended.
  * As Pavel has mentioned below, we can check that this is working as intended by running "$ ocloc -device mtl -spirv_input -file ./a.spv"

  [ Where problems could occur ]

  From our contact at Intel:
  "Without the build flag, IGC will not link to translator at all [...] it uses its own internal translator, which is wrong, So this option enables it to link to the distro's translator"

  So while this is a fix, it does carry the inherent risk that we are
  switching to a different translator, which will change the behaviors
  of any software that uses the translator.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/intel-graphics-compiler/+bug/2085370/+subscriptions




More information about the Ubuntu-sponsors mailing list