Merge 'gpu_hip_port' into master

This commit is contained in:
Vsevak
2020-01-28 20:09:40 +03:00
parent 5eef3b1828
commit 66c5fa2abd
91 changed files with 2290 additions and 312 deletions

View File

@ -13,23 +13,23 @@
// email : ndactrung@gmail.com
// ***************************************************************************/
#ifdef NV_KERNEL
#if defined(NV_KERNEL) || defined(USE_HIP)
#include "lal_tersoff_mod_extra.h"
#ifndef _DOUBLE_DOUBLE
texture<float4> pos_tex;
texture<float4> ts1_tex;
texture<float4> ts2_tex;
texture<float4> ts3_tex;
texture<float4> ts4_tex;
texture<float4> ts5_tex;
_texture( pos_tex,float4);
_texture( ts1_tex,float4);
_texture( ts2_tex,float4);
_texture( ts3_tex,float4);
_texture( ts4_tex,float4);
_texture( ts5_tex,float4);
#else
texture<int4,1> pos_tex;
texture<int4> ts1_tex;
texture<int4> ts2_tex;
texture<int4> ts3_tex;
texture<int4> ts4_tex;
texture<int4> ts5_tex;
_texture_2d( pos_tex,int4);
_texture( ts1_tex,int4);
_texture( ts2_tex,int4);
_texture( ts3_tex,int4);
_texture( ts4_tex,int4);
_texture( ts5_tex,int4);
#endif
#else