Skip to content
Snippets Groups Projects
Commit 9a6a551e authored by Ben Cumming's avatar Ben Cumming Committed by Sam Yates
Browse files

Change default threading model from serial to cthread (#214)

Fixes #212.

* Update the main `CMakeLists.txt` file to select the cthread back end by default, and present the threading options in the order: cthread, tbb, serial.
parent 1db73767
No related branches found
No related tags found
No related merge requests found
......@@ -55,8 +55,8 @@ set(EXTERNAL_INCLUDES "")
#----------------------------------------------------------
# Threading model selection
#----------------------------------------------------------
set(NMC_THREADING_MODEL "serial" CACHE STRING "set the threading model, one of serial/tbb/cthread")
set_property(CACHE NMC_THREADING_MODEL PROPERTY STRINGS serial tbb cthread)
set(NMC_THREADING_MODEL "cthread" CACHE STRING "set the threading model, one of cthread/tbb/serial")
set_property(CACHE NMC_THREADING_MODEL PROPERTY STRINGS cthread tbb serial )
if(NMC_THREADING_MODEL MATCHES "tbb")
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment