From c7ac071fd08ea033fc8b55b7827cacc5fb0793de Mon Sep 17 00:00:00 2001 From: Jonas Hahnfeld Date: Mon, 28 Nov 2016 13:42:50 +0000 Subject: [PATCH] libgomp: fix OpenMP offloading to NVPTX and correct location of generic affinity.c 2016-11-28 Jonas Hahnfeld * 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 --- libgomp/ChangeLog | 6 ++++++ libgomp/config/linux/affinity.c | 2 +- libgomp/config/nvptx/affinity.c | 0 3 files changed, 7 insertions(+), 1 deletion(-) delete mode 100644 libgomp/config/nvptx/affinity.c diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 2e15500df43..84300b78a10 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,9 @@ +2016-11-28 Jonas Hahnfeld + + * 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 Jakub Jelinek Dmitry Melnik diff --git a/libgomp/config/linux/affinity.c b/libgomp/config/linux/affinity.c index ca6eec046c6..d8dede607a1 100644 --- a/libgomp/config/linux/affinity.c +++ b/libgomp/config/linux/affinity.c @@ -394,6 +394,6 @@ ialias(omp_get_place_proc_ids) #else -#include "../posix/affinity.c" +#include "../../affinity.c" #endif diff --git a/libgomp/config/nvptx/affinity.c b/libgomp/config/nvptx/affinity.c deleted file mode 100644 index e69de29bb2d..00000000000