Thanks for the reply!
If you want to inline a constant array(that is really small), you can attempt to use select to dispatch each index to the value.
Do you mean putting all the values I wanna pass in the C API individually?
In my case, the array size would be around 100 so I think I have to go for the second. I’m fine if I have to make it a normal array. It was being computed inside the C function during the runtime, but later I found it can be computed during the compile time so I tried to bring it out and that’s the whole point I asked this.
What should I do here?