With v2.1 __constant memory still seems to be nothing else but __global memory. Will __constant memory be cached with future releases or should one use texture access instead of __constant memory access?
I have added the __attribute__((max_constant_size (16384))) hint to my __constant buffer as stated in section 4.5 of the programming guide, but this did not result in any perfomance improvement.
Is this attribute already supported in v2.1 or will I have to wait for the next release?
What do you mean when you say "if the indexes are known at compile time"? what is index here and can you help me know it with an example?