r236310 - in /trunk/libgomp: ChangeLog oacc-init.c

cltang@gcc.gnu.org cltang@gcc.gnu.org
Tue May 17 08:07:00 GMT 2016


Author: cltang
Date: Tue May 17 08:07:52 2016
New Revision: 236310

URL: https://gcc.gnu.org/viewcvs?rev=236310&root=gcc&view=rev
Log:
2016-05-17  Chung-Lin Tang  <cltang@codesourcery.com>

	libgomp/
	* oacc-init.c (acc_init): Remove !cached_base_dev condition on call
	to gomp_init_targets_once.
	(acc_set_device_type): Remove !cached_base_dev condition on call to
	gomp_init_targets_once, move call to before acc_device_lock acquire,
	to avoid deadlock.
	(acc_get_device_num): Remove !cached_base_dev condition on call to
	gomp_init_targets_once.
	(acc_set_device_num): Likewise.


Modified:
    trunk/libgomp/ChangeLog
    trunk/libgomp/oacc-init.c



More information about the Gcc-cvs mailing list