use CUDA texture objects when supported
authorSzilard Pall <pszilard@cbr.su.se>
Wed, 18 Sep 2013 19:59:36 +0000 (21:59 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Mon, 14 Oct 2013 15:00:06 +0000 (17:00 +0200)
commit43b41cb8cead1a67339e29ae0775dae2c23d0d3e
treeae259d3b70ee056059c2dfb4b6271acc8b9a2f76
parentb608083a6f73474bbc02b486c3792947128d8cff
use CUDA texture objects when supported

CUDA texture objects are more efficient than texture references, their
use reduces the kernel launch overhead by up to 20%. The kernel
performance is not affected.

Change-Id: Ifa7c148eb2eea8e33ed0b2f1d8ef092d59ba768e
src/mdlib/nbnxn_cuda/nbnxn_cuda.cu
src/mdlib/nbnxn_cuda/nbnxn_cuda_data_mgmt.cu
src/mdlib/nbnxn_cuda/nbnxn_cuda_kernel.cuh
src/mdlib/nbnxn_cuda/nbnxn_cuda_kernel_legacy.cuh
src/mdlib/nbnxn_cuda/nbnxn_cuda_kernel_utils.cuh
src/mdlib/nbnxn_cuda/nbnxn_cuda_types.h