aboutsummaryrefslogtreecommitdiff
path: root/fixincludes
diff options
context:
space:
mode:
authorJulian Brown <julian@codesourcery.com>2015-05-28 10:35:39 +0000
committerJulian Brown <jules@gcc.gnu.org>2015-05-28 10:35:39 +0000
commit9fb5fd444bef7601aec09778bc6ee926a6f76fd4 (patch)
tree8c355aeab7e41119def2a5220f0f5b8b89c41c01 /fixincludes
parent32eaed9380bfff86977823c0bf88fb69c2a375a6 (diff)
downloadgcc-9fb5fd444bef7601aec09778bc6ee926a6f76fd4.zip
gcc-9fb5fd444bef7601aec09778bc6ee926a6f76fd4.tar.gz
gcc-9fb5fd444bef7601aec09778bc6ee926a6f76fd4.tar.bz2
oacc-init.c (resolve_device): Add FAIL_IS_ERROR argument.
* oacc-init.c (resolve_device): Add FAIL_IS_ERROR argument. Update function comment. Only call gomp_fatal if new argument is true. (acc_dev_num_out_of_range): New function. (acc_init_1, acc_shutdown_1): Update call to resolve_device. Call acc_dev_num_out_of_range as appropriate. (acc_get_num_devices, acc_set_device_type, acc_get_device_type) (acc_get_device_num, acc_set_device_num): Update calls to resolve_device. * testsuite/libgomp.oacc-c-c++-common/lib-4.c: Update expected test output. From-SVN: r223803
Diffstat (limited to 'fixincludes')
0 files changed, 0 insertions, 0 deletions