Fix lal_charmm.cu to support HIP compilation
This commit is contained in:
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user