int6.h
/*DEVICE_BUILTIN*/
struct int6
{
int x, y, z, r, s, t;
};
typedef struct int6 int6;
static __inline__ __host__ __device__ int6 make_int6(int x, int y, int z, int r, int s, int t)
{
int6 tt;
tt.x = x; tt.y = y; tt.z = z; tt.r = r; tt.s = s; tt.t = t; return tt;
}
/*DEVICE_BUILTIN*/这一句注释导致该头文件在cu文件中包含时编译错误,难道nvidia把/*DEVICE_BUILTIN*/当关键字了?