aboutsummaryrefslogtreecommitdiffstats
path: root/common/placer_math.c
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2019-01-25 14:04:19 +0000
committerDavid Shah <dave@ds0.me>2019-03-22 10:31:54 +0000
commitba1e05f16bd719d2e760e6860342a9a25324bb0d (patch)
tree98e32820f98756dccbefd4010ed445033db01228 /common/placer_math.c
parent3dedc6259396fd4960a9aa43e05f9011323fb7cd (diff)
downloadnextpnr-ba1e05f16bd719d2e760e6860342a9a25324bb0d.tar.gz
nextpnr-ba1e05f16bd719d2e760e6860342a9a25324bb0d.tar.bz2
nextpnr-ba1e05f16bd719d2e760e6860342a9a25324bb0d.zip
HeAP: Implement 'all+rotate' HeAP strategy
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'common/placer_math.c')
-rw-r--r--common/placer_math.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/placer_math.c b/common/placer_math.c
index 53b6190d..1aa74a9d 100644
--- a/common/placer_math.c
+++ b/common/placer_math.c
@@ -4,7 +4,7 @@
#include <assert.h>
void taucif_init_solver() {
- taucs_logfile("stdout");
+ //taucs_logfile("stdout");
}
struct taucif_system {
@@ -39,7 +39,7 @@ void taucif_finalise_matrix(struct taucif_system *sys) {
int taucif_solve_system(struct taucif_system *sys, double *x, double *rhs) {
// FIXME: preconditioner, droptol??
- taucs_ccs_matrix* precond_mat = taucs_ccs_factor_llt(sys->mat, 1e-3, 0);
+ taucs_ccs_matrix* precond_mat = taucs_ccs_factor_llt(sys->mat, 1e-2, 0);
if (precond_mat == NULL)
return -1;
// FIXME: itermax, convergetol