Type-bound wrapper — delegates to the non-polymorphic impl so the device-attach map base is the heap object, not a polymorphic stack box (AMD libomptarget cross-slot-overlap fix). Slot-header presence comes from the orchestrator’s root copyin(state); only the leaf arrays + scratch are attached here.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(ocean_surface_stress_t), | intent(inout) | :: | this |
subroutine ocean_surfstress_enter_data(this) !! Type-bound wrapper — delegates to the non-polymorphic impl so the !! device-attach map base is the heap object, not a polymorphic stack !! box (AMD libomptarget cross-slot-overlap fix). Slot-header !! presence comes from the orchestrator's root copyin(state); only !! the leaf arrays + scratch are attached here. class(ocean_surface_stress_t), intent(inout) :: this select type (this) type is (ocean_surface_stress_t) call ocean_surfstress_enter_data_impl(this) end select end subroutine ocean_surfstress_enter_data