GPU_TIME

Hi,
I’m using CUDA Fortran in pgfortran 11.6-0 64-bit target on x86-64 Windows,
and trying to use GPU_TIME intrinsic function in a device subprogram, like

integer(8) :: clock
call GPU_TIME(clock)

But I met an error message in compiling the code:

PGF90-S-0155-Calls from device code to a host subroutine are allowed only in emulation mode - gpu_time

GPU_TIME intrinsic function is not yet supported in CUDA Fortran?

Regards,
Tetsuo

Hi Tetsuo,

GPU_TIME intrinsic function is not yet supported in CUDA Fortran?

Correct. There are a few lingering items left to implement and this one was just a lower priority. I just sent in a request asking that our engineers increase the priority (TPR#17984) and hopefully they can get it in soon.

Thanks!
Mat

Tetsuo,

TPR 17984 has been corrected in the 11.10 release.

regards,
dave