Skip to content

Commit 85b1951

Browse files
committed
update GPU results
1 parent 07f6759 commit 85b1951

File tree

7 files changed

+32
-26
lines changed

7 files changed

+32
-26
lines changed

source/module_esolver/esolver_ks_pw.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,12 @@ void ESolver_KS_PW<T, Device>::before_all_runners(UnitCell& ucell, const Input_p
138138
{
139139
// 1) call before_all_runners() of ESolver_KS
140140
ESolver_KS<T, Device>::before_all_runners(ucell, inp);
141+
#if defined(__CUDA) || defined(__ROCM)
142+
if (PARAM.inp.device == "gpu")
143+
{
144+
this->pw_wfc->get_ig2ixyz_k();
145+
}
146+
#endif
141147

142148
// 3) initialize ElecState,
143149
if (this->pelec == nullptr)
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
etotref -4869.74705201
2-
etotperatomref -2434.87352600
3-
totalforceref 5.19483200
4-
totalstressref 37241.45338000
1+
etotref -4869.7470518350019120
2+
etotperatomref -2434.8735259175
3+
totalforceref 5.207670
4+
totalstressref 37241.465646
55
pointgroupref C_1
66
spacegroupref C_1
77
nksibzref 8
8-
totaltimeref +1.32321
8+
totaltimeref 4.25
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
etotref -4869.74705201
2-
etotperatomref -2434.87352600
3-
totalforceref 5.19483200
4-
totalstressref 37241.45338000
1+
etotref -4869.7470519303351466
2+
etotperatomref -2434.8735259652
3+
totalforceref 5.195370
4+
totalstressref 37242.031490
55
pointgroupref C_1
66
spacegroupref C_1
77
nksibzref 8
8-
totaltimeref +1.32321
8+
totaltimeref 4.13
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
etotref -4869.74705201
2-
etotperatomref -2434.87352600
3-
totalforceref 5.19483200
4-
totalstressref 37241.45338000
1+
etotref -4869.7470518365098542
2+
etotperatomref -2434.8735259183
3+
totalforceref 5.200640
4+
totalstressref 37241.467259
55
pointgroupref C_1
66
spacegroupref C_1
77
nksibzref 8
8-
totaltimeref +1.32321
8+
totaltimeref 4.79
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
etotref -228.9492279657028
2-
etotperatomref -114.4746139829
1+
etotref -228.9492273621296
2+
etotperatomref -114.4746136811
33
totalforceref 0.510260
4-
totalstressref 42801.474893
5-
totaltimeref 7.82
4+
totalstressref 42801.475682
5+
totaltimeref 5.50
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
etotref -105.2612355454176907
1+
etotref -105.2612355454177191
22
etotperatomref -52.6306177727
33
totalforceref 197.906706
44
totalstressref 254537.682905
5-
totaltimeref 20.82
5+
totaltimeref 11.36
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
etotref -96.9361115889958853
2-
etotperatomref -48.4680557945
3-
totalforceref 248.975546
4-
totalstressref 230454.805813
5-
totaltimeref 5.17
1+
etotref -96.9361114247635811
2+
etotperatomref -48.4680557124
3+
totalforceref 248.974900
4+
totalstressref 230455.686659
5+
totaltimeref 3.58

0 commit comments

Comments
 (0)