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