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).
Bernd