From e0ddb73239c73c6de42a01204194173ce65ebff4 Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Wed, 16 Jan 2013 14:46:17 -0500 Subject: LoopControl: Rewrite Rewrite code in C++. Remove dependency on GSL. Modify algorithm; now traverses arrays bottom-up (by splitting the looping region into equal-sized blocks) instead of top-down (splitting the region into a certain number of blocks) Make multi-threading dynamic Support SMT (hyper-threading), i.e. threads which share the same cache --- Carpet/LoopControl/src/lc_hill.h | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 Carpet/LoopControl/src/lc_hill.h (limited to 'Carpet/LoopControl/src/lc_hill.h') diff --git a/Carpet/LoopControl/src/lc_hill.h b/Carpet/LoopControl/src/lc_hill.h deleted file mode 100644 index 7d418314b..000000000 --- a/Carpet/LoopControl/src/lc_hill.h +++ /dev/null @@ -1,38 +0,0 @@ -#ifndef LC_HILL_H -#define LC_HILL_H - -#include - -#include "loopcontrol.h" - - - -/* no typedef here; forward declcared in loopcontrol.h */ -struct lc_hill_state_t { - int iteration; - - lc_state_t best; - double best_time; - int have_best; - - int excursion_start; /* -1 if not on an excursion */ - - lc_state_t previous; - double previous_time; - int have_previous; - - lc_state_t state; - double time; -}; - - - -void -lc_hill_init (lc_statset_t * restrict const ls, - lc_state_t * restrict const state); - -void -lc_hill_finish (lc_statset_t * restrict const ls, - lc_stattime_t const * restrict const lt); - -#endif /* #ifndef LC_HILL_H */ -- cgit v1.2.3