Create a array in constant memory of template type

Is this a possible operation in cuda?

Not exactly… See the following link below for explanation.

[url]c++ - Defining templated constant variables in cuda - Stack Overflow