__local int3* pd;改成__local int3 pd[nSize];试试?还有建议你尽量少在kernel里用if,你可以试试async_work_group_copy()
602
社区成员
575
社区内容
加载中
试试用AI创作助手写篇文章吧