Fix lal_charmm.cu to support HIP compilation

This commit is contained in:
Richard Berger
2021-02-23 09:51:27 -05:00
parent ce4dc4e2c6
commit d44af3256d

View File

@ -13,15 +13,14 @@
// email : brownw@ornl.gov
// ***************************************************************************/
#ifdef NV_KERNEL
#if defined(NV_KERNEL) || defined(USE_HIP)
#include "lal_aux_fun1.h"
#ifndef _DOUBLE_DOUBLE
texture<float4> pos_tex;
texture<float> q_tex;
_texture(pos_tex, float4);
_texture(q_tex, float);
#else
texture<int4,1> pos_tex;
texture<int2> q_tex;
_texture_2d(pos_tex, int4);
_texture(q_tex, int2);
#endif
#else