-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from uraimo/numthreads
Hack the number of threads for now
- Loading branch information
Showing
2 changed files
with
17 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
diff --git a/lib/BuildSystem/BuildSystemFrontend.cpp b/lib/BuildSystem/BuildSystemFrontend.cpp | ||
index 70740a5..25386c5 100644 | ||
--- a/lib/BuildSystem/BuildSystemFrontend.cpp | ||
+++ b/lib/BuildSystem/BuildSystemFrontend.cpp | ||
@@ -462,7 +462,10 @@ BuildSystemFrontendDelegate::createExecutionQueue() { | ||
numLanes = numCPUs; | ||
} | ||
} | ||
- | ||
+ | ||
+ numLanes = 1; | ||
+ printf("Setting number of lanes to 1!\n"); | ||
+ | ||
return std::unique_ptr<ExecutionQueue>( | ||
createLaneBasedExecutionQueue(impl->executionQueueDelegate, numLanes, | ||
impl->invocation.schedulerAlgorithm, |