OpenCL常量解析
http://itpx.eol.cn 来源: 作者:网络 2014-06-16 大 中 小
CL_DEVICE_MAX_WORK_ITEM_SIZES :线程分组的尺寸限制
CL_DEVICE_MAX_WORK_GROUP_SIZE:线程分组中所能包含的最大线程数
Thread blocks have maximum dimensions: CL_DEVICE_MAX_WORK_ITEM_SIZES,Think of laying out your threads in a grid, you can't have a row with more than 512 threads. You can't have a column with more than 512 threads. And you can't stack more than 64 threads high. Next, there is a maximum: CL_DEVICE_MAX_WORK_GROUP_SIZE number of threads, 512, that can be grouped together in a block. So your thread blocks dimensions could be:
免责声明:
① 凡本站注明“稿件来源:中国教育在线”的所有文字、图片和音视频稿件,版权均属本网所有,任何媒体、网站或个人未经本网协议授权不得转载、链接、转贴或以其他方式复制发表。已经本站协议授权的媒体、网站,在下载使用时必须注明“稿件来源:中国教育在线”,违者本站将依法追究责任。
② 本站注明稿件来源为其他媒体的文/图等稿件均为转载稿,本站转载出于非商业性的教育和科研之目的,并不意味着赞同其观点或证实其内容的真实性。如转载稿涉及版权等问题,请作者在两周内速来电或来函联系。