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.

https://stackoverflow.com/questions/18079795/defining-templated-constant-variables-in-cuda/18080653#18080653