Skip to content

Commit

Permalink
clean up the unused including files of device source files
Browse files Browse the repository at this point in the history
  • Loading branch information
denghuilu committed Aug 26, 2021
1 parent ed20998 commit 592425f
Show file tree
Hide file tree
Showing 19 changed files with 2 additions and 27 deletions.
1 change: 0 additions & 1 deletion source/lib/src/cuda/coord.cu
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "device.h"
#include "gpu_cuda.h"
#include "coord.h"
#include "region.cuh"

Expand Down
1 change: 0 additions & 1 deletion source/lib/src/cuda/neighbor_list.cu
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "device.h"
#include "gpu_cuda.h"
#include "neighbor_list.h"

#include <cub/block/block_scan.cuh>
Expand Down
2 changes: 1 addition & 1 deletion source/lib/src/cuda/prod_env_mat.cu
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "gpu_cuda.h"
#include "device.h"
#include "fmt_nlist.h"
#include "prod_env_mat.h"
#include <cub/block/block_load.cuh>
Expand Down
1 change: 0 additions & 1 deletion source/lib/src/cuda/prod_force.cu
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "device.h"
#include "gpu_cuda.h"
#include "prod_force.h"

template <
Expand Down
1 change: 0 additions & 1 deletion source/lib/src/cuda/prod_force_grad.cu
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "device.h"
#include "gpu_cuda.h"
#include "prod_force_grad.h"

template<typename FPTYPE>
Expand Down
1 change: 0 additions & 1 deletion source/lib/src/cuda/prod_virial.cu
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "device.h"
#include "gpu_cuda.h"
#include "prod_virial.h"

template <
Expand Down
1 change: 0 additions & 1 deletion source/lib/src/cuda/prod_virial_grad.cu
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "device.h"
#include "gpu_cuda.h"
#include "prod_virial_grad.h"

template<typename FPTYPE>
Expand Down
1 change: 0 additions & 1 deletion source/lib/src/cuda/region.cu
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "device.h"
#include "gpu_cuda.h"
#include "region.h"
#include "region.cuh"

Expand Down
2 changes: 1 addition & 1 deletion source/lib/src/cuda/tabulate.cu
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "device.h"
#include "tabulate.h"
#include "gpu_cuda.h"

#define MM 4
#define KK 4
Expand Down
2 changes: 0 additions & 2 deletions source/lib/src/rocm/coord.hip.cu
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#include "hip/hip_runtime.h"
#include "device.h"
#include "gpu_rocm.h"
#include "coord.h"
#include "region.cuh"

Expand Down
1 change: 0 additions & 1 deletion source/lib/src/rocm/gelu.hip.cu
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#include "hip/hip_runtime.h"
#include "gelu.h"
#include "device.h"

Expand Down
1 change: 0 additions & 1 deletion source/lib/src/rocm/neighbor_list.hip.cu
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#include "hip/hip_runtime.h"
#include "device.h"
#include "neighbor_list.h"

Expand Down
4 changes: 0 additions & 4 deletions source/lib/src/rocm/prod_env_mat.hip.cu
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
#include "hip/hip_runtime.h"
#include "gpu_rocm.h"
#include "fmt_nlist.h"
#include "prod_env_mat.h"
#include "device.h"
#include "prod_env_mat.h"
#include "rocprim/rocprim.hpp"
#include "hipcub/hipcub.hpp"

// common part of prod_env_mat
Expand Down
2 changes: 0 additions & 2 deletions source/lib/src/rocm/prod_force.hip.cu
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#include "hip/hip_runtime.h"
#include "device.h"
#include "prod_force.h"
#include "rocprim/rocprim.hpp"

template <
typename FPTYPE,
Expand Down
1 change: 0 additions & 1 deletion source/lib/src/rocm/prod_force_grad.hip.cu
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#include "hip/hip_runtime.h"
#include "device.h"
#include "prod_force_grad.h"

Expand Down
2 changes: 0 additions & 2 deletions source/lib/src/rocm/prod_virial.hip.cu
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#include "hip/hip_runtime.h"
#include "device.h"
#include "prod_virial.h"
#include "rocprim/rocprim.hpp"

template <
typename FPTYPE,
Expand Down
1 change: 0 additions & 1 deletion source/lib/src/rocm/prod_virial_grad.hip.cu
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#include "hip/hip_runtime.h"
#include "device.h"
#include "prod_virial_grad.h"

Expand Down
1 change: 0 additions & 1 deletion source/lib/src/rocm/region.hip.cu
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#include "hip/hip_runtime.h"
#include "device.h"
#include "region.h"
#include "region.cuh"
Expand Down
3 changes: 0 additions & 3 deletions source/lib/src/rocm/tabulate.hip.cu
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
#include "hip/hip_runtime.h"
#include "tabulate.h"
#include<hip/hip_runtime.h>
#include<rocprim/rocprim.hpp>
#include "device.h"

#define MM 4
Expand Down

0 comments on commit 592425f

Please sign in to comment.