Feb2021 GPU Package Update - GPU Package Files
This commit is contained in:
@ -67,7 +67,7 @@ int eam_gpu_init(const int ntypes, double host_cutforcesq,
|
||||
init_ok=EAMMF.init(ntypes, host_cutforcesq, host_type2rhor, host_type2z2r,
|
||||
host_type2frho, host_rhor_spline, host_z2r_spline,
|
||||
host_frho_spline, rdr, rdrho, rhomax, nrhor, nrho, nz2r,
|
||||
nfrho, nr, nlocal, nall, 300, maxspecial, cell_size,
|
||||
nfrho, nr, nlocal, nall, max_nbors, maxspecial, cell_size,
|
||||
gpu_split, screen);
|
||||
|
||||
EAMMF.device->world_barrier();
|
||||
@ -87,7 +87,7 @@ int eam_gpu_init(const int ntypes, double host_cutforcesq,
|
||||
init_ok=EAMMF.init(ntypes, host_cutforcesq, host_type2rhor, host_type2z2r,
|
||||
host_type2frho, host_rhor_spline, host_z2r_spline,
|
||||
host_frho_spline, rdr, rdrho, rhomax, nrhor, nrho,
|
||||
nz2r, nfrho, nr, nlocal, nall, 300, maxspecial,
|
||||
nz2r, nfrho, nr, nlocal, nall, max_nbors, maxspecial,
|
||||
cell_size, gpu_split, screen);
|
||||
|
||||
EAMMF.device->gpu_barrier();
|
||||
@ -98,7 +98,7 @@ int eam_gpu_init(const int ntypes, double host_cutforcesq,
|
||||
fprintf(screen,"\n");
|
||||
|
||||
if (init_ok==0)
|
||||
EAMMF.estimate_gpu_overhead();
|
||||
EAMMF.estimate_gpu_overhead(1);
|
||||
return init_ok;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user