use CUDA texture objects when supported