Commit b7bcaffe authored by iker_martin's avatar iker_martin
Browse files

More minor changes to simplify usage of the code

parent 43fff491
...@@ -406,9 +406,9 @@ int compute(Compute_data *computeData, struct Dist_data *dist_data, int sm) { ...@@ -406,9 +406,9 @@ int compute(Compute_data *computeData, struct Dist_data *dist_data, int sm) {
int state = MALL_NOT_STARTED; int state = MALL_NOT_STARTED;
int ended_loop = 1; int ended_loop = 1;
int cnt = 0; int cnt = 0;
int reconfigure = 0, rec_iter = 10; int reconfigure = 0, rec_iter = 500;
computeData->maxiter = 110; computeData->maxiter = 1000;
while ((computeData->iter < computeData->maxiter) && (computeData->tol > computeData->umbral)) { while ((computeData->iter < computeData->maxiter) && (computeData->tol > computeData->umbral)) {
......
...@@ -34,6 +34,8 @@ $(BIN) : $(BUILD_DIR)/$(BIN) ...@@ -34,6 +34,8 @@ $(BIN) : $(BUILD_DIR)/$(BIN)
# Actual target of the binary - depends on all .o files. # Actual target of the binary - depends on all .o files.
$(BUILD_DIR)/$(BIN) : $(OBJ) $(BUILD_DIR)/$(BIN) : $(OBJ)
$(MCC) $(C_FLAGS) $^ -o $@ $(LD_FLAGS) $(MCC) $(C_FLAGS) $^ -o $@ $(LD_FLAGS)
@ echo "dirCG=\"$$(pwd)/\"" > Exec/config.txt
@ mkdir -p Results
# $(MCC) $(C_FLAGS) $^ -o $@ $(LD_FLAGS) $(LIBMONO) # $(MCC) $(C_FLAGS) $^ -o $@ $(LD_FLAGS) $(LIBMONO)
# Include all .d files # Include all .d files
......
Supports Markdown
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