diff --git a/source/lib/src/cuda/coord.cu b/source/lib/src/cuda/coord.cu index 982e603f42..76d1d08ca9 100644 --- a/source/lib/src/cuda/coord.cu +++ b/source/lib/src/cuda/coord.cu @@ -1,5 +1,4 @@ #include "device.h" -#include "gpu_cuda.h" #include "coord.h" #include "region.cuh" diff --git a/source/lib/src/cuda/neighbor_list.cu b/source/lib/src/cuda/neighbor_list.cu index 430c869f4e..100fcd6aca 100644 --- a/source/lib/src/cuda/neighbor_list.cu +++ b/source/lib/src/cuda/neighbor_list.cu @@ -1,5 +1,4 @@ #include "device.h" -#include "gpu_cuda.h" #include "neighbor_list.h" #include diff --git a/source/lib/src/cuda/prod_env_mat.cu b/source/lib/src/cuda/prod_env_mat.cu index ce9bd82638..0832b0c814 100644 --- a/source/lib/src/cuda/prod_env_mat.cu +++ b/source/lib/src/cuda/prod_env_mat.cu @@ -1,4 +1,4 @@ -#include "gpu_cuda.h" +#include "device.h" #include "fmt_nlist.h" #include "prod_env_mat.h" #include diff --git a/source/lib/src/cuda/prod_force.cu b/source/lib/src/cuda/prod_force.cu index 124f6c806d..0c8625ee66 100644 --- a/source/lib/src/cuda/prod_force.cu +++ b/source/lib/src/cuda/prod_force.cu @@ -1,5 +1,4 @@ #include "device.h" -#include "gpu_cuda.h" #include "prod_force.h" template < diff --git a/source/lib/src/cuda/prod_force_grad.cu b/source/lib/src/cuda/prod_force_grad.cu index 11af70c245..b852f039d9 100644 --- a/source/lib/src/cuda/prod_force_grad.cu +++ b/source/lib/src/cuda/prod_force_grad.cu @@ -1,5 +1,4 @@ #include "device.h" -#include "gpu_cuda.h" #include "prod_force_grad.h" template diff --git a/source/lib/src/cuda/prod_virial.cu b/source/lib/src/cuda/prod_virial.cu index 06d1cefa42..8761dd93e3 100644 --- a/source/lib/src/cuda/prod_virial.cu +++ b/source/lib/src/cuda/prod_virial.cu @@ -1,5 +1,4 @@ #include "device.h" -#include "gpu_cuda.h" #include "prod_virial.h" template < diff --git a/source/lib/src/cuda/prod_virial_grad.cu b/source/lib/src/cuda/prod_virial_grad.cu index 0b9affa948..91d06b7fd0 100644 --- a/source/lib/src/cuda/prod_virial_grad.cu +++ b/source/lib/src/cuda/prod_virial_grad.cu @@ -1,5 +1,4 @@ #include "device.h" -#include "gpu_cuda.h" #include "prod_virial_grad.h" template diff --git a/source/lib/src/cuda/region.cu b/source/lib/src/cuda/region.cu index 99e203cfcc..74a60a07e9 100644 --- a/source/lib/src/cuda/region.cu +++ b/source/lib/src/cuda/region.cu @@ -1,5 +1,4 @@ #include "device.h" -#include "gpu_cuda.h" #include "region.h" #include "region.cuh" diff --git a/source/lib/src/cuda/tabulate.cu b/source/lib/src/cuda/tabulate.cu index d501474bc3..a45fc2b7e1 100644 --- a/source/lib/src/cuda/tabulate.cu +++ b/source/lib/src/cuda/tabulate.cu @@ -1,5 +1,5 @@ +#include "device.h" #include "tabulate.h" -#include "gpu_cuda.h" #define MM 4 #define KK 4 diff --git a/source/lib/src/rocm/coord.hip.cu b/source/lib/src/rocm/coord.hip.cu index 1d01e1da30..73d85d2111 100644 --- a/source/lib/src/rocm/coord.hip.cu +++ b/source/lib/src/rocm/coord.hip.cu @@ -1,6 +1,4 @@ -#include "hip/hip_runtime.h" #include "device.h" -#include "gpu_rocm.h" #include "coord.h" #include "region.cuh" diff --git a/source/lib/src/rocm/gelu.hip.cu b/source/lib/src/rocm/gelu.hip.cu index 9cabb53c08..bdfd3767d6 100644 --- a/source/lib/src/rocm/gelu.hip.cu +++ b/source/lib/src/rocm/gelu.hip.cu @@ -1,4 +1,3 @@ -#include "hip/hip_runtime.h" #include "gelu.h" #include "device.h" diff --git a/source/lib/src/rocm/neighbor_list.hip.cu b/source/lib/src/rocm/neighbor_list.hip.cu index f1c3bc01e2..795bdd59d3 100644 --- a/source/lib/src/rocm/neighbor_list.hip.cu +++ b/source/lib/src/rocm/neighbor_list.hip.cu @@ -1,4 +1,3 @@ -#include "hip/hip_runtime.h" #include "device.h" #include "neighbor_list.h" diff --git a/source/lib/src/rocm/prod_env_mat.hip.cu b/source/lib/src/rocm/prod_env_mat.hip.cu index f3cd3bf31a..b724fe7619 100644 --- a/source/lib/src/rocm/prod_env_mat.hip.cu +++ b/source/lib/src/rocm/prod_env_mat.hip.cu @@ -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 diff --git a/source/lib/src/rocm/prod_force.hip.cu b/source/lib/src/rocm/prod_force.hip.cu index 815fed44c5..258c92ec44 100644 --- a/source/lib/src/rocm/prod_force.hip.cu +++ b/source/lib/src/rocm/prod_force.hip.cu @@ -1,7 +1,5 @@ -#include "hip/hip_runtime.h" #include "device.h" #include "prod_force.h" -#include "rocprim/rocprim.hpp" template < typename FPTYPE, diff --git a/source/lib/src/rocm/prod_force_grad.hip.cu b/source/lib/src/rocm/prod_force_grad.hip.cu index f7af9a1746..6a78a1dc1d 100644 --- a/source/lib/src/rocm/prod_force_grad.hip.cu +++ b/source/lib/src/rocm/prod_force_grad.hip.cu @@ -1,4 +1,3 @@ -#include "hip/hip_runtime.h" #include "device.h" #include "prod_force_grad.h" diff --git a/source/lib/src/rocm/prod_virial.hip.cu b/source/lib/src/rocm/prod_virial.hip.cu index 9c4ec5010b..04e04c242f 100644 --- a/source/lib/src/rocm/prod_virial.hip.cu +++ b/source/lib/src/rocm/prod_virial.hip.cu @@ -1,7 +1,5 @@ -#include "hip/hip_runtime.h" #include "device.h" #include "prod_virial.h" -#include "rocprim/rocprim.hpp" template < typename FPTYPE, diff --git a/source/lib/src/rocm/prod_virial_grad.hip.cu b/source/lib/src/rocm/prod_virial_grad.hip.cu index 4c729453f7..88310b5e10 100644 --- a/source/lib/src/rocm/prod_virial_grad.hip.cu +++ b/source/lib/src/rocm/prod_virial_grad.hip.cu @@ -1,4 +1,3 @@ -#include "hip/hip_runtime.h" #include "device.h" #include "prod_virial_grad.h" diff --git a/source/lib/src/rocm/region.hip.cu b/source/lib/src/rocm/region.hip.cu index ab40f6bf20..f803f1293c 100644 --- a/source/lib/src/rocm/region.hip.cu +++ b/source/lib/src/rocm/region.hip.cu @@ -1,4 +1,3 @@ -#include "hip/hip_runtime.h" #include "device.h" #include "region.h" #include "region.cuh" diff --git a/source/lib/src/rocm/tabulate.hip.cu b/source/lib/src/rocm/tabulate.hip.cu index 4492daeb73..8321f1354b 100644 --- a/source/lib/src/rocm/tabulate.hip.cu +++ b/source/lib/src/rocm/tabulate.hip.cu @@ -1,7 +1,4 @@ -#include "hip/hip_runtime.h" #include "tabulate.h" -#include -#include #include "device.h" #define MM 4