This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi! On Fri, 31 Oct 2014 16:35:27 -0700, Cesar Philippidis <cesar@codesourcery.com> wrote: > This patch also resolves an issue when reductions are preformed on the > host, i.e. ACC_DEVICE_TYPE=host. Additional cleanup has now been possible; r217078: commit a10c5e14ec563fffa45d24366f95f8cba62af4fd Author: tschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Tue Nov 4 11:50:58 2014 +0000 libgomp testsuite: Remove special-casing for acc_device_host_nonshm. libgomp/ * testsuite/libgomp.oacc-c/reduction-initial-1.c [ACC_DEVICE_TYPE_host_nonshm]: Remove special-casing for N. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gomp-4_0-branch@217078 138bc75d-0d04-0410-961f-82ee72b054a4 --- libgomp/ChangeLog.gomp | 5 +++++ libgomp/testsuite/libgomp.oacc-c/reduction-initial-1.c | 7 +------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git libgomp/ChangeLog.gomp libgomp/ChangeLog.gomp index 35322f0..c70850b 100644 --- libgomp/ChangeLog.gomp +++ libgomp/ChangeLog.gomp @@ -1,3 +1,8 @@ +2014-11-04 Thomas Schwinge <thomas@codesourcery.com> + + * testsuite/libgomp.oacc-c/reduction-initial-1.c + [ACC_DEVICE_TYPE_host_nonshm]: Remove special-casing for N. + 2014-11-03 Cesar Philippidis <cesar@codesourcery.com> Thomas Schwinge <thomas@codesourcery.com> diff --git libgomp/testsuite/libgomp.oacc-c/reduction-initial-1.c libgomp/testsuite/libgomp.oacc-c/reduction-initial-1.c index 0f66a39..81cf865 100644 --- libgomp/testsuite/libgomp.oacc-c/reduction-initial-1.c +++ libgomp/testsuite/libgomp.oacc-c/reduction-initial-1.c @@ -4,12 +4,7 @@ int main(void) { #define I 5 -/* TODO */ -#ifdef ACC_DEVICE_TYPE_host_nonshm -# define N 1 -#else -# define N 11 -#endif +#define N 11 #define A 8 int a = A; GrÃÃe, Thomas
Attachment:
pgpYPjW3PzpBo.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |