forked from lijiext/lammps
make inclusion guard defines consistent with LAMMPS and avoid redefinition of MAX()
This commit is contained in:
parent
9fade740fb
commit
6369ab230e
src/KOKKOS
|
@ -13,13 +13,14 @@
|
||||||
|
|
||||||
#include "kokkos_type.h"
|
#include "kokkos_type.h"
|
||||||
|
|
||||||
|
#ifndef MAX
|
||||||
#define MAX(A,B) ((A) > (B) ? (A) : (B))
|
#define MAX(A,B) ((A) > (B) ? (A) : (B))
|
||||||
|
#endif
|
||||||
|
|
||||||
// data types for 2d/3d FFTs
|
// data types for 2d/3d FFTs
|
||||||
|
|
||||||
#ifndef FFT_DATA_KOKKOS_H
|
#ifndef LMP_FFT_DATA_KOKKOS_H
|
||||||
#define FFT_DATA_KOKKOS_H
|
#define LMP_FFT_DATA_KOKKOS_H
|
||||||
|
|
||||||
// User-settable FFT precision
|
// User-settable FFT precision
|
||||||
|
|
||||||
|
|
|
@ -11,8 +11,8 @@
|
||||||
See the README file in the top-level LAMMPS directory.
|
See the README file in the top-level LAMMPS directory.
|
||||||
------------------------------------------------------------------------- */
|
------------------------------------------------------------------------- */
|
||||||
|
|
||||||
#ifndef KOKKOS_BASE_FFT_H
|
#ifndef LMP_KOKKOS_BASE_FFT_H
|
||||||
#define KOKKOS_BASE_FFT_H
|
#define LMP_KOKKOS_BASE_FFT_H
|
||||||
|
|
||||||
#include "fftdata_kokkos.h"
|
#include "fftdata_kokkos.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue