Only add exploration info if required.
Fine-tune formatting & simplify code.
CUDA: use textureReference and surfaceReference.

... since they do net rely on templates.
Cleanup & compiler warnings.