-
Notifications
You must be signed in to change notification settings - Fork 171
GenIsaIntrinsics dont build on GCC 7.2.1 #5
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
Comments
We have a patch to fix this error, after it got synced to github, this issue will be fix. |
A local fix is to remove below line from iStdLib/types.h: |
I7376783521228493f2d894cf807e7124072e4314 should fix it. Can you check? |
Nope, there's another hiding behind that one.
There's a lot of different compilers out there to appease. Do you mean to compile with warnings as errors for release builds? Perhaps a cmake variable to turn of -Werror would be appropriate? |
Hi: This issue is fixed with the latest commit. We would like compile with warnings as errors, as the issues we have been finding so far have been genuine ones and we would like to fix those. Please let me know if the latest commit fixes your issue. |
Co-authored-by: Pratik J Ashar <[email protected]>
Co-authored-by: Pratik J Ashar <[email protected]>
The goal is to move us away from twiddling bits in descriptors every time we need to examine or modify send messages. * All send descriptors (formerly G4_SendMsgDescriptor) are subclasses of G4_SendDesc * The old raw descriptor is G4_SendDescRaw and there is a new G4_SendDescLdSt which is unused at the moment. * Anywhere possible, we now use the generic methods of the superclass G4_SendDesc. * In cases where the old code fiddles with bits directly and requires the raw descriptor, we add a type check and convert to G4_SendDescRaw (assert on fail / return false on pattern match if safe to do so (e.g. SendFusion::canFuse(..))). * Do not let the old raw descriptor gunk pollute the generic interface of the parent. * Push #5
High-Level Load/Store G4IR support. The goal is to move us away from twiddling bits in descriptors every time we need to examine or modify send messages. * All send descriptors (formerly G4_SendMsgDescriptor) are subclasses of G4_SendDesc * The old raw descriptor is G4_SendDescRaw and there is a new G4_SendDescLdSt which is unused at the moment. * Anywhere possible, we now use the generic methods of the superclass G4_SendDesc. * In cases where the old code fiddles with bits directly and requires the raw descriptor, we add a type check and convert to G4_SendDescRaw (assert on fail / return false on pattern match if safe to do so (e.g. SendFusion::canFuse(..))). * Do not let the old raw descriptor gunk pollute the generic interface of the parent. * Push #5
Introduced a new flag "DisableFunctionCloning" for controling Function Cloning. This is currently disabled by default due to regressions. FunctionCloningThreshold flag is now only used to select the threshold instead of enabling/disabling the feature. FunctionCloningThreshold was disabled due to regressions on ZeBin enabling. Re-enable again after fixes for: * Implicit Arg bug for LocalID * Incorrect vISA scratch space calculation for indirect calls This commit includes fix for stackfuncs called from different sub_group_size requirements, in which case we cannot convert to indirect call. Also, we prevent conversion to indirect calls if the CallWA is potentially needed.
It looks like warnings are treated as errors on the IGC build. Building with gcc 7.2.1 produces the following warning that causes the build to fail:
The text was updated successfully, but these errors were encountered: