Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions source/Makefile.Objects
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,7 @@ OBJS_IO=input_conv.o\
output_mat_sparse.o\
ctrl_output_lcao.o\
ctrl_output_fp.o\
ctrl_output_pw.o\
para_json.o\
abacusjson.o\
general_info.o\
Expand Down
13 changes: 1 addition & 12 deletions source/source_base/module_device/device.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,6 @@
namespace base_device
{

// struct CPU;
// struct GPU;

// enum AbacusDevice_t
// {
// UnKnown,
// CpuDevice,
// GpuDevice
// };

template <typename Device>
base_device::AbacusDevice_t get_device_type(const Device* dev);

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

#ifdef __CUDA

int set_device_by_rank(const MPI_Comm mpi_comm = MPI_COMM_WORLD);
#endif

Expand Down Expand Up @@ -122,4 +111,4 @@ static __inline__ __device__ double atomicAdd(double* address, double val)
}
#endif

#endif // MODULE_DEVICE_H_
#endif // MODULE_DEVICE_H_
Loading
Loading