Rewrite the force calculations to fix memory issues

This commit is contained in:
Alex Selimov 2025-09-10 22:47:54 -04:00
parent 2d948a7e76
commit ac44ceaab1
Signed by: aselimov
GPG key ID: 3DDB9C3E023F1F31
4 changed files with 79 additions and 64 deletions

View file

@ -5,11 +5,10 @@ set(HEADER_FILES
forces.cuh
)
set(SOURCE_FILES
forces.cu
)
# The library contains header and source files.
add_library(${NAME}_cuda_lib STATIC
add_library(${NAME}_cuda_lib INTERFACE
${SOURCE_FILES}
${HEADER_FILES}
)