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?
>
> -eric


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.


http://reviews.llvm.org/D15960



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to