Closed Neutron3529 closed 3 years ago
Hi @Neutron3529 , Thank you for your sighting. Could you please clarify what oneDNN version do you use? We have GCC11 in our validation and there are no compilation issues, some time ago we promoted the changes which fixed the issues with GCC11.
Regarding clang-format issues: The changes in the PR you mention contain not only the changes in thread_id comparison, but also change style of source code. oneDNN have contribution guidelines, which all oneDNN developers should use to keep code base consistent. In your case you need to run clang-format tool on the source code file you changes and clang-format will make it consistent with the rest of code base and once it is done CI should be good. Please review Coding Style section of coding standards.
Regards, Igor Safonov
This looks like a duplicate for https://github.com/oneapi-src/oneDNN/issues/1075.
@Neutron3529, could you please try oneDNN v2.2.4?
This looks like a duplicate for #1075.
That should be what I met here.
Hi @Neutron3529 , Thank you for your sighting. Could you please clarify what oneDNN version do you use? We have GCC11 in our validation and there are no compilation issues, some time ago we promoted the changes which fixed the issues with GCC11.
Regarding clang-format issues: The changes in the PR you mention contain not only the changes in thread_id comparison, but also change style of source code. oneDNN have contribution guidelines, which all oneDNN developers should use to keep code base consistent. In your case you need to run clang-format tool on the source code file you changes and clang-format will make it consistent with the rest of code base and once it is done CI should be good. Please review Coding Style section of coding standards.
Regards, Igor Safonov
The version I use is the version in incubator-mxnet, which generate the error. (that has been fixed yesterday.) and I just check the code and say "even the newest version have the same issue."
problem should be solved by add a header file.
Summary
failed to compile with gcc 11
I tried to submit a PR(#1090), but that PR is blocked by clang-format. I tried the clang-format, but the error keeps. I don't know what to do next.
Version
even the newest version have the same issue.
Environment
Steps to reproduce
compile with gcc 11
Observed behavior
do not compile
Expected behavior