On Wed, Oct 21, 2015 at 12:16:35PM +0300, Alexander Monakov wrote: > > Of course that doesn't help the thread-limit-2.c testcase. > > Why not?
Because the compiler can be configured for multiple offloading devices, and PTX might not be the first device. So, you'd need to have a tcl test whether PTX is enabled at all rather than whether it is the default device. Jakub