Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect CPU cycle calculation in Section 1.2 #300

Open
lzydaphne opened this issue Aug 11, 2024 · 0 comments
Open

Incorrect CPU cycle calculation in Section 1.2 #300

lzydaphne opened this issue Aug 11, 2024 · 0 comments

Comments

@lzydaphne
Copy link

Incorrect CPU cycle calculation in Section 1.2

In section 1.2 of the documentation, there is an error in the calculation of total CPU cycles for the matrix multiplication example.

Current text

The text currently states:
"...totaling to almost 10^15 for the entire computation..."

Issue

The calculation is incorrect. Based on the given information:

  • Runtime: 630 seconds
  • CPU clock frequency: 1.4 GHz (1.4 * 10^9 cycles per second)

The correct calculation should be:
(1.4 * 10^9) * 630 ≈ 8.82 * 10^11, which is closer to 10^12.

Proposed change

Update the text to read:
"...totaling to almost 10^12 for the entire computation..."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant