41 use,
intrinsic :: iso_c_binding
59 call craypat_record_start
72 call craypat_record_stop
79 character(kind=c_char,len=*) :: name
80 integer,
optional :: region_id
81 logical :: in_parallel
84 if (
present(region_id))
then
85 call nvtxstartrange(name, region_id)
87 call nvtxstartrange(name)
90 call roctxstartrange(name)
92 if (
present(region_id))
then
93 call craypat_region_begin(name, region_id)
97#if defined(__FUJITSU) && defined(NEKO_FJPROF)
98 if (
present(region_id))
then
99 call fapp_start(trim(name), region_id, 0)
106 in_parallel = .false.
108 if (.not. in_parallel)
then
116 character(kind=c_char, len=*),
optional :: name
117 integer,
optional :: region_id
118 logical :: in_parallel
125 if (
present(region_id))
then
126 call craypat_region_end(region_id)
130#if defined(__FUJITSU) && defined(NEKO_FJPROF)
131 if (
present(name) .and.
present(region_id))
then
132 call fapp_stop(trim(name), region_id, 0)
136 in_parallel = .false.
138 if (.not. in_parallel)
then
Interface to CrayPat F77 API.
Device abstraction, common interface for various accelerators.
subroutine, public device_profiler_stop()
Stop device profiling.
subroutine, public device_profiler_start()
Start device profiling.
integer, parameter neko_bcknd_cuda
Interface to NVTX Based on https://github.com/maxcuda/NVTX_example.
subroutine, public profiler_start
Start profiling.
subroutine, public profiler_start_region(name, region_id)
Started a named (name) profiler region.
subroutine, public profiler_end_region(name, region_id)
End the most recently started profiler region.
subroutine, public profiler_stop
Stop profiling.
type(runtime_stats_t), public neko_rt_stats