Skip to content

Commit 84d0362

Browse files
Rename dr_hook -> drhook
1 parent 8a558aa commit 84d0362

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/fiat/drhook/extensions/papi/drhook_papi.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ int drhook_papi_init(int rank){
231231
return 1;
232232
}
233233

234-
int dr_hook_papi_start_threads(int* events){
234+
int drhook_papi_start_threads(int* events){
235235
int thread=papi_safe_thread_num();
236236
int papiErr;
237237
char pmsg[STD_MSG_LEN];

src/fiat/drhook/internal/drhook_run_omp_parallel.F90

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
module drhook_papi_interface
1414
#if defined(DR_HOOK_HAVE_PAPI)
1515
interface
16-
function dr_hook_papi_start_threads ( events) bind ( c )
16+
function drhook_papi_start_threads ( events) bind ( c )
1717
use, intrinsic :: iso_c_binding, only : c_int
18-
integer(kind=c_int) :: dr_hook_papi_start_threads
18+
integer(kind=c_int) :: drhook_papi_start_threads
1919
integer(kind=c_int), intent(inout) :: events(*)
20-
end function dr_hook_papi_start_threads
20+
end function drhook_papi_start_threads
2121
end interface
2222
#endif
2323
end module drhook_papi_interface
@@ -95,7 +95,7 @@ subroutine drhook_run_omp_parallel_papi_startup(events, n, rcOut) bind(c)
9595
myThread=OML_MY_THREAD()-1
9696
DO thread=0,nThreads-1
9797
if (thread==myThread) then
98-
rc=dr_hook_papi_start_threads(events)
98+
rc=drhook_papi_start_threads(events)
9999
if (rc==0) rcOut=1
100100
end if
101101
!$OMP BARRIER

0 commit comments

Comments
 (0)