[PATCH] D15960: Don't build jobs for the same Action + ToolChain twice.
Justin Lebar via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 11 14:56:02 PST 2016
jlebar added a comment.
In http://reviews.llvm.org/D15960#324162, @echristo wrote:
> So, how are you getting to the point where you're trying to create the same action twice?
In the new CUDA world, we have the following graph, which I hope will render properly:
foo.cu --> foo.s (PTX) --> foo.cubin --> foo.fatbin
That is, foo.s is an input to foo.cubin *and* an input to foo.fatbin.
The Driver stores each Action's inputs. So starting from the fatbin, we look at its two inputs, and try to create jobs for them. Fine. Then we look at the input to the cubin. That's foo.s, which we already visited.
More information about the cfe-commits