Accelerator Kernel Timing data

Hi,

I would like to know if it is possible to save the Accelerator Kernel Timing data to file instead print to terminal. I mean that i want this part

Accelerator Kernel Timing data
acc_f2.f90
  main
    25: region entered 1 time
        time(us): total=1367517 init=1366590 region=927
                  kernels=60 data=543
        w/o init: total=927 max=927 min=927 avg=927
        26: kernel launched 1 times
            grid: [391]  block: [256]
            time(us): total=60 max=60 min=60 avg=60

saved on a file not in the terminal. I want to know if this is possilble without using pgprof or pgcollect.

Thank you,
Sotiris

Hi Sotiris,

I would like to know if it is possible to save the Accelerator Kernel Timing data to file instead print to terminal.

Yes. Simply set the environment variable “PGI_ACC_TIME” to the name of the file you wish to create.

  • Mat