host & tesla:managed , executalbe still not working on HOST

Hello , I’m back ;-)

I’m now using the last version pgi/19.4

The executable compiled with ‘pgf90 -ta=host,tesla:managed’ ,
are still not working with PGI_ACC_DEVICE_TYPE=HOST

I post the problem 3years ago ( 20 jun 2016 , pgi/16.5 , TPR#22656 )

Simple test

PROGRAM HOST_TESLA_MANAGED
  IMPLICIT NONE 
  REAL , DIMENSION(:), POINTER  :: ZTAB 
 
  ALLOCATE(ZTAB(1000000))
  !$acc kernels copyout(ZTAB)
  ZTAB = 10.767867868
  !$acc end kernels
  
  print*,'ZTAB=',ZTAB(123456)
  
END PROGRAM HOST_TESLA_MANAGED



 pgf90 -ta=host,tesla:managed host_tesla_managed.f90 -o host_tesla_managed



PGI_ACC_DEVICE_TYPE=HOST host_tesla_managed
Erreur de segmentation (core dumped)

No problem on NVIDIA device ( or on HOST without the managed option )

PGI_ACC_DEVICE_TYPE=NVIDIA host_tesla_managed
 ZTAB=    10.76787

Bye Juan

Hi Juan,

Sorry that it’s taking us a while to get to this one. We have been going back and working on some of these older issues, including TPR#22656. We do have this one fixed in our development compilers and expect it to be available in a release later this year assuming testing goes well.

Best Regards,
Mat

Hello

OK , thanks

Juan