diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/nvptx/offload.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e06f69a..d9c58b9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-02-13 Thomas Schwinge <thomas@codesourcery.com> + + * config/nvptx/offload.h (ACCEL_COMPILER_acc_device): Define to + GOMP_DEVICE_NVIDIA_PTX. + 2015-02-13 Jakub Jelinek <jakub@redhat.com> PR ipa/65034 diff --git a/gcc/config/nvptx/offload.h b/gcc/config/nvptx/offload.h index 02c5e8b..9a749a2 100644 --- a/gcc/config/nvptx/offload.h +++ b/gcc/config/nvptx/offload.h @@ -30,6 +30,6 @@ #include "gomp-constants.h" -#define ACCEL_COMPILER_acc_device GOMP_TARGET_NVIDIA_PTX +#define ACCEL_COMPILER_acc_device GOMP_DEVICE_NVIDIA_PTX #endif |