r223803 - in /trunk/libgomp: ChangeLog oacc-ini...
jules@gcc.gnu.org
jules@gcc.gnu.org
Thu May 28 10:35:00 GMT 2015
Author: jules
Date: Thu May 28 10:35:39 2015
New Revision: 223803
URL: https://gcc.gnu.org/viewcvs?rev=223803&root=gcc&view=rev
Log:
* 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.
Modified:
trunk/libgomp/ChangeLog
trunk/libgomp/oacc-init.c
trunk/libgomp/testsuite/libgomp.oacc-c-c++-common/lib-4.c
More information about the Gcc-cvs
mailing list