I have some trouble to OpenACC code debugging which compiled PGI compiler. (pgcc 15.7)
I want to show or dump variables and array values which are in OpenACC region. (the variable and array is on GPU's memory space)
But I can't use printf in OpenACC kernel region.
I tried using cuda-gdb and Nsight(from NVIDIA). But It doesn't work when meet the PGI libraries.
Is there some solution to show variable values in OpenACC kernel region?
Or some debugging OpenACC methods?