Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tnl-dev
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor 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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
TNL
tnl-dev
Commits
ee2c74d6
There was an error fetching the commit references. Please try again later.
Commit
ee2c74d6
authored
5 years ago
by
Jakub Klinkovský
Browse files
Options
Downloads
Patches
Plain Diff
Implemented Alltoall method for NoDistrCommunicator
parent
8f7ded23
No related branches found
No related tags found
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/TNL/Communicators/NoDistrCommunicator.h
+5
-1
5 additions, 1 deletion
src/TNL/Communicators/NoDistrCommunicator.h
with
5 additions
and
1 deletion
src/TNL/Communicators/NoDistrCommunicator.h
+
5
−
1
View file @
ee2c74d6
...
...
@@ -133,6 +133,8 @@ class NoDistrCommunicator
int
receiveCount
,
CommunicationGroup
group
)
{
TNL_ASSERT_EQ
(
sendCount
,
receiveCount
,
"sendCount must be equal to receiveCount for NoDistrCommunicator."
);
memcpy
(
(
void
*
)
receiveData
,
(
const
void
*
)
sendData
,
sendCount
*
sizeof
(
T
)
);
}
static
void
CreateNewGroup
(
bool
meToo
,
int
myRank
,
CommunicationGroup
&
oldGroup
,
CommunicationGroup
&
newGroup
)
...
...
@@ -140,7 +142,9 @@ class NoDistrCommunicator
newGroup
=
oldGroup
;
}
static
void
writeProlog
(
Logger
&
logger
){};
static
void
writeProlog
(
Logger
&
logger
)
{
}
};
}
// namespace Communicators
...
...
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