chiark
/
gitweb
/
~ianmdlvl
/
matchsticks-search.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2177fb8
)
pass weight array to workers (fix semantic conflict between horizontal weight elimina...
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 9 Mar 2014 02:09:35 +0000
(
02:09
+0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 9 Mar 2014 02:09:35 +0000
(
02:09
+0000)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index 87cb8d70fe7eb0508567511492cd0dc063b4f67c..b02e98cbda4beae56f0592e10997bc7ef854ed6e 100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-158,7
+158,7
@@
static Worker *mc_us;
static void multicore_check_for_new_best(void);
-#define MAX_NIOVS
3
+#define MAX_NIOVS
4
static AdjWord mc_iter_min;
static int mc_niovs;
static size_t mc_iovlen;
@@
-179,6
+179,7
@@
static void mc_rwvsetup_outer(void) {
IOV(maxhamweight, 1);
IOV(mc_iter_min, 1);
IOV(*adjmatrix, multicore_iteration_boundary);
+ IOV(*weight, m);
}
static void mc_rwvsetup_full(void) {