-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Making HLSL code-gen a couple orders of magnitude faster... #7719
Conversation
Are the CI errors expected? |
sadly, yes |
We are seeing massive breakage in D3D12 on our buildbot (see https://buildbot.halide-lang.org/master/#/builders/148/builds/58/steps/30/logs/stdio), could this have injected it? |
That's weird... I would not expect it to cause failures, since it was removing a code path with non-mutating IR that just ended up being discarded in the end. |
Nope, you should log into it and see |
Actually, right there in the log:
This card predates Direct3D 12 by more than a year, it seems. |
It's literally the only Windows test machine that is running right now; WinBot3 is dead and probably won't get fixed until the weekend. We could just turn off D3D12 testing entirely until then, but if it can't use D3D12 at all, it seems unlikely we wouldn't have seen it fail on this machine before. |
I also saw this on the logs:
|
I don't see any way this PR could have caused those test failures, but these tests were passing on that machine, and nothing else has touched d3d12 lately, so... I'll open a revert PR just to see whether or not it makes the tests pass again. |
The puzzling thing is that the tests passed in the corresponding PR branch before getting merged to |
I don't think they did, I think they failed at an earlier step due to a network issue or something and the tests never actually ran: https://buildbot.halide-lang.org/master/#/builders/148/builds/42 |
Yeah, there were a few days when the network to WinBot2 was superflaky |
I ran the tests locally here, and they all passed, except for a few "Error: Did not understand Halide target d3d12compute" (which I presume is intentional): However, I had to run them on commit I can try building the latest LLVM and the latest Halide sometime later this week and re-run he correctness tests. |
Just ran the tests again -- this time on the current Halide main branch with the latest LLVM on Windows -- and the tests passed (still getting that DLL symbol error on |
Title says it all!
The redundant call to
print_expr()
ends up triggering an exponential chain of events that ultimately gets discarded.