"int64_t" is defined in stdint.h; must use "long" in OpenCL kernels instead

This commit is contained in:
Axel Kohlmeyer
2021-08-26 22:46:08 -04:00
parent 42a3a7d10f
commit bbb3f35aa3
5 changed files with 18 additions and 6 deletions

View File

@ -136,7 +136,7 @@ typedef int tagint;
#define OCL_INT_TYPE "-DLAMMPS_SMALLBIG"
#endif
#ifdef LAMMPS_BIGBIG
#include "inttypes.h"
#include "stdint.h"
typedef int64_t tagint;
#define OCL_INT_TYPE "-DLAMMPS_BIGBIG"
#endif