-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'omp_toggle_and_rm_unusedcode' into 'develop'
Remove now-unused threading support wrappers from draco; add an explicit toggle for OMP support See merge request draco/draco!192
- Loading branch information
Showing
8 changed files
with
34 additions
and
532 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
# author Kelly Thompson <[email protected]> | ||
# date 2012 Aug 1 | ||
# brief Save Draco configuration information for installation (cmake export) | ||
# note Copyright (C) 2012-2022 Triad National Security, LLC., All rights reserved. | ||
# note Copyright (C) 2012-2023 Triad National Security, LLC., All rights reserved. | ||
#--------------------------------------------------------------------------------------------------# | ||
list( APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}" ) | ||
get_filename_component( _SELF_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH ) | ||
|
@@ -51,8 +51,13 @@ set(Draco_MPIEXEC_NUMPROC_FLAG "@MPIEXEC_NUMPROC_FLAG@") | |
set(Draco_MPI_C_WORKS "@MPI_C_WORKS@") # Used to help CAFS setup on Win32 | ||
set(Draco_MPI_LANG_LIST "@Draco_MPI_LANG_LIST@") | ||
|
||
# GPU build information | ||
#--------------------------------------------------------------------------------------------------# | ||
# OpenMP toggle | ||
# This allows us to explicitly disable OpenMP support (may be needed for mixed toolchains) | ||
#--------------------------------------------------------------------------------------------------# | ||
set(USE_OPENMP "@USE_OPENMP@") | ||
|
||
# GPU build information | ||
option(HAVE_GPU "Should we build GPU (HIP or CUDA) parts of the project?" @HAVE_GPU@) | ||
set(USE_GPU "@USE_GPU@") | ||
set(GPU_DBS_STRING "@GPU_DBS_STRING@") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
# author Kelly Thompson <[email protected]> | ||
# date 2010 April 28 | ||
# brief Instructions for building ds++/test level Makefile. | ||
# note Copyright (C) 2010-2022 Triad National Security, LLC., All rights reserved. | ||
# note Copyright (C) 2010-2023 Triad National Security, LLC., All rights reserved. | ||
#--------------------------------------------------------------------------------------------------# | ||
project(dsxx_test CXX) | ||
|
||
|
@@ -35,13 +35,6 @@ list(REMOVE_ITEM test_sources ${PROJECT_SOURCE_DIR}/tstScalarUnitTest.cc) | |
# The remaining tests | ||
add_scalar_tests(SOURCES "${test_sources}" DEPS Lib_dsxx) | ||
|
||
# tstatomics will use 19 hw threads. Help ctest schedule this job by setting test properties. We | ||
# don't need to reserve 19 cores, but let's reserve 10 (assume 2 hw threads per physical core.) | ||
set_tests_properties( | ||
dsxx_tstatomics | ||
PROPERTIES | ||
PROCESSORS 10) | ||
|
||
# (2013-11-13 KT):: tstdbc intentionally divides by zero (to test the isinfinity function). PGI | ||
# issues a warning for this case that we don't care about. Since PGI does not appear to use pragmas | ||
# to suppress warnings, I am turning off warnings for Ut_dsxx_tstdbc_exe when the compiler is PGI. | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.