Return to Video

Thread and Blocks - Solution - Intro to Parallel Programming

  • 0:00 - 0:03
    Yes, a thread block contains many threads,
  • 0:03 - 0:07
    and it's also true that an SM might run more than one block.
  • 0:07 - 0:09
    On the other hand, a thread block may not run on more than one SM.
  • 0:09 - 0:12
    By definition, a thread block is run on a single SM.
  • 0:12 - 0:16
    Now, all the threads in a thread block may cooperate to solve a subproblem.
  • 0:16 - 0:18
    That's why we have thread blocks.
  • 0:18 - 0:22
    This last one is false, and it's a bit subtle so let me talk it through.
  • 0:22 - 0:27
    The key, as I said, all the threads that run on a given SM may cooperate to solve a subproblem,
  • 0:27 - 0:31
    but in fact you might have multiple thread blocks on an SM,
  • 0:31 - 0:36
    and by definition threads and different thread blocks should not attempt to cooperate with each other.
  • 0:36 - 0:39
    And that's why this statement is not the same as the one before it.
Title:
Thread and Blocks - Solution - Intro to Parallel Programming
Description:

more » « less
Video Language:
English
Team:
Udacity
Project:
CS344 - Intro to Parallel Programming
Duration:
0:41
Udacity Robot edited English subtitles for 03-17 Thread and Blocks - Solution
Udacity Robot edited English subtitles for 03-17 Thread and Blocks - Solution
Stacy Taylor approved English subtitles for 03-17 Thread and Blocks - Solution
Stacy Taylor edited English subtitles for 03-17 Thread and Blocks - Solution
Cogi-Admin added a translation

English subtitles

Revisions Compare revisions