diff --git a/coreneuron/CMakeLists.txt b/coreneuron/CMakeLists.txt index e0ba45bb1..c9af89553 100644 --- a/coreneuron/CMakeLists.txt +++ b/coreneuron/CMakeLists.txt @@ -32,6 +32,8 @@ file( "utils/*/*.c" "utils/*/*.cpp") file(GLOB_RECURSE CORENEURON_CUDA_FILES "*.cu") +list(REMOVE_ITEM CORENEURON_CUDA_FILES "${CMAKE_CURRENT_SOURCE_DIR}/permute/cellorder.cu") +list(REMOVE_ITEM CORENEURON_CUDA_FILES "${CMAKE_CURRENT_SOURCE_DIR}/utils/profile/cuda_profile.cu") list(REMOVE_ITEM CORENEURON_CUDA_FILES "${CMAKE_CURRENT_SOURCE_DIR}/utils/randoms/nrnran123.cu") set(SCOPMATH_CODE_FILES "sim/scopmath/abort.cpp" "sim/scopmath/crout_thread.cpp" "sim/scopmath/newton_thread.cpp" diff --git a/coreneuron/utils/memory_utils.cpp b/coreneuron/utils/memory_utils.cpp index e066e1627..da0ef9455 100644 --- a/coreneuron/utils/memory_utils.cpp +++ b/coreneuron/utils/memory_utils.cpp @@ -108,7 +108,8 @@ void report_mem_usage(const char* message, bool all_ranks) { mem_avg); #ifdef CORENEURON_ENABLE_GPU if (corenrn_param.gpu) { - print_gpu_memory_usage(); + // TODO: temporary to avoid CUDA code usage with LLVM build + //print_gpu_memory_usage(); } #endif }