Hello C++ AMP!(2)
摘要:矩阵运算也许对于大多数程序员并不重要,所以下面来个更通俗版本的AMP: 1 #include <iostream> 2 #include <amp.h> 3 4 int main() 5 { 6 int nickName[6]{'a', 96, 'd', 'r', 'j', 'x'}; 7 concurrency::array_view<int> myView(6, nickName); 8 concurrency::parallel_for_each(myView.extent
阅读全文
posted @ 2012-03-05 22:20