Updating all code to use full neighbor lists for all host forces
computations. Changed the load balancing scheme. Added timing estimates for GPU and driver overhead, cpu idle time.
This commit is contained in:
@ -99,6 +99,7 @@ bool crml_gpu_init(const int ntypes, double cut_bothsq, double **host_lj1,
|
||||
}
|
||||
if (message)
|
||||
fprintf(screen,"\n");
|
||||
CRMLMF.estimate_gpu_overhead();
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -106,15 +107,17 @@ void crml_gpu_clear() {
|
||||
CRMLMF.clear();
|
||||
}
|
||||
|
||||
int * crml_gpu_compute_n(const int ago, const int inum_full,
|
||||
int** crml_gpu_compute_n(const int ago, const int inum_full,
|
||||
const int nall, double **host_x, int *host_type,
|
||||
double *boxlo, double *boxhi, int *tag, int **nspecial,
|
||||
int **special, const bool eflag, const bool vflag,
|
||||
const bool eatom, const bool vatom, int &host_start,
|
||||
const double cpu_time, bool &success, double *host_q) {
|
||||
int **ilist, int **jnum, const double cpu_time,
|
||||
bool &success, double *host_q) {
|
||||
return CRMLMF.compute(ago, inum_full, nall, host_x, host_type, boxlo,
|
||||
boxhi, tag, nspecial, special, eflag, vflag, eatom,
|
||||
vatom, host_start, cpu_time, success, host_q);
|
||||
vatom, host_start, ilist, jnum, cpu_time, success,
|
||||
host_q);
|
||||
}
|
||||
|
||||
void crml_gpu_compute(const int ago, const int inum_full,
|
||||
|
||||
Reference in New Issue
Block a user