Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
cc4s
Cyclops Tensor Framework
Commits
a63eef02
Commit
a63eef02
authored
9 years ago
by
Edgar Solomonik
Browse files
Options
Download
Email Patches
Plain Diff
lda of topo dimensions must be inversly ordered for some reason...
parent
2774613f
master
dryrun
feature/cray
v1.35
v1.34
v1.33
v1.32
v1.31
v1.30
v1.23
v1.22
v1.21
v1.20
v1.5.5
v1.5.4
v1.5.3
v1.5.2
v1.5.1
v1.5.0
v1.4.2
v1.4.1
v1.4.0
v1.3.5
v1.3.4
v1.3.3
v1.3.2
v1.3.1
v1.3.0
v1.2.3
v1.2.2
v1.2.1
v1.2.0
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
src/mapping/topology.cxx
src/mapping/topology.cxx
+5
-1
src/shared/util.h
src/shared/util.h
+1
-1
src/tensor/untyped_tensor.cxx
src/tensor/untyped_tensor.cxx
+2
-2
No files found.
src/mapping/topology.cxx
View file @
a63eef02
...
...
@@ -52,7 +52,11 @@ namespace CTF_int {
dim_comm
=
(
CommData
*
)
CTF_int
::
alloc
(
order_
*
sizeof
(
CommData
));
is_activated
=
false
;
memcpy
(
lens
,
lens_
,
order_
*
sizeof
(
int
));
// memcpy(lens, lens_, order_*sizeof(int));
//reverse FIXME: this is assumed somewhere...
for
(
int
i
=
0
;
i
<
order
;
i
++
){
lens
[
i
]
=
lens_
[
order
-
i
-
1
];
}
int
stride
=
1
,
cut
=
0
;
int
rank
=
glb_comm
.
rank
;
...
...
This diff is collapsed.
Click to expand it.
src/shared/util.h
View file @
a63eef02
...
...
@@ -27,7 +27,7 @@ namespace CTF_int {
/* Force redistributions always by setting to 1 */
#define REDIST 0
//#define VERIFY 0
#define VERIFY_REMAP
0
#define VERIFY_REMAP
1
#define FOLD_TSR 1
#define PERFORM_DESYM 1
#define ALLOW_NVIRT 1024
...
...
This diff is collapsed.
Click to expand it.
src/tensor/untyped_tensor.cxx
View file @
a63eef02
...
...
@@ -915,7 +915,7 @@ namespace CTF_int {
}
if
(
idx
[
i
]
==
prl
.
idx
[
j
]){
map
->
type
=
PHYSICAL_MAP
;
map
->
np
=
prl
.
part
.
lens
[
j
]
;
map
->
np
=
top
.
dim_comm
[
j
].
np
;
map
->
cdt
=
j
;
}
}
...
...
@@ -928,7 +928,7 @@ namespace CTF_int {
}
if
(
idx
[
i
]
==
blk
.
idx
[
j
]){
map
->
type
=
VIRTUAL_MAP
;
map
->
np
=
blk
.
part
.
lens
[
j
]
;
map
->
np
=
top
.
dim_comm
[
j
].
np
;
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
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