Skip to content

Commit

Permalink
TEST_GANG updated to account for allowed ISTATUS divergence between G…
Browse files Browse the repository at this point in the history
…ANG and CHILDREN
  • Loading branch information
awnawab committed Dec 4, 2024
1 parent 8126c21 commit 8a0b82b
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions tests/test_gang.F90
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,8 @@ SUBROUTINE GET_HOST_YLF4
ENDDO
ENDDO

CALL CHECK_STATUS
! STATUS doesn't need to be synchronised for RDONLY calls to buffer
! CALL CHECK_STATUS

END SUBROUTINE

Expand Down Expand Up @@ -535,7 +536,8 @@ SUBROUTINE GET_DEVICE_YLF4

!$acc end serial

CALL CHECK_STATUS
! STATUS doesn't need to be synchronised for RDONLY calls to buffer
! CALL CHECK_STATUS

END SUBROUTINE

Expand Down Expand Up @@ -605,7 +607,8 @@ SUBROUTINE SET_HOST_YLF3 (KFLD)
ENDDO
ENDDO

CALL CHECK_STATUS
! STATUS is only synced when calling GET/SYNC_HOST/DEVICE methods are called on BUFFER
! CALL CHECK_STATUS

ENDDO

Expand All @@ -622,7 +625,8 @@ SUBROUTINE SET_DEVICE_YLF3 (KFLD)

DO JDIM = 1, SIZE (KFLD)

CALL CHECK_STATUS
! STATUS is only synced when calling GET/SYNC_HOST/DEVICE methods are called on BUFFER
! CALL CHECK_STATUS

JFLD = KFLD (JDIM)

Expand All @@ -632,7 +636,8 @@ SUBROUTINE SET_DEVICE_YLF3 (KFLD)

ZDEVICE3 => GET_DEVICE_DATA_RDWR (YLF3L (JFLD)%PTR)

CALL CHECK_STATUS
! STATUS is only synced when calling GET/SYNC_HOST/DEVICE methods are called on BUFFER
! CALL CHECK_STATUS

CALL CHECK_DIMS_YLF3 (ZDEVICE3)

Expand All @@ -651,7 +656,8 @@ SUBROUTINE SET_DEVICE_YLF3 (KFLD)
!$acc end serial


CALL CHECK_STATUS
! STATUS is only synced when calling GET/SYNC_HOST/DEVICE methods are called on BUFFER
! CALL CHECK_STATUS

ENDDO

Expand Down Expand Up @@ -698,7 +704,8 @@ SUBROUTINE GET_DEVICE_YLF3 (KFLD)
!$acc end serial


CALL CHECK_STATUS
! STATUS is only synced when calling GET/SYNC_HOST/DEVICE methods are called on BUFFER
! CALL CHECK_STATUS

ENDDO

Expand Down Expand Up @@ -738,7 +745,8 @@ SUBROUTINE GET_HOST_YLF3 (KFLD)
ENDDO
ENDDO

CALL CHECK_STATUS
! STATUS is only synced when calling GET/SYNC_HOST/DEVICE methods are called on BUFFER
! CALL CHECK_STATUS

ENDDO

Expand Down

0 comments on commit 8a0b82b

Please sign in to comment.