Skip to content

Commit ea55c5c

Browse files
committed
Merge branch 'develop' of https://github.com/deepmodeling/abacus-develop into develop
2 parents cde47d3 + 5926001 commit ea55c5c

File tree

15 files changed

+705
-414
lines changed

15 files changed

+705
-414
lines changed

source/Makefile.Objects

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -582,6 +582,7 @@ OBJS_IO=input_conv.o\
582582
output_mat_sparse.o\
583583
ctrl_output_lcao.o\
584584
ctrl_output_fp.o\
585+
ctrl_output_pw.o\
585586
para_json.o\
586587
abacusjson.o\
587588
general_info.o\

source/source_base/module_device/device.h

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,6 @@
1111
namespace base_device
1212
{
1313

14-
// struct CPU;
15-
// struct GPU;
16-
17-
// enum AbacusDevice_t
18-
// {
19-
// UnKnown,
20-
// CpuDevice,
21-
// GpuDevice
22-
// };
23-
2414
template <typename Device>
2515
base_device::AbacusDevice_t get_device_type(const Device* dev);
2616

@@ -73,7 +63,6 @@ int get_node_rank_with_mpi_shared(const MPI_Comm mpi_comm = MPI_COMM_WORLD);
7363
int stringCmp(const void* a, const void* b);
7464

7565
#ifdef __CUDA
76-
7766
int set_device_by_rank(const MPI_Comm mpi_comm = MPI_COMM_WORLD);
7867
#endif
7968

@@ -122,4 +111,4 @@ static __inline__ __device__ double atomicAdd(double* address, double val)
122111
}
123112
#endif
124113

125-
#endif // MODULE_DEVICE_H_
114+
#endif // MODULE_DEVICE_H_

0 commit comments

Comments
 (0)