I need to declare three LUT's in an OpenCL kernel, so:
What is the optimal way to declare a LUT in Intel OpenCL FPGA?
I have saw examples about this, but in the examples they used a switch/case
structure. I think the best way is declare an array for each LUT, as in the following example (example taken from: how to declare a constant array of float2 vectors?):
__constant float2 foo[2] = {1.0f, 0.0f};