Skip to content

Commit

Permalink
AMREX_USE_CUDA -> AMREX_USE_GPU
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale committed Jan 5, 2024
1 parent 3700590 commit 5dcde69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integration/BackwardEuler/actual_integrator.H
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ void actual_integrator (BurnT& state, const Real dt)
state.success = false;
}

#ifndef AMREX_USE_CUDA
#ifndef AMREX_USE_GPU
if (burner_verbose) {
// Print out some integration statistics, if desired.
std::cout << "integration summary: " << std::endl;
Expand All @@ -112,7 +112,7 @@ void actual_integrator (BurnT& state, const Real dt)
// If we failed, print out the current state of the integration.

if (!state.success) {
#ifndef AMREX_USE_CUDA
#ifndef AMREX_USE_GPU
std::cout << Font::Bold << FGColor::Red << "[ERROR] integration failed in net" << ResetDisplay << std::endl;
std::cout << "istate = " << istate << std::endl;
std::cout << "zone = (" << state.i << ", " << state.j << ", " << state.k << ")" << std::endl;
Expand Down

0 comments on commit 5dcde69

Please sign in to comment.