Preface: Today may be a relatively bad day, from the first phone in the morning, to the afternoon some of the things, some Xu lost. Sometimes really want to work and life completely separate, but who can really split so open, Mashikamu! A lot of times want to give life some definition, add some comments. But life is inherently a code that doesn't need to be annotated. Explain with 0来? Or is it an explanation? 0, the beginning of Heaven and earth, 1, the source of all things. Who can say clearly, is first 0, or first 1, they are the same body ... If you want to get it done, you should be able to afford it and put it down. Sigh of life at the same time, the journey of life will not stop ... Under the hands of so many soldiers, are still waiting!
Text: Book on the Last--"CUDA Threading Execution Model analysis (a) recruiting------GPU revolution, after a few days of conscription, soldiers also recruit almost five thousand or six thousand people, five thousand or six thousand people, is five thousand or six thousand mouth, have to eat." What does this have to do with our CUDA memory model? Perhaps a lot of people have taken part in military training, know the army inside eat? By the time of the meal, all the training teams were pulled to the front of the cafeteria. First arrived on the advanced to eat, after the outside to pull the song, waiting for the next wave, here we do not explain how to arrange for each meal. Let's start by saying that every brother in grid needs those guys to eat. Let's take a look at the webmaster map:
Here we have a block of soldiers (16 people) at dinner, everyone has a pair of chopsticks (registers), a bowl (local memory), everyone common a table (block inside the shared memory). Remember military training that year, in Xuanhua, Hebei, eight people a table, rob the table to eat, the scene. Training a day, each is Shiri, mouth inside bite, chopsticks inside clamp, bowl inside Sheng, research also looked at the table of the Fish bones (fish early into the belly inside)-! At that time to see who's Chopsticks folder more, the bowl is more loaded. But again, chopsticks are so long, the bowl is so big ~ Let's take a look at block again:
As shown in figure:
...... No need to comment ...