Skip to content

Commit

Permalink
add generated c files
Browse files Browse the repository at this point in the history
  • Loading branch information
tim0s committed Oct 30, 2023
1 parent 3203527 commit 71dab34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/mpi_c_wrapper.c
Original file line number Diff line number Diff line change
Expand Up @@ -5920,7 +5920,7 @@ int MPI_Pcontrol (const int level, ...) {
if (level == 0) { lap_tracing_enabled = 0; lap_elem_tracing_enabled = 0; lap_backtrace_enabled = 0; }
if (level == 1) { lap_tracing_enabled = 1; lap_elem_tracing_enabled = 0; lap_backtrace_enabled = 0; }
if (level == 2) { lap_tracing_enabled = 1; lap_elem_tracing_enabled = 1; lap_backtrace_enabled = 0; }
if (level >= 3) { lap_tracing_enabled = 1; lap_elem_tracing_enabled = 1; lap_backtrace_enabled = 1; }
if (level == 3) { lap_tracing_enabled = 1; lap_elem_tracing_enabled = 1; lap_backtrace_enabled = 1; }
WRITE_TRACE("# pcontrol with value / epoch %i)\n", level);
return MPI_SUCCESS;
}
Expand Down
2 changes: 1 addition & 1 deletion build/mpi_f_wrapper.c
Original file line number Diff line number Diff line change
Expand Up @@ -5830,7 +5830,7 @@ void FortranCInterface_GLOBAL(mpi_pcontrol,MPI_PCONTROL) (int* level, int* ierr)
if (*level == 0) { lap_tracing_enabled = 0; lap_elem_tracing_enabled = 0; lap_backtrace_enabled = 0; }
if (*level == 1) { lap_tracing_enabled = 1; lap_elem_tracing_enabled = 0; lap_backtrace_enabled = 0; }
if (*level == 2) { lap_tracing_enabled = 1; lap_elem_tracing_enabled = 1; lap_backtrace_enabled = 0; }
if (*level >= 3) { lap_tracing_enabled = 1; lap_elem_tracing_enabled = 1; lap_backtrace_enabled = 1; }
if (*level == 3) { lap_tracing_enabled = 1; lap_elem_tracing_enabled = 1; lap_backtrace_enabled = 1; }
WRITE_TRACE("# pcontrol with value / epoch %i)\n", *level);
}

Expand Down

0 comments on commit 71dab34

Please sign in to comment.