- Add PairPotential Abstract class - Add Lennard-Jones potential that should work with both CUDA and C++ code - Add tests on HOST side for LJ potential
15 lines
229 B
CMake
15 lines
229 B
CMake
project(${NAME}_cuda_lib CUDA CXX)
|
|
|
|
set(HEADER_FILES
|
|
pair_potentials.cuh
|
|
)
|
|
set(SOURCE_FILES
|
|
)
|
|
|
|
# The library contains header and source files.
|
|
add_library(${NAME}_cuda_lib INTERFACE
|
|
${SOURCE_FILES}
|
|
${HEADER_FILES}
|
|
)
|
|
|