Add workaround to compile with HIP, new neighbor code still needs to be ported

This commit is contained in:
Richard Berger
2021-02-23 11:28:05 -05:00
parent 2a0b7a26c0
commit 70ca055113

View File

@ -8,6 +8,9 @@
#ifndef HIP_DEVICE #ifndef HIP_DEVICE
#define HIP_DEVICE #define HIP_DEVICE
// workaround after GPU package Feb2021 update
// todo: make new neighbor code work with HIP
#define LAL_USE_OLD_NEIGHBOR
#include <hip/hip_runtime.h> #include <hip/hip_runtime.h>
#include <unordered_map> #include <unordered_map>