Skip to content

Commit

Permalink
address the atomicAdd error (#4234)
Browse files Browse the repository at this point in the history
  • Loading branch information
denghuilu authored May 25, 2024
1 parent 25584b0 commit 30df1c8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
#include <functional>
#include "module_cell/unitcell.h"
#include "module_hamilt_pw/hamilt_pwdft/global.h"
#include <module_base/module_device/device.h>


#define sA(i, j) sA[(j)*slda + (i)]
#define sB(i, j) sB[(j)*sldb + (i)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include <thrust/complex.h>
#include <cuda_runtime.h>
#include <base/macros/macros.h>
#include <module_base/module_device/device.h>

#define THREADS_PER_BLOCK 256

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include <complex>
#include <thrust/complex.h>
#include <base/macros/macros.h>
#include <module_base/module_device/device.h>

#include <cuda_runtime.h>

Expand Down

0 comments on commit 30df1c8

Please sign in to comment.