Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Iker Martín Álvarez
Malleable_CG
Commits
b7bcaffe
Commit
b7bcaffe
authored
Nov 28, 2023
by
iker_martin
Browse files
More minor changes to simplify usage of the code
parent
43fff491
Changes
2
Show whitespace changes
Inline
Side-by-side
Main/ConjugateGradient.c
View file @
b7bcaffe
...
...
@@ -406,9 +406,9 @@ int compute(Compute_data *computeData, struct Dist_data *dist_data, int sm) {
int
state
=
MALL_NOT_STARTED
;
int
ended_loop
=
1
;
int
cnt
=
0
;
int
reconfigure
=
0
,
rec_iter
=
1
0
;
int
reconfigure
=
0
,
rec_iter
=
50
0
;
computeData
->
maxiter
=
1
1
0
;
computeData
->
maxiter
=
1
00
0
;
while
((
computeData
->
iter
<
computeData
->
maxiter
)
&&
(
computeData
->
tol
>
computeData
->
umbral
))
{
...
...
Makefile
View file @
b7bcaffe
...
...
@@ -34,6 +34,8 @@ $(BIN) : $(BUILD_DIR)/$(BIN)
# Actual target of the binary - depends on all .o files.
$(BUILD_DIR)/$(BIN)
:
$(OBJ)
$(MCC)
$(C_FLAGS)
$^
-o
$@
$(LD_FLAGS)
@
echo
"dirCG=
\"
$
$(pwd)
/
\"
"
>
Exec/config.txt
@
mkdir
-p
Results
# $(MCC) $(C_FLAGS) $^ -o $@ $(LD_FLAGS) $(LIBMONO)
# Include all .d files
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment