On 10/21/2014 10:18 AM, Richard Biener wrote:
So with this restriction I wonder why it didn't make sense to go the HSA "backend" route emitting PTX from a GIMPLE SSA pass. This would have avoided the LTO dance as well ...
Quite simple - there isn't an established way to do this. If I'd known you were doing something like this when I started the work I might have looked into that approach.
Bernd