Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
calcul_intensif_nicolas_fley
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nicolas Fley
calcul_intensif_nicolas_fley
Commits
725dc7e5
Commit
725dc7e5
authored
8 years ago
by
Nicolas Fley
Browse files
Options
Downloads
Patches
Plain Diff
Dispatching matrix size optimised again
parent
28249166
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
prod_mat_vec/bin/Debug/prod_mat_vec.exe
+0
-0
0 additions, 0 deletions
prod_mat_vec/bin/Debug/prod_mat_vec.exe
prod_mat_vec/main.c
+4
-10
4 additions, 10 deletions
prod_mat_vec/main.c
prod_mat_vec/obj/Debug/main.o
+0
-0
0 additions, 0 deletions
prod_mat_vec/obj/Debug/main.o
with
4 additions
and
10 deletions
prod_mat_vec/bin/Debug/prod_mat_vec.exe
+
0
−
0
View file @
725dc7e5
No preview for this file type
This diff is collapsed.
Click to expand it.
prod_mat_vec/main.c
+
4
−
10
View file @
725dc7e5
...
...
@@ -80,16 +80,10 @@ int main (int argc, char *argv[]) {
}
/* Define the size of the problem */
h_base
=
(
size_prob
/
size
)
+
1
;
// h_base is the default height given to all the processus except the last one
if
(
size_prob
%
size
==
0
){
h_prob
=
size_prob
/
size
;
// h_prob is the processus' problem height
h_base
=
h_prob
;
}
else
{
h_prob
=
(
size_prob
/
size
);
if
(
rank
<
size_prob
%
h_
base
-
1
){
if
(
rank
<
size_prob
%
h_
prob
)
h_prob
+=
1
;
}
}
w_prob
=
size_prob
;
// w_prob is not dependent of the number of processus.
if
(
DEBUG
)
printf
(
"height %d : %d
\n
"
,
rank
,
h_prob
);
...
...
This diff is collapsed.
Click to expand it.
prod_mat_vec/obj/Debug/main.o
+
0
−
0
View file @
725dc7e5
No preview for this file type
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment