[ptx] partitioning optimization
Fri Nov 13 20:07:00 GMT 2015
On 11/11/15 09:19, Bernd Schmidt wrote:
> On 11/11/2015 02:59 PM, Nathan Sidwell wrote:
>> That's not the problem. How to conditionally enable the test is the
>> difficulty. I suspect porting something concerning accel_compiler from
>> the libgomp testsuite is needed?
> Maybe a check_effective_target_offload_nvptx which tries to see if
> -foffload=nvptx gives an error (I would hope it does if it's unsupported).
This patch seems to do the trick. tested on an offload-aware build (passes),
and a regular x86_64-linux build (skipped as unsupported).
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1626 bytes
Desc: not available
More information about the Gcc-patches