Skip to content

Commit

Permalink
fix typo in README of programming guide
Browse files Browse the repository at this point in the history
  • Loading branch information
hunhoffe committed May 23, 2024
1 parent c8b32c5 commit fac3106
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion programming_guide/section-4/section-4a/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Adding the application timer is as simple as noting a start and stop time surrou
This provides us with a good baseline for how long our accelerated kernel function takes.

## <ins>Multiple iterations</ins>
A timer for a single kernel function call is a useful starting point for understanding performance but there can be a lot of variability and overhead for a single call that is smoothed out when run multiple times. In order to benchmark the steady-state kernel run time, we can add code around our kernel call to execute multiple times and capture the minimium, maximize and average time that our kernel takes.
A timer for a single kernel function call is a useful starting point for understanding performance but there can be a lot of variability and overhead for a single call that is smoothed out when run multiple times. In order to benchmark the steady-state kernel run time, we can add code around our kernel call to execute multiple times and capture the minimium, maximum, and average time that our kernel takes.

In our example [test.cpp](./test.cpp), we wrap our calls within a for loop (based on `num_iter` or number of iterations).

Expand Down

0 comments on commit fac3106

Please sign in to comment.