Skip to content

Commit

Permalink
Move assignCUDAStreams() call inside of buildTree()
Browse files Browse the repository at this point in the history
  • Loading branch information
spencerw committed Dec 9, 2024
1 parent bbbcb65 commit 05f65e2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions ParallelGravity.ci
Original file line number Diff line number Diff line change
Expand Up @@ -546,11 +546,7 @@ const CkCallback& cb);
entry void collectStatistics(const CkCallback &cb);

// jetley
#ifdef CUDA
<<<<<<< HEAD
entry void calculateNumActiveGasParticles(int bAll, int iActiveRung, const CkCallback& cb);
=======
>>>>>>> 7dec4c5b (CUDA streams assigned to TreePieces after tree build)
entry void assignCUDAStream(intptr_t stream);
entry void continueStartRemoteChunk(int chunk, intptr_t d_remoteMoments, intptr_t d_remoteParts);
entry void fillGPUBuffer(intptr_t bufLocalParts,
Expand Down
4 changes: 0 additions & 4 deletions ParallelGravity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2104,10 +2104,6 @@ void Main::advanceBigStep(int iStep) {
dMProxy.clearRegisteredPieces(CkCallbackResumeThread());
buildTree(activeRung);

#ifdef CUDA
dMProxy.assignCUDAStreams(CkCallbackResumeThread());
#endif

CkCallback cbGravity(CkCallback::resumeThread);

#ifdef COOLING_MOLECULARH
Expand Down

0 comments on commit 05f65e2

Please sign in to comment.