Commit ebc3aed
dyzheng
Refactor: format and less parameters for nonlocal fs kernels
1 parent 2afbee4 commit ebc3aed
File tree
11 files changed
+128
-199
lines changed- source/module_hamilt_pw/hamilt_pwdft
- kernels
- cuda
- rocm
- test
11 files changed
+128
-199
lines changedLines changed: 27 additions & 35 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
441 | 439 | | |
442 | 440 | | |
443 | 441 | | |
| |||
447 | 445 | | |
448 | 446 | | |
449 | 447 | | |
450 | | - | |
451 | | - | |
452 | 448 | | |
453 | 449 | | |
454 | 450 | | |
455 | 451 | | |
456 | 452 | | |
457 | | - | |
458 | | - | |
| 453 | + | |
| 454 | + | |
459 | 455 | | |
460 | 456 | | |
461 | 457 | | |
| |||
668 | 664 | | |
669 | 665 | | |
670 | 666 | | |
671 | | - | |
672 | 667 | | |
673 | 668 | | |
674 | 669 | | |
675 | 670 | | |
676 | 671 | | |
677 | 672 | | |
678 | 673 | | |
679 | | - | |
680 | 674 | | |
681 | 675 | | |
682 | 676 | | |
683 | 677 | | |
684 | | - | |
685 | | - | |
| 678 | + | |
| 679 | + | |
686 | 680 | | |
687 | 681 | | |
688 | 682 | | |
| |||
693 | 687 | | |
694 | 688 | | |
695 | 689 | | |
696 | | - | |
697 | 690 | | |
698 | 691 | | |
699 | 692 | | |
700 | 693 | | |
701 | 694 | | |
702 | 695 | | |
703 | | - | |
704 | 696 | | |
705 | 697 | | |
706 | 698 | | |
707 | 699 | | |
708 | | - | |
709 | | - | |
| 700 | + | |
| 701 | + | |
710 | 702 | | |
711 | 703 | | |
712 | 704 | | |
| |||
Lines changed: 17 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | 38 | | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
46 | | - | |
47 | 45 | | |
48 | 46 | | |
49 | 47 | | |
| |||
65 | 63 | | |
66 | 64 | | |
67 | 65 | | |
68 | | - | |
69 | | - | |
70 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
71 | 69 | | |
72 | | - | |
| 70 | + | |
73 | 71 | | |
74 | 72 | | |
75 | 73 | | |
| |||
85 | 83 | | |
86 | 84 | | |
87 | 85 | | |
88 | | - | |
89 | | - | |
| 86 | + | |
| 87 | + | |
90 | 88 | | |
91 | 89 | | |
92 | 90 | | |
| |||
101 | 99 | | |
102 | 100 | | |
103 | 101 | | |
104 | | - | |
| 102 | + | |
105 | 103 | | |
106 | 104 | | |
107 | 105 | | |
| |||
134 | 132 | | |
135 | 133 | | |
136 | 134 | | |
137 | | - | |
138 | 135 | | |
139 | 136 | | |
140 | 137 | | |
141 | 138 | | |
142 | 139 | | |
143 | 140 | | |
144 | 141 | | |
145 | | - | |
146 | 142 | | |
147 | 143 | | |
148 | 144 | | |
| |||
157 | 153 | | |
158 | 154 | | |
159 | 155 | | |
160 | | - | |
| 156 | + | |
161 | 157 | | |
162 | | - | |
| 158 | + | |
163 | 159 | | |
164 | 160 | | |
165 | 161 | | |
| |||
172 | 168 | | |
173 | 169 | | |
174 | 170 | | |
175 | | - | |
176 | 171 | | |
177 | 172 | | |
178 | 173 | | |
179 | 174 | | |
180 | 175 | | |
181 | 176 | | |
182 | | - | |
183 | 177 | | |
184 | 178 | | |
185 | 179 | | |
| |||
202 | 196 | | |
203 | 197 | | |
204 | 198 | | |
205 | | - | |
206 | | - | |
207 | | - | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
208 | 202 | | |
209 | | - | |
| 203 | + | |
210 | 204 | | |
211 | | - | |
| 205 | + | |
212 | 206 | | |
213 | 207 | | |
214 | 208 | | |
| |||
231 | 225 | | |
232 | 226 | | |
233 | 227 | | |
234 | | - | |
| 228 | + | |
235 | 229 | | |
236 | 230 | | |
237 | 231 | | |
238 | 232 | | |
239 | 233 | | |
240 | 234 | | |
241 | 235 | | |
242 | | - | |
243 | 236 | | |
244 | 237 | | |
245 | 238 | | |
246 | 239 | | |
247 | 240 | | |
248 | 241 | | |
249 | | - | |
250 | 242 | | |
251 | 243 | | |
252 | 244 | | |
| |||
260 | 252 | | |
261 | 253 | | |
262 | 254 | | |
263 | | - | |
| 255 | + | |
264 | 256 | | |
265 | | - | |
| 257 | + | |
266 | 258 | | |
267 | 259 | | |
268 | 260 | | |
| |||
Lines changed: 17 additions & 26 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
111 | | - | |
112 | 110 | | |
113 | 111 | | |
114 | 112 | | |
| |||
125 | 123 | | |
126 | 124 | | |
127 | 125 | | |
128 | | - | |
| 126 | + | |
| 127 | + | |
129 | 128 | | |
130 | 129 | | |
131 | 130 | | |
132 | 131 | | |
133 | 132 | | |
134 | | - | |
135 | | - | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
136 | 137 | | |
137 | 138 | | |
138 | | - | |
139 | | - | |
| 139 | + | |
| 140 | + | |
140 | 141 | | |
141 | 142 | | |
142 | 143 | | |
143 | | - | |
| 144 | + | |
144 | 145 | | |
145 | 146 | | |
146 | 147 | | |
| |||
149 | 150 | | |
150 | 151 | | |
151 | 152 | | |
152 | | - | |
| 153 | + | |
153 | 154 | | |
154 | 155 | | |
155 | 156 | | |
| |||
204 | 205 | | |
205 | 206 | | |
206 | 207 | | |
207 | | - | |
208 | | - | |
209 | 208 | | |
210 | 209 | | |
211 | 210 | | |
| |||
226 | 225 | | |
227 | 226 | | |
228 | 227 | | |
229 | | - | |
230 | | - | |
231 | 228 | | |
232 | 229 | | |
233 | 230 | | |
| |||
250 | 247 | | |
251 | 248 | | |
252 | 249 | | |
253 | | - | |
254 | | - | |
255 | 250 | | |
256 | 251 | | |
257 | 252 | | |
| |||
277 | 272 | | |
278 | 273 | | |
279 | 274 | | |
280 | | - | |
281 | | - | |
282 | | - | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
283 | 278 | | |
284 | 279 | | |
285 | | - | |
286 | | - | |
287 | | - | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
288 | 283 | | |
289 | 284 | | |
290 | 285 | | |
| |||
300 | 295 | | |
301 | 296 | | |
302 | 297 | | |
303 | | - | |
| 298 | + | |
304 | 299 | | |
305 | 300 | | |
306 | 301 | | |
| |||
316 | 311 | | |
317 | 312 | | |
318 | 313 | | |
319 | | - | |
320 | | - | |
321 | 314 | | |
322 | 315 | | |
323 | 316 | | |
| |||
336 | 329 | | |
337 | 330 | | |
338 | 331 | | |
339 | | - | |
340 | | - | |
341 | 332 | | |
342 | 333 | | |
343 | 334 | | |
| |||
0 commit comments