libgomp: fix OpenMP offloading to NVPTX and correct location of generic affinity.c

2016-11-28  Jonas Hahnfeld  <Hahnfeld@itc.rwth-aachen.de>

	* config/linux/affinity.c [!HAVE_PTHREAD_AFFINITY_NP]: Include
	../../affinity.c as fallback.
	* config/nvptx/affinity.c: Delete to use fallback implementation.

From-SVN: r242918
This commit is contained in:
Jonas Hahnfeld 2016-11-28 13:42:50 +00:00 committed by Alexander Monakov
parent 51a07549a9
commit c7ac071fd0
3 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2016-11-28 Jonas Hahnfeld <Hahnfeld@itc.rwth-aachen.de>
* config/linux/affinity.c [!HAVE_PTHREAD_AFFINITY_NP]: Include
../../affinity.c as fallback.
* config/nvptx/affinity.c: Delete to use fallback implementation.
2016-11-23 Alexander Monakov <amonakov@ispras.ru>
Jakub Jelinek <jakub@redhat.com>
Dmitry Melnik <dm@ispras.ru>

View File

@ -394,6 +394,6 @@ ialias(omp_get_place_proc_ids)
#else
#include "../posix/affinity.c"
#include "../../affinity.c"
#endif