Skip to content

Commit

Permalink
added warning about timing acuracy to output.
Browse files Browse the repository at this point in the history
  • Loading branch information
jtramm committed Sep 20, 2021
1 parent ecd6fe2 commit e14fd59
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions cuda/io.cu
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ int print_results( Inputs in, int mype, double runtime, int nprocs,
border_print();

// Print the results
printf("NOTE: Timings are estimated -- use nvprof/nsys/iprof/rocprof for formal analysis\n");
#ifdef MPI
printf("MPI ranks: %d\n", nprocs);
#endif
Expand Down
1 change: 1 addition & 0 deletions hip/io.hip
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ int print_results( Inputs in, int mype, double runtime, int nprocs,
border_print();

// Print the results
printf("NOTE: Timings are estimated -- use nvprof/nsys/iprof/rocprof for formal analysis\n");
#ifdef MPI
printf("MPI ranks: %d\n", nprocs);
#endif
Expand Down
2 changes: 1 addition & 1 deletion opencl/io.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ int print_results( Inputs in, int mype, double runtime, int nprocs,
border_print();

// Print the results
//printf("Threads: %d\n", in.nthreads);
printf("NOTE: Timings are estimated -- use nvprof/nsys/iprof/rocprof for formal analysis\n");
#ifdef MPI
printf("MPI ranks: %d\n", nprocs);
#endif
Expand Down
1 change: 1 addition & 0 deletions openmp-offload/io.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ int print_results( Inputs in, int mype, double runtime, int nprocs,
border_print();

// Print the results
printf("NOTE: Timings are estimated -- use nvprof/nsys/iprof/rocprof for formal analysis\n");
#ifdef MPI
printf("MPI ranks: %d\n", nprocs);
#endif
Expand Down
1 change: 1 addition & 0 deletions sycl/io.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ int print_results( Inputs in, int mype, double runtime, int nprocs,
border_print();

// Print the results
printf("NOTE: Timings are estimated -- use nvprof/nsys/iprof/rocprof for formal analysis\n");
#ifdef MPI
printf("MPI ranks: %d\n", nprocs);
#endif
Expand Down

0 comments on commit e14fd59

Please sign in to comment.