[Bug 2085370] [NEW] Important build flag left out of IGC build

Launchpad Bug Tracker 2085370 at bugs.launchpad.net
Wed Dec 11 05:31:18 UTC 2024


You have been subscribed to a public bug by Shane  McKee (mckeesh):

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.

** Affects: intel-graphics-compiler (Ubuntu)
     Importance: Medium
     Assignee: Shane  McKee (mckeesh)
         Status: Fix Released

** Affects: intel-graphics-compiler (Ubuntu Noble)
     Importance: Medium
     Assignee: Shane  McKee (mckeesh)
         Status: In Progress

** Affects: intel-graphics-compiler (Ubuntu Oracular)
     Importance: Medium
     Assignee: Shane  McKee (mckeesh)
         Status: In Progress


** Tags: pe-sponsoring-request
-- 
Important build flag left out of IGC build
https://bugs.launchpad.net/bugs/2085370
You received this bug notification because you are a member of Ubuntu Sponsors, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list