Release the scratch payload from the device. No copyout
— scratch contents are per-step intermediates with no
host-side meaning. No-op when never allocated (mirrors
scratch_3d_buffer_enter_data_impl’s gate).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(scratch_3d_buffer_t), | intent(inout) | :: | this |
subroutine scratch_3d_buffer_exit_data_impl(this) !! Release the scratch payload from the device. No `copyout` !! — scratch contents are per-step intermediates with no !! host-side meaning. No-op when never allocated (mirrors !! `scratch_3d_buffer_enter_data_impl`'s gate). type(scratch_3d_buffer_t), intent(inout) :: this if (.not. allocated(this%data)) return !$acc exit data delete(this%data) end subroutine scratch_3d_buffer_exit_data_impl