Skip to content
Snippets Groups Projects
Commit dafce4df authored by Anna Wellmann's avatar Anna Wellmann
Browse files

Fix bug by adding cudaDeviceSynchronize()

The scaling coarse to fine for bulk nodes should not overlap with the collision kernel for boder nodes on the fine level .
parent 5317ce8c
No related branches found
No related tags found
1 merge request!104Add Communication Hiding to GPU version
......@@ -81,6 +81,7 @@ void UpdateGrid27::refinementAndExchange_streams(int level)
coarseToFineWithStream(para.get(), level, para->getParD(level)->intCFBorder.ICellCFC,
para->getParD(level)->intCFBorder.ICellCFF, para->getParD(level)->intCFBorder.kCF, para->getParD(level)->offCF,
borderStreamIndex);
cudaDeviceSynchronize();
}
void UpdateGrid27::refinementAndExchange_noStreams_onlyExchangeInterface(int level)
......
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