Restore default GPU BH interpolation
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user