Optimize GPU RK4 stage sync path
This commit is contained in:
@@ -22,8 +22,21 @@ int bssn_cuda_rk4_boundary_var(int *ex, double dT,
|
||||
int symmetry,
|
||||
int lev,
|
||||
int rk_stage,
|
||||
bool force_host_boundary_fix,
|
||||
bool download_to_host = true);
|
||||
|
||||
int bssn_cuda_rk4_boundary_batch(int *ex, double dT,
|
||||
const double *X, const double *Y, const double *Z,
|
||||
double xmin, double ymin, double zmin,
|
||||
double xmax, double ymax, double zmax,
|
||||
int symmetry,
|
||||
const double *const *state0_list,
|
||||
double *const *stage_data_list,
|
||||
double *const *rhs_accum_list,
|
||||
int num_var,
|
||||
int rk_stage,
|
||||
bool download_to_host = false);
|
||||
|
||||
int bssn_cuda_lowerbound(int *ex, double *chi, double tinny, bool download_to_host = true);
|
||||
int bssn_cuda_download_buffer(int *ex, double *host_ptr);
|
||||
void bssn_cuda_release_rk4_caches();
|
||||
|
||||
Reference in New Issue
Block a user