|
32 | 32 | "utils/*/*.c" |
33 | 33 | "utils/*/*.cpp") |
34 | 34 | file(GLOB_RECURSE CORENEURON_CUDA_FILES "*.cu") |
| 35 | +list(REMOVE_ITEM CORENEURON_CUDA_FILES "${CMAKE_CURRENT_SOURCE_DIR}/utils/randoms/nrnran123.cu") |
35 | 36 | set(SCOPMATH_CODE_FILES |
36 | 37 | "sim/scopmath/abort.cpp" "sim/scopmath/crout_thread.cpp" "sim/scopmath/newton_thread.cpp" |
37 | 38 | "sim/scopmath/sparse_thread.cpp" "sim/scopmath/ssimplic_thread.cpp") |
@@ -129,16 +130,16 @@ if(CORENRN_ENABLE_GPU) |
129 | 130 | # CMake <v3.20 does not pass explicit -x <lang> options based on the LANGUAGE property |
130 | 131 | # (https://cmake.org/cmake/help/latest/policy/CMP0119.html), so using a single .cu file and |
131 | 132 | # setting LANGUAGE=CXX in non-GPU builds does not work. |
132 | | - list(REMOVE_ITEM CORENEURON_CODE_FILES "${CMAKE_CURRENT_SOURCE_DIR}/utils/randoms/nrnran123.cpp") |
| 133 | + #list(REMOVE_ITEM CORENEURON_CODE_FILES "${CMAKE_CURRENT_SOURCE_DIR}/utils/randoms/nrnran123.cpp") |
133 | 134 | list(APPEND CORENEURON_CODE_FILES ${CORENEURON_CUDA_FILES}) |
134 | 135 |
|
135 | 136 | # Eigen-3.5+ provides better GPU support. However, some functions cannot be called directly from |
136 | 137 | # within an OpenACC region. Therefore, we need to wrap them in a special API (decorate them with |
137 | 138 | # __device__ & acc routine tokens), which allows us to eventually call them from OpenACC. Calling |
138 | 139 | # these functions from CUDA kernels presents no issue ... |
139 | | - if(CORENRN_ENABLE_NMODL AND EXISTS ${CORENRN_MOD2CPP_INCLUDE}/partial_piv_lu/partial_piv_lu.cu) |
140 | | - list(APPEND CORENEURON_CODE_FILES ${CORENRN_MOD2CPP_INCLUDE}/partial_piv_lu/partial_piv_lu.cu) |
141 | | - endif() |
| 140 | + # if(CORENRN_ENABLE_NMODL AND EXISTS ${CORENRN_MOD2CPP_INCLUDE}/partial_piv_lu/partial_piv_lu.cu) |
| 141 | + # list(APPEND CORENEURON_CODE_FILES ${CORENRN_MOD2CPP_INCLUDE}/partial_piv_lu/partial_piv_lu.cu) |
| 142 | + # endif() |
142 | 143 | endif() |
143 | 144 |
|
144 | 145 | # ============================================================================= |
|
0 commit comments