Skip to content

Commit

Permalink
Comment out old prefetch
Browse files Browse the repository at this point in the history
  • Loading branch information
markusbattarbee committed Mar 7, 2024
1 parent 3a14489 commit f3bc0e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions grid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -295,9 +295,9 @@ void initializeGrids(
for (size_t i=0; i<cells.size(); ++i) {
mpiGrid[cells[i]]->parameters[CellParams::LBWEIGHTCOUNTER] = 0;
#ifdef USE_GPU
SpatialCell* cell = mpiGrid[cells[i]];
cell->prefetchDevice(); // Currently projects still init on host
cell->gpu_advise();
// SpatialCell* cell = mpiGrid[cells[i]];
// cell->prefetchDevice();
// cell->gpu_advise();
#endif
}

Expand Down

0 comments on commit f3bc0e4

Please sign in to comment.