Fixed CPU build and added compile dependency

This commit is contained in:
Pietro Bonfa 2019-02-21 16:35:56 +01:00
parent a7a629e667
commit 3d4aa29853
2 changed files with 3 additions and 1 deletions

View File

@ -51,8 +51,9 @@ MODULE mp_exx
INTEGER, ALLOCATABLE :: all_start(:) ! starting band inded for the inner loop
INTEGER, ALLOCATABLE :: all_end(:) ! ending band index used in the inner loop
INTEGER, ALLOCATABLE :: iexx_istart_d(:)
#if defined(__CUDA)
INTEGER, ALLOCATABLE, DEVICE :: iexx_istart_d(:)
attributes(DEVICE) :: iexx_istart_d
#endif
INTEGER :: max_contributors

View File

@ -131,6 +131,7 @@ tetra.o : pwcom_gpu.o
usnldiag_gpu.o : pwcom.o
usnldiag_gpu.o : pwcom.o
usnldiag_gpu.o : pwcom.o
utils_gpu.o : pwcom_gpu.o
vloc_psi_gpu.o : pwcom.o
vloc_psi_gpu.o : pwcom.o
vloc_psi_gpu.o : pwcom.o