Static const array in Cuda kernel

前端 未结 0 537
误落风尘
误落风尘 2020-11-29 23:31

I need to have the following in the Cuda kernel:

static const float PREDEFINED_CONSTS[16] = {...}; // 16 floating point constants.

float c = PREDEFINED_CONST         


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