Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
ScalFMM
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
solverstack
ScalFMM
Commits
3c39fc84
Commit
3c39fc84
authored
Jan 12, 2016
by
BRAMAS Berenger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove comments
parent
843e6be0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
18 deletions
+2
-18
Src/Core/FFmmAlgorithmThreadProc.hpp
Src/Core/FFmmAlgorithmThreadProc.hpp
+2
-18
No files found.
Src/Core/FFmmAlgorithmThreadProc.hpp
View file @
3c39fc84
...
...
@@ -777,11 +777,6 @@ protected:
FAssertLF
(
sendBuffer
[
idxLevel
*
nbProcess
+
idxProc
]
->
getSize
()
==
toSendAtProcAtLevel
);
// FAssertLF(sendBuffer[idxLevel * nbProcess + idxProc]->getSize() < std::numeric_limits<int>::max());
// requests.emplace_back();
// FMpi::MpiAssert( MPI_Isend( sendBuffer[idxLevel * nbProcess + idxProc]->data(),
// int(sendBuffer[idxLevel * nbProcess + idxProc]->getSize()),MPI_PACKED, idxProc,
// FMpi::TagLast + idxLevel*100, comm.getComm(), &requests.back()) , __LINE__ );
FMpi
::
ISendSplit
(
sendBuffer
[
idxLevel
*
nbProcess
+
idxProc
]
->
data
(),
sendBuffer
[
idxLevel
*
nbProcess
+
idxProc
]
->
getSize
(),
idxProc
,
FMpi
::
TagLast
+
idxLevel
*
100
,
comm
,
&
requests
);
...
...
@@ -791,11 +786,6 @@ protected:
if
(
toReceiveFromProcAtLevel
){
recvBuffer
[
idxLevel
*
nbProcess
+
idxProc
]
=
new
FMpiBufferReader
(
comm
.
getComm
(),
int
(
toReceiveFromProcAtLevel
));
// FAssertLF(recvBuffer[idxLevel * nbProcess + idxProc]->getCapacity() < std::numeric_limits<int>::max());
// requests.emplace_back();
// FMpi::MpiAssert( MPI_Irecv(recvBuffer[idxLevel * nbProcess + idxProc]->data(),
// int(recvBuffer[idxLevel * nbProcess + idxProc]->getCapacity()), MPI_PACKED,idxProc,
// FMpi::TagLast + idxLevel*100, comm.getComm(), &requests.back()) , __LINE__ );
FMpi
::
IRecvSplit
(
recvBuffer
[
idxLevel
*
nbProcess
+
idxProc
]
->
data
(),
recvBuffer
[
idxLevel
*
nbProcess
+
idxProc
]
->
getCapacity
(),
idxProc
,
FMpi
::
TagLast
+
idxLevel
*
100
,
comm
,
&
requests
);
...
...
@@ -1337,10 +1327,7 @@ protected:
if
(
globalReceiveMap
[
idxProc
*
nbProcess
+
idProcess
]){
//if idxProc has sth for me.
//allocate buffer of right size
recvBuffer
[
idxProc
]
=
new
FMpiBufferReader
(
comm
.
getComm
(),
globalReceiveMap
[
idxProc
*
nbProcess
+
idProcess
]);
// FAssertLF(recvBuffer[idxProc]->getCapacity() < std::numeric_limits<int>::max());
// requests.emplace_back();
// FMpi::MpiAssert( MPI_Irecv(recvBuffer[idxProc]->data(), int(recvBuffer[idxProc]->getCapacity()), MPI_PACKED,
// idxProc, FMpi::TagFmmP2P, comm.getComm(), &requests.back()) , __LINE__ );
FMpi
::
IRecvSplit
(
recvBuffer
[
idxProc
]
->
data
(),
recvBuffer
[
idxProc
]
->
getCapacity
(),
idxProc
,
FMpi
::
TagFmmP2P
,
comm
,
&
requests
);
}
...
...
@@ -1359,10 +1346,7 @@ protected:
}
FAssertLF
(
sendBuffer
[
idxProc
]
->
getSize
()
==
globalReceiveMap
[
idProcess
*
nbProcess
+
idxProc
]);
// FAssertLF(sendBuffer[idxProc]->getSize() < std::numeric_limits<int>::max());
// requests.emplace_back();
// FMpi::MpiAssert( MPI_Isend( sendBuffer[idxProc]->data(), int(sendBuffer[idxProc]->getSize()) , MPI_PACKED ,
// idxProc, FMpi::TagFmmP2P, comm.getComm(), &requests.back()) , __LINE__ );
FMpi
::
ISendSplit
(
sendBuffer
[
idxProc
]
->
data
(),
sendBuffer
[
idxProc
]
->
getSize
(),
idxProc
,
FMpi
::
TagFmmP2P
,
comm
,
&
requests
);
...
...
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