Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce a System class in the core #4741

Merged
merged 6 commits into from
Jun 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ add_library(
dpd.cpp
energy.cpp
errorhandling.cpp
EspressoSystemInterface.cpp
forcecap.cpp
forces.cpp
ghosts.cpp
Expand All @@ -48,11 +47,12 @@ add_library(
rotate_system.cpp
rotation.cpp
Observable_stat.cpp
SystemInterface.cpp
thermostat.cpp
tuning.cpp
virtual_sites.cpp
exclusions.cpp
system/GpuParticleData.cpp
system/System.cpp
PartCfg.cpp
EspressoSystemStandAlone.cpp
TabulatedPotential.cpp)
Expand All @@ -61,13 +61,13 @@ set_target_properties(espresso_core PROPERTIES CXX_CLANG_TIDY
"${ESPRESSO_CXX_CLANG_TIDY}")

if(ESPRESSO_BUILD_WITH_CUDA)
target_sources(espresso_core PRIVATE cuda_init.cpp cuda_interface.cpp)
target_sources(espresso_core PRIVATE cuda/init.cpp)
espresso_add_gpu_library(
espresso_cuda SHARED cuda_common_cuda.cu cuda_init_cuda.cu
CudaHostAllocator.cu magnetostatics/barnes_hut_gpu_cuda.cu
espresso_cuda SHARED cuda/common_cuda.cu cuda/init_cuda.cu
cuda/CudaHostAllocator.cu magnetostatics/barnes_hut_gpu_cuda.cu
magnetostatics/dipolar_direct_sum_gpu_cuda.cu
electrostatics/mmm1d_gpu_cuda.cu electrostatics/p3m_gpu_cuda.cu
electrostatics/p3m_gpu_error_cuda.cu EspressoSystemInterface_cuda.cu)
electrostatics/p3m_gpu_error_cuda.cu system/GpuParticleData_cuda.cu)
add_library(espresso::cuda ALIAS espresso_cuda)
target_link_libraries(
espresso_cuda PRIVATE CUDA::cuda_driver CUDA::cudart CUDA::cufft
Expand Down
74 changes: 0 additions & 74 deletions src/core/CudaDeviceAllocator.hpp

This file was deleted.

61 changes: 0 additions & 61 deletions src/core/EspressoSystemInterface.cpp

This file was deleted.

157 changes: 0 additions & 157 deletions src/core/EspressoSystemInterface.hpp

This file was deleted.

Loading