English subtitles

← A Quiz on Coalescing Memory Access - Intro to Parallel Programming

Get Embed Code
2 Languages

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

  1. Okay, let's have a quick quiz. So, which of these statements has a coalesced access pattern?
  2. Here's a simple kernel foo--it takes a pointer to global memory g.
  3. And as a shortcut, I'm going to define a as 3.14 and i as thread index dot x.
  4. So now, each of these statements either reads or writes g or both.
  5. And I'd like you to tell me, in each case,
  6. whether the accesses to g follow a coalesced access pattern.