Cannot declare a shared memory variable within a global function

后端 未结 0 893
礼貌的吻别
礼貌的吻别 2020-12-21 02:16

I added the following statement to a global function:

shared float temp[BLOCK_SIZE + MASK_WIDTH-1];

the compiler says this line has 3 errors:<

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