Sum of array in Halide

前端 未结 0 365
后悔当初
后悔当初 2021-01-13 03:31

I\'ve started learning Halide. Suppose I wanted to calculate the sum of elements in an array. Why is the following code snippet failing?

constexpr int N = 10;         


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