From 709ec0f7aa05e435687cf015474c49462e03714b Mon Sep 17 00:00:00 2001 From: Paul Mullowney Date: Fri, 17 Jan 2025 10:31:56 -0600 Subject: [PATCH] Requested fixes --- src/trans/gpu/algor/ext_acc.F90 | 2 +- src/trans/gpu/algor/growing_allocator_mod.F90 | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/trans/gpu/algor/ext_acc.F90 b/src/trans/gpu/algor/ext_acc.F90 index 6d9823f75..296c5902e 100644 --- a/src/trans/gpu/algor/ext_acc.F90 +++ b/src/trans/gpu/algor/ext_acc.F90 @@ -388,7 +388,7 @@ subroutine ext_acc_delete(ptrs, stream) stream_act = stream else stream_act = acc_async_sync - endif + endif #endif allocate(common_ptrs(size(ptrs))) num_ranges = get_common_pointers(ptrs, common_ptrs) diff --git a/src/trans/gpu/algor/growing_allocator_mod.F90 b/src/trans/gpu/algor/growing_allocator_mod.F90 index cf4788339..283db018d 100644 --- a/src/trans/gpu/algor/growing_allocator_mod.F90 +++ b/src/trans/gpu/algor/growing_allocator_mod.F90 @@ -104,7 +104,6 @@ SUBROUTINE DESTROY_GROWING_ALLOCATOR(ALLOC) #ifdef ACCGPU !$ACC EXIT DATA DELETE(ALLOC%PTR) #endif - !$ACC EXIT DATA DELETE(ALLOC%PTR) DEALLOCATE(ALLOC%PTR) NULLIFY(ALLOC%PTR) ENDIF