Skip to content

Commit

Permalink
Disable direct I/O on 16G mode
Browse files Browse the repository at this point in the history
  • Loading branch information
haorldbchi committed Sep 21, 2023
1 parent ab4d27c commit 14c4da0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cuda/CudaPlotter.cu
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,13 @@ void CudaK32Plotter::ParseCLI( const GlobalPlotConfig& gCfg, CliParser& cli )
#else
Log::Line( "Warning: 16G mode is experimental and still under development." );
Log::Line( " Please use the --check <n> parameter to validate plots when using this mode." );

if( cfg.temp1DirectIO || cfg.temp2DirectIO )
{
Log::Line( " Direct I/O not supported in 16G mode at the moment. Disabing it." );
cfg.temp1DirectIO = cfg.temp2DirectIO = false;
}

#endif
}
}
Expand Down

0 comments on commit 14c4da0

Please sign in to comment.