Octopus
nvtx.F90
Go to the documentation of this file.
1
!! Copyright (C) 2019 S. Ohlmann
2
!!
3
!! This Source Code Form is subject to the terms of the Mozilla Public
4
!! License, v. 2.0. If a copy of the MPL was not distributed with this
5
!! file, You can obtain one at https://mozilla.org/MPL/2.0/.
6
!!
7
8
! This is the fortran part of the wrapper around the NVTX
9
! (NVIDIA Tools Extension) profiling functions.
10
11
#include "global.h"
12
13
module
nvtx_oct_m
14
use
iso_c_binding
15
implicit none
16
17
private
18
public
:: &
19
nvtx_range_push
, &
20
nvtx_range_pop
21
22
interface
nvtx_range_push
23
subroutine
nvtx_range_push_low(range_name, idx)
bind(c)
24
use
iso_c_binding
25
implicit none
26
27
character(kind=c_char)
,
intent(in)
:: range_name(*)
28
integer
,
intent(in)
:: idx
29
end subroutine
nvtx_range_push_low
30
end interface
31
32
interface
nvtx_range_pop
33
subroutine
nvtx_range_pop
()
34
use
iso_c_binding
35
implicit none
36
end subroutine
nvtx_range_pop
37
end interface
nvtx_range_pop
38
39
end module
nvtx_oct_m
40
41
!! Local Variables:
42
!! mode: f90
43
!! coding: utf-8
44
!! End:
nvtx_oct_m::nvtx_range_pop
Definition:
nvtx.F90:127
nvtx_oct_m::nvtx_range_push
Definition:
nvtx.F90:117
nvtx_oct_m
Definition:
nvtx.F90:108
basic
nvtx.F90
Generated on Mon Oct 6 2025 00:15:08 for Octopus by
1.9.4