Changeset 1257 for palm/trunk/SOURCE/transpose.f90
 Timestamp:
 Nov 8, 2013 3:18:40 PM (9 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

palm/trunk/SOURCE/transpose.f90
r1217 r1257 20 20 ! Current revisions: 21 21 !  22 ! 22 ! openacc loop and loop vector clauses removed 23 23 ! 24 24 ! Former revisions: … … 97 97 !$OMP DO 98 98 !$acc kernels present( f_in, f_inv ) 99 !$acc loop100 99 DO i = 0, nx 101 100 DO k = nzb_x, nzt_x 102 !$acc loop vector( 32 )103 101 DO j = nys_x, nyn_x 104 102 f_inv(j,k,i) = f_in(i,j,k) … … 158 156 ys = 0 + l * ( nyn_x  nys_x + 1 ) 159 157 !$acc kernels present( f_out, work ) 160 !$acc loop161 158 DO i = nxl_y, nxr_y 162 159 DO k = nzb_y, nzt_y 163 !$acc loop vector( 32 )164 160 DO j = ys, ys + nyn_x  nys_x 165 161 f_out(j,i,k) = work(jys+1,k,i,l) … … 180 176 !$OMP DO 181 177 !$acc kernels present( f_inv, f_out ) 182 !$acc loop183 178 DO k = nzb_y, nzt_y 184 179 DO i = nxl_y, nxr_y 185 !$acc loop vector( 32 )186 180 DO j = 0, ny 187 181 f_out(j,i,k) = f_inv(j,k,i) … … 225 219 !$OMP DO 226 220 !$acc kernels present( f_inv, f_out ) 227 !$acc loop228 221 DO k = 1, nz 229 222 DO i = nxl, nxr 230 !$acc loop vector( 32 )231 223 DO j = nys, nyn 232 224 f_out(k,j,i) = f_inv(j,i,k) … … 279 271 xs = 0 + l * nnx 280 272 !$acc kernels present( f_in, work ) 281 !$acc loop282 273 DO k = nzb_x, nzt_x 283 274 DO i = xs, xs + nnx  1 284 !$acc loop vector( 32 )285 275 DO j = nys_x, nyn_x 286 276 work(j,ixs+1,k,l) = f_in(i,j,k) … … 311 301 !$OMP DO 312 302 !$acc kernels present( f_in, f_inv ) 313 !$acc loop314 303 DO i = nxl, nxr 315 304 DO j = nys, nyn 316 !$acc loop vector( 32 )317 305 DO k = 1, nz 318 306 f_inv(j,i,k) = f_in(i,j,k) … … 354 342 !$OMP DO 355 343 !$acc kernels present( f_inv, f_out ) 356 !$acc loop357 344 DO i = 0, nx 358 345 DO k = nzb_x, nzt_x 359 !$acc loop vector( 32 )360 346 DO j = nys_x, nyn_x 361 347 f_out(i,j,k) = f_inv(j,k,i) … … 405 391 ys = 0 + l * ( nyn_x  nys_x + 1 ) 406 392 !$acc kernels present( f_in, work ) 407 !$acc loop408 393 DO i = nxl_y, nxr_y 409 394 DO k = nzb_y, nzt_y 410 !$acc loop vector( 32 )411 395 DO j = ys, ys + nyn_x  nys_x 412 396 work(jys+1,k,i,l) = f_in(j,i,k) … … 437 421 !$OMP DO 438 422 !$acc kernels present( f_in, f_inv ) 439 !$acc loop440 423 DO i = nxl_y, nxr_y 441 424 DO k = nzb_y, nzt_y 442 !$acc loop vector( 32 )443 425 DO j = 0, ny 444 426 f_inv(j,k,i) = f_in(j,i,k) … … 548 530 !$OMP DO 549 531 !$acc kernels present( f_in, f_inv ) 550 !$acc loop551 532 DO j = 0, ny 552 533 DO k = nzb_y, nzt_y 553 !$acc loop vector( 32 )554 534 DO i = nxl_y, nxr_y 555 535 f_inv(i,k,j) = f_in(j,i,k) … … 596 576 !$OMP DO 597 577 !$acc kernels present( f_inv, f_out ) 598 !$acc loop599 578 DO j = 0, ny 600 579 DO k = nzb_y, nzt_y 601 !$acc loop vector( 32 )602 580 DO i = nxl_y, nxr_y 603 581 f_out(i,j,k) = f_inv(i,k,j) … … 629 607 zs = 1 + l * ( nzt_y  nzb_y + 1 ) 630 608 !$acc kernels present( f_out ) 631 !$acc loop632 609 DO j = nys_z, nyn_z 633 610 DO k = zs, zs + nzt_y  nzb_y 634 !$acc loop vector( 32 )635 611 DO i = nxl_z, nxr_z 636 612 f_out(i,j,k) = work(i,kzs+1,j,l) … … 675 651 !$OMP DO 676 652 !$acc kernels present( f_in, f_inv ) 677 !$acc loop678 653 DO k = 1,nz 679 654 DO i = nxl, nxr 680 !$acc loop vector( 32 )681 655 DO j = nys, nyn 682 656 f_inv(j,i,k) = f_in(k,j,i) … … 723 697 !$OMP DO 724 698 !$acc kernels present( f_inv, f_out ) 725 !$acc loop726 699 DO k = 1, nz 727 700 DO i = nxl, nxr 728 !$acc loop vector( 32 )729 701 DO j = nys, nyn 730 702 f_out(i,j,k) = f_inv(j,i,k) … … 756 728 xs = 0 + l * nnx 757 729 !$acc kernels present( f_out ) 758 !$acc loop759 730 DO k = nzb_x, nzt_x 760 731 DO i = xs, xs + nnx  1 761 !$acc loop vector( 32 )762 732 DO j = nys_x, nyn_x 763 733 f_out(i,j,k) = work(j,ixs+1,k,l) … … 802 772 !$OMP DO 803 773 !$acc kernels present( f_inv, f_out ) 804 !$acc loop805 774 DO k = nzb_y, nzt_y 806 775 DO j = 0, ny 807 !$acc loop vector( 32 )808 776 DO i = nxl_y, nxr_y 809 777 f_out(j,i,k) = f_inv(i,k,j) … … 856 824 zs = 1 + l * ( nzt_y  nzb_y + 1 ) 857 825 !$acc kernels present( f_in, work ) 858 !$acc loop859 826 DO j = nys_z, nyn_z 860 827 DO k = zs, zs + nzt_y  nzb_y 861 !$acc loop vector( 32 )862 828 DO i = nxl_z, nxr_z 863 829 work(i,kzs+1,j,l) = f_in(i,j,k) … … 887 853 !$OMP DO 888 854 !$acc kernels present( f_in, f_inv ) 889 !$acc loop890 855 DO k = nzb_y, nzt_y 891 856 DO j = 0, ny 892 !$acc loop vector( 32 )893 857 DO i = nxl_y, nxr_y 894 858 f_inv(i,k,j) = f_in(i,j,k)
Note: See TracChangeset
for help on using the changeset viewer.