4912a04f8b
..., per OpenACC 3.0, A.1.2. "AMD GPU Targets".
This complements commit 6687d13a87
"Rename
acc_device_gcn to acc_device_radeon".
libgomp/
* oacc-init.c (get_openacc_name): Handle 'gcn'.
* testsuite/lib/libgomp.exp
(offload_target_to_openacc_device_type) [amdgcn*]: Return
'radeon'. Adjust all users.
(check_effective_target_openacc_amdgcn_accel_present): Rename
to...
(check_effective_target_openacc_radeon_accel_present): ... this.
Adjust all users.
(check_effective_target_openacc_amdgcn_accel_selected): Rename to...
(check_effective_target_openacc_radeon_accel_selected): ... this.
Adjust all users.
16 lines
490 B
C
16 lines
490 B
C
/* Verify OpenACC 'firstprivate' mappings. */
|
|
|
|
/* { dg-additional-options "-Wno-psabi" } as apparently we're doing funny
|
|
things with vector arguments. */
|
|
|
|
/* PR middle-end/48591 */
|
|
/* PR other/71064 */
|
|
/* Set to 0 for offloading targets not supporting long double. */
|
|
#if defined(ACC_DEVICE_TYPE_nvidia) || defined(ACC_DEVICE_TYPE_radeon)
|
|
# define DO_LONG_DOUBLE 0
|
|
#else
|
|
# define DO_LONG_DOUBLE 1
|
|
#endif
|
|
|
|
#include "../../../gcc/testsuite/c-c++-common/goacc/firstprivate-mappings-1.c"
|