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
15
implicit none
16
17
private
18
public
:: &
19
nvtx_range_push
, &
20
nvtx_range_pop
21
22
interface
23
24
subroutine
nvtx_range_push
(range_name, idx)
25
use
iso_c_binding
26
implicit none
27
28
character(len=*)
,
intent(in)
:: range_name
29
integer
,
intent(in)
:: idx
30
end subroutine
nvtx_range_push
31
32
subroutine
nvtx_range_pop
()
33
use
iso_c_binding
34
implicit none
35
end subroutine
nvtx_range_pop
36
end interface
37
38
end module
nvtx_oct_m
39
40
!! Local Variables:
41
!! mode: f90
42
!! coding: utf-8
43
!! End:
nvtx_oct_m::nvtx_range_pop
Definition:
nvtx.F90:125
nvtx_oct_m::nvtx_range_push
Definition:
nvtx.F90:117
nvtx_oct_m
Definition:
nvtx.F90:106
basic
nvtx.F90
Generated on Fri Nov 22 2024 10:43:11 for Octopus by
1.9.4