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
Statically link spvgen into amdllpc #1774
Conversation
Test summary for commit 5fdf266CTS tests (Failed: 0/195808)
Rhel 8.2, Gfx10Ubuntu 18.04, Gfx9Ubuntu 20.04, Gfx8 |
@Flakebi this is a very large diff, is that intentional? |
Yes, that’s the Update shaderdb tests commit. That’s removing all the |
Could you split it into two PRs? This would be easier for us because it would give us more time to make a similar change in our internal code base. And second, github is really bad at reviewing big changes and I cannot write a code review right because of how slow it is on my laptop. |
IE link statically in the first PR and update tests in the second one. |
I think you should be able to review a single commit from this PR? Splitting the test changes into a separate PR does not work well because the tests would be failing after removing the The rest is already split out into #1703. If I understand it correctly, the only open comment on that PR is that we should either remove the option to load spvgen dynamically or leave in the tests. This PR takes the first approach and removes the ability to load spvgen dynamically into amdllpc. |
Just in case: it's always possible to fetch the Sebastian's fork and then just ask git to show the diff. Probably not as convenient as all the review UI here, but still might be helpful for reviewing large patches. |
The issue is that I can't even fill out the 'finish the review' prompt and click submit because it freezes almost instantly.
Thanks for the explanation, it's more clear to me now. |
Rebased (no changes). The spvgen fix went in and a base image build finished, so I hope the tests are passing now.
Does the review button not appear on the site that shows only a single commit? (like here) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test
@Flakebi ah, it does work if I select the commit first, instead of review and then commit. Thanks! I'll take a closer look later today. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commit 1 LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commit 2 LGTM.
@Flakebi Seems like some tests might need updating:
There are also some crashes, do we know what the issue is? |
No idea. When running with asan locally, it complains that the one-definition-rule is violated (of some static variables defined in glslang), but when I disable that asan check it runs through just fine. |
TSan seems to complain a lot: https://github.com/GPUOpen-Drivers/llpc/runs/6080798908?check_suite_focus=true. |
Finally found the problem after adding enough printfs and looking at the assembly. |
Rebased on #1794 |
The LLPC code coverage report is available at https://storage.googleapis.com/amdvlk-llpc-github-ci-artifacts-public/coverage_release_clang_coverage_2245619315/index.html. |
The LLPC code coverage report is available at https://storage.googleapis.com/amdvlk-llpc-github-ci-artifacts-public/coverage_release_clang_shadercache_coverage_assertions_2245619315/index.html. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
amdllpc link spvgen statically.
spvgen_static is linked into amdllpc, so the shared spvgen library is not a dependency for the tests anymore.
Rebased on the merged vkgc_headers library |
The LLPC code coverage report is available at https://storage.googleapis.com/amdvlk-llpc-github-ci-artifacts-public/coverage_release_clang_shadercache_coverage_assertions_2263307451/index.html. |
The LLPC code coverage report is available at https://storage.googleapis.com/amdvlk-llpc-github-ci-artifacts-public/coverage_release_clang_coverage_2263307451/index.html. |
Test summary for commit 7eeaa28CTS tests (Failed: 1/187820)
Rhel 8.2, Gfx10Ubuntu 18.04, Gfx9Ubuntu 20.04, Gfx8 |
Based on #1703 plus removes the spvgen-dir option and the tests that tested spvgen in a shared library.