Changeset 1166 for palm/trunk
- Timestamp:
- May 24, 2013 1:55:44 PM (12 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/cuda_fft_interfaces.f90
r1154 r1166 20 20 ! Current revisions: 21 21 ! ----------------- 22 ! 22 ! C_DOUBLE/COMPLEX reset to dpk, 23 ! DEVICE attribut added to idata/odata arguments 23 24 ! 24 25 ! Former revisions: … … 78 79 USE ISO_C_BINDING 79 80 80 INTEGER(C_INT), value:: plan81 INTEGER(C_INT), VALUE :: plan 81 82 82 83 END SUBROUTINE CUFFTDESTROY … … 90 91 91 92 USE ISO_C_BINDING 93 USE precision_kind 92 94 93 INTEGER(C_INT) 94 COMPLEX( C_DOUBLE_COMPLEX):: idata(:,:,:)95 REAL( C_DOUBLE):: odata(:,:,:)95 INTEGER(C_INT), VALUE :: plan 96 COMPLEX(dpk), DEVICE :: idata(:,:,:) 97 REAL(dpk), DEVICE :: odata(:,:,:) 96 98 97 99 END SUBROUTINE CUFFTEXECZ2D … … 105 107 106 108 USE ISO_C_BINDING 109 USE precision_kind 107 110 108 INTEGER(C_INT) 109 REAL( C_DOUBLE):: idata(:,:,:)110 COMPLEX( C_DOUBLE_COMPLEX):: odata(:,:,:)111 INTEGER(C_INT), VALUE :: plan 112 REAL(dpk), DEVICE :: idata(:,:,:) 113 COMPLEX(dpk), DEVICE :: odata(:,:,:) 111 114 112 115 END SUBROUTINE CUFFTEXECD2Z -
palm/trunk/SOURCE/fft_xy.f90
r1154 r1166 20 20 ! Current revisions: 21 21 ! ----------------- 22 ! 22 ! C_DOUBLE/COMPLEX reset to dpk 23 23 ! 24 24 ! Former revisions: … … 288 288 #elif defined( __cuda_fft ) 289 289 !$acc declare create( ar_tmp ) 290 COMPLEX( C_DOUBLE_COMPLEX), DIMENSION(0:(nx+1)/2,nys_x:nyn_x,nzb_x:nzt_x) :: ar_tmp290 COMPLEX(dpk), DIMENSION(0:(nx+1)/2,nys_x:nyn_x,nzb_x:nzt_x) :: ar_tmp 291 291 #endif 292 292 REAL, DIMENSION(0:nx,nys_x:nyn_x,nzb_x:nzt_x) :: ar … … 799 799 #elif defined( __cuda_fft ) 800 800 !$acc declare create( ar_tmp ) 801 COMPLEX( C_DOUBLE_COMPLEX), DIMENSION(0:(ny+1)/2,nxl_y:nxr_y,nzb_y:nzt_y) :: ar_tmp801 COMPLEX(dpk), DIMENSION(0:(ny+1)/2,nxl_y:nxr_y,nzb_y:nzt_y) :: ar_tmp 802 802 #endif 803 803 REAL, DIMENSION(0:ny,nxl_y:nxr_y,nzb_y:nzt_y) :: ar
Note: See TracChangeset
for help on using the changeset viewer.