how to use cooperative_group to sync a grid in cuda?

前端 未结 0 1815
误落风尘
误落风尘 2020-12-03 15:45

I want to sync all threads in grid by cooperative_groups::this_grid().sync(), but It seems the code behind this sentence cannot be executed.

For example, I wrote a pi

相关标签:
回答
  • 消灭零回复
提交回复
热议问题