Compiling appears successful with pgcc 15.9-0. However, am not able to run on the Fiji GPU.
$ pgcc -Minfo -acc -ta=radeon acc_c1.c main: 36, Generating copyout(r[:n]) Generating copyin(a[:n]) 37, Loop is parallelizable Accelerator kernel generated Generating Radeon code 37, #pragma acc loop gang, vector(128) /* global dim(0) local dim(0) */ $ ./a.out Current file: /opt/pgi/linux86-64/2015/examples/OpenACC/samples/acc_c1/acc_c1.c function: main line: 36 Current region was compiled for: AMD Radeon GPU Available accelerators: device: Native X86 (CURRENT DEVICE) The accelerator does not match the profile for which this program was compiled
$ ./pgaccelinfo OpenCL Platform: AMD Accelerated Parallel Processing OpenCL Vendor: Advanced Micro Devices, Inc. Device Number: 0 Device Name: Fiji Available: Yes Compiler Available: Yes Board Name: AMD Radeon (TM) R9 Fury Series Device Version: OpenCL 2.0 AMD-APP (1800.11) Global Memory Size: 3889168384 Maximum Object Size: 2861826048 Global Cache Size: 16384 Free Memory: 3789042000 Max Clock (MHz): 1000 Compute Units: 64 SIMD Units: 4 SIMD Width: 16 GPU Cores: 4096 Wavefront Width: 64 Constant Memory Size: 65536 Local Memory Size: 32768 Workgroup Size: 256 Address Bits: 64 ECC Support: No
Am I missing a step somewhere?