tile_static, tile_barrier, and tiled matrix multiplication with C++ AMP
Posted by: The Moth,
on 12 Sep 2011 |
View original | Bookmarked: 0 time(s)
We ended the previous post with a mechanical transformation of the C++ AMP matrix multiplication example to the tiled model and in the process introduced tiled_index and tiled_grid. This is part 2. tile_static memory You all know that in regular CPU code, static variables have the same value regardless of which thread accesses the static variable. This is in contrast with non-static local variables, where each thread has its own copy. Back to C++ AMP, the same rules apply and each thread has its...