Skip to content

Commit

Permalink
starting conversion to simple parameter settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Brig Bagley committed Nov 11, 2015
1 parent b6893fa commit c83f12f
Show file tree
Hide file tree
Showing 9 changed files with 208 additions and 1,135 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
msvc
build
Debug
Release
Expand Down
49 changes: 11 additions & 38 deletions src/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -84,44 +84,17 @@ include_directories(
${METIS_PATH}/Lib
)

set(CORE_CUDA_SOURCES
"${CMAKE_CURRENT_SOURCE_DIR}/cuda/aggregator.cu"
"${CMAKE_CURRENT_SOURCE_DIR}/cuda/mis.cu"
"${CMAKE_CURRENT_SOURCE_DIR}/cuda/randMIS.cu"
"${CMAKE_CURRENT_SOURCE_DIR}/cuda/amg.cu"
"${CMAKE_CURRENT_SOURCE_DIR}/cuda/amg_config.cu"
"${CMAKE_CURRENT_SOURCE_DIR}/cuda/amg_level.cu"
"${CMAKE_CURRENT_SOURCE_DIR}/cuda/amg_signal.cu"
"${CMAKE_CURRENT_SOURCE_DIR}/cuda/cgcycle.cu"
"${CMAKE_CURRENT_SOURCE_DIR}/cuda/allocator.cu"
"${CMAKE_CURRENT_SOURCE_DIR}/cuda/ComputePermutationMethods.cu"
"${CMAKE_CURRENT_SOURCE_DIR}/cuda/cutil.cu"
"${CMAKE_CURRENT_SOURCE_DIR}/cuda/smoothedMG_amg_level.cu"
"${CMAKE_CURRENT_SOURCE_DIR}/cuda/smoother.cu"
"${CMAKE_CURRENT_SOURCE_DIR}/cuda/gauss_seidel.cu"
"${CMAKE_CURRENT_SOURCE_DIR}/cuda/FEM2D.cu"
"${CMAKE_CURRENT_SOURCE_DIR}/cuda/FEM3D.cu"
"${CMAKE_CURRENT_SOURCE_DIR}/cuda/tetmesh.cu"
"${CMAKE_CURRENT_SOURCE_DIR}/cuda/AggMIS_Types.cu"
"${CMAKE_CURRENT_SOURCE_DIR}/cuda/misHelpers.cu"
"${CMAKE_CURRENT_SOURCE_DIR}/cuda/randomizedMIS_GPU.cu"
"${CMAKE_CURRENT_SOURCE_DIR}/cuda/setup_solver.cu"
"${CMAKE_CURRENT_SOURCE_DIR}/cuda/cuda_resources.cu"
"${CMAKE_CURRENT_SOURCE_DIR}/aggmis/cuda/AggMIS_Aggregation_CPU.cu"
"${CMAKE_CURRENT_SOURCE_DIR}/aggmis/cuda/AggMIS_Aggregation_GPU.cu"
"${CMAKE_CURRENT_SOURCE_DIR}/aggmis/cuda/AggMIS_GraphHelpers.cu"
"${CMAKE_CURRENT_SOURCE_DIR}/aggmis/cuda/AggMIS_IOHelpers.cu"
"${CMAKE_CURRENT_SOURCE_DIR}/aggmis/cuda/AggMIS_MergeSplitConditioner_CPU.cu"
"${CMAKE_CURRENT_SOURCE_DIR}/aggmis/cuda/AggMIS_MergeSplitConditioner.cu"
"${CMAKE_CURRENT_SOURCE_DIR}/aggmis/cuda/AggMIS_MIS_CPU.cu"
"${CMAKE_CURRENT_SOURCE_DIR}/aggmis/cuda/AggMIS_MIS_GPU.cu"
"${CMAKE_CURRENT_SOURCE_DIR}/aggmis/cuda/TriMesh_connectivity.cu"
"${CMAKE_CURRENT_SOURCE_DIR}/aggmis/cuda/TriMesh_io.cu"
)

set(CORE_CUDA_HEADERS
"${CMAKE_CURRENT_SOURCE_DIR}/cuda/perform_element_loop_3D.cuh"
)
FILE(GLOB CORE_CUDA_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/cuda/*.cu
${CMAKE_CURRENT_SOURCE_DIR}/aggmis/cuda/*.cu)

FILE(GLOB CORE_CUDA_HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/include/*.h
${CMAKE_CURRENT_SOURCE_DIR}/include/smoothers/*.h
${CMAKE_CURRENT_SOURCE_DIR}/include/smoothedMG/*.h
${CMAKE_CURRENT_SOURCE_DIR}/include/smoothedMG/aggregators/*.h
${CMAKE_CURRENT_SOURCE_DIR}/include/FEM/*.h
${CMAKE_CURRENT_SOURCE_DIR}/include/cycles/*.h
${CMAKE_CURRENT_SOURCE_DIR}/aggmis/include/*.h
${CMAKE_CURRENT_SOURCE_DIR}/cuda/perform_element_loop_3D.cuh)

CUDA_ADD_LIBRARY(FEM_CORE STATIC ${CORE_CUDA_SOURCES} ${CORE_CUDA_HEADERS})
ADD_DEPENDENCIES(FEM_CORE metis)
Expand Down
Loading

0 comments on commit c83f12f

Please sign in to comment.