Restore default GPU BH interpolation

This commit is contained in:
2026-05-17 12:05:09 +08:00
parent c7a48ebe7e
commit a0b43bae04
2 changed files with 2 additions and 2 deletions

View File

@@ -194,7 +194,7 @@ bool bssn_escalar_cuda_bh_interp_resident_enabled()
if (enabled < 0)
{
const char *env = getenv("AMSS_CUDA_BH_INTERP_RESIDENT");
enabled = env ? ((atoi(env) != 0) ? 1 : 0) : 0;
enabled = env ? ((atoi(env) != 0) ? 1 : 0) : 1;
}
return enabled != 0;
}

View File

@@ -1058,7 +1058,7 @@ bool bssn_cuda_bh_interp_resident_enabled()
if (env)
enabled = (atoi(env) != 0) ? 1 : 0;
else
enabled = 0;
enabled = 1;
}
return enabled != 0;
}