Unify CUDA and OpenCL lookup-table creation
In CUDA code, textures are used for the lookup-tables, whereas in OpenCL they are created as a read-only buffers. This commit hides these differences behind a unified wrapper.
Refs #3318 (closed) Refs #3311 (closed)
Edited by Artem Zhmurov