yys

Maya插件开发,(多多练习英文吧~)

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
grid, block, thread,
http://reference.wolfram.com/mathematica/CUDALink/tutorial/Programming.html


 

http://www.evl.uic.edu/aej/525/lecture05.html
For a one-dimensional block, the index of a thread and its thread ID are the same;

for a 2D block of size (Dx, Dy), the thread ID of the thread with index (x, y) is (x + y Dx);

for a 3D block of size (Dx, Dy, Dz), the thread ID of the thread with index (x, y, z) is (x + y Dx + z Dx Dy).

 

 

http://nvidia.e-works.net.cn/document/200906/article8337_2.htm

 

 

 

 

posted on 2011-07-26 19:12  yys  阅读(196)  评论(0编辑  收藏  举报