I have a Fortran90 app, and I got this error when trying to get the profiling report with:
rocprof --hip-trace --roctx-trace ./foo
My main.F90 code is like:
...
use roctx, only: roctxRangePushA, roctxRangePop
use ISO_C_BINDING, only: C_NULL_CHAR
subroutine foo(...)
ret = roctxRangePushA("foo"//C_NULL_CHAR)
... more code ...
call roctxRangePop()
end subroutine foo
...
I have a Fortran90 app, and I got this error when trying to get the profiling report with:
My main.F90 code is like:
And the roctx module is the same than: https://github.com/cp2k/dbcsr/blob/HEAD/src/acc/hip/dbcsr_hip_profiling.F
Also, the building useful line is:
It seems it should work. But, probably, I'm doing something wrong, btw rocm version is 5.2.3.