Skip to content
Snippets Groups Projects
Commit 23d4e080 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Fixed DistributedSpMV: added new tag parameter

parent d935dac0
No related branches found
No related tags found
1 merge request!10Periodic BC in distributed grid
...@@ -145,7 +145,7 @@ public: ...@@ -145,7 +145,7 @@ public:
commRequests.push_back( CommunicatorType::ISend( commRequests.push_back( CommunicatorType::ISend(
inVector.getLocalVectorView().getData(), inVector.getLocalVectorView().getData(),
inVector.getLocalVectorView().getSize(), inVector.getLocalVectorView().getSize(),
i, group ) ); i, 0, group ) );
// receive data that we need // receive data that we need
for( int j = 0; j < commPattern.getRows(); j++ ) for( int j = 0; j < commPattern.getRows(); j++ )
...@@ -153,7 +153,7 @@ public: ...@@ -153,7 +153,7 @@ public:
commRequests.push_back( CommunicatorType::IRecv( commRequests.push_back( CommunicatorType::IRecv(
&globalBuffer[ Partitioner::getOffset( globalBuffer.getSize(), j, nproc ) ], &globalBuffer[ Partitioner::getOffset( globalBuffer.getSize(), j, nproc ) ],
Partitioner::getSizeForRank( globalBuffer.getSize(), j, nproc ), Partitioner::getSizeForRank( globalBuffer.getSize(), j, nproc ),
j, group ) ); j, 0, group ) );
// general variant // general variant
if( localOnlySpan.first >= localOnlySpan.second ) { if( localOnlySpan.first >= localOnlySpan.second ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment