Hello
I am a researcher from Jam Petrochemical company I want to use OpenACC with
GCC compiler(FORTRAN language). I have a question about your compiler.
I could not offload OpenACC computing block  on AMD Radeon GPU!! and
OpenACC code run on the host(CPU).
How can I select AMD Radeon GPU as target device?
I run mu code with :
gfortran -fopenacc -fno-automatic -s Test.f90 -o Test
 And code is :

 Program Test
   use openacc
   Implicit None
  integer(8)::I
  !$acc parallel
   !$acc loop
  Do I=1,1000
  Data1(I)=I
  if (acc_on_device (acc_device_host))then
   print*, "no GPU"
  endif
  enddo
 !$acc end  parallel

 Thanks very mch
-- 
Mahdi Lotfi
Student at Sharif University of Technology

Reply via email to