Add a kernel_config to calculate blocks and threads for launching kernels
Some checks failed
Build and Test / build-and-test (push) Failing after 5m3s

This commit is contained in:
Alex Selimov 2025-09-12 22:47:21 -04:00
parent 130b613a7c
commit 8ba5714648
Signed by: aselimov
GPG key ID: 3DDB9C3E023F1F31
5 changed files with 169 additions and 9 deletions

View file

@ -3,12 +3,14 @@ project(${NAME}_cuda_lib CUDA CXX)
set(HEADER_FILES
potentials/pair_potentials.cuh
forces.cuh
kernel_config.cuh
)
set(SOURCE_FILES
kernel_config.cu
)
# The library contains header and source files.
add_library(${NAME}_cuda_lib INTERFACE
add_library(${NAME}_cuda_lib STATIC
${SOURCE_FILES}
${HEADER_FILES}
)