YouTube

Got a YouTube account?

New: enable viewer-created translations and captions on your YouTube channel!

English subtitles

← Calculation Time on the CPU - Intro to Parallel Programming

Get Embed Code
4 Languages

Showing Revision 4 created 05/25/2016 by Udacity Robot.

  1. Well, for the first question, we know that we're going to loop through this code 64 times,
  2. and we're going to do one multiplication for each iteration,
  3. so that's going to take 64 multiplications.
  4. And for the second question, we know that each one of these iterations is going to proceed serially,
  5. one after another after another.
  6. So for each of these 64 iterations, it's going to take us 2 nanoseconds.
  7. If we multiply those together, we'll see that the answer is 128 nanoseconds.