single precision FFTs are now supported on the CPU

This commit is contained in:
Axel Kohlmeyer
2023-01-24 22:54:47 -05:00
parent 8786819993
commit 6c63d7dcb9
3 changed files with 7 additions and 5 deletions

View File

@ -527,11 +527,6 @@ foreach(PKG_WITH_INCL KSPACE PYTHON ML-IAP VORONOI COLVARS ML-HDNNP MDI MOLFILE
endif()
endforeach()
# AMOEBA is not compatible with single precision FFTs
if(PKG_AMOEBA AND FFT_SINGLE)
message(FATAL_ERROR "Package AMOEBA is not compatible with single precision FFTs")
endif()
# optionally enable building script wrappers using swig
option(WITH_SWIG "Build scripting language wrappers with SWIG" OFF)
if(WITH_SWIG)

View File

@ -31,6 +31,10 @@ endif()
option(GPU_DEBUG "Enable debugging code of the GPU package" OFF)
mark_as_advanced(GPU_DEBUG)
if(PKG_AMOEBA AND FFT_SINGLE)
message(FATAL_ERROR "GPU acceleration of AMOEBA is not (yet) compatible with single precision FFT")
endif()
file(GLOB GPU_LIB_SOURCES ${CONFIGURE_DEPENDS} ${LAMMPS_LIB_SOURCE_DIR}/gpu/[^.]*.cpp)
file(MAKE_DIRECTORY ${LAMMPS_LIB_BINARY_DIR}/gpu)

View File

@ -206,6 +206,9 @@ These pair styles can only be used via the *pair* keyword of the
when compiling the GPU package for OpenCL has a few known issues
when running on integrated GPUs and the calculation may crash.
The GPU accelerated pair styles are also not (yet) compatible
with single precision FFTs.
----------
Restrictions