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
Some checks failed
Build and Test / build-and-test (push) Failing after 5m3s
This commit is contained in:
parent
130b613a7c
commit
8ba5714648
5 changed files with 169 additions and 9 deletions
|
@ -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}
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue