Finalizes a multiplication cycle for a set of C-blocks.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(dbcsr_mm_sched_type), | intent(inout) | :: | this |
SUBROUTINE dbcsr_mm_sched_finalize(this)
!! Finalizes a multiplication cycle for a set of C-blocks.
TYPE(dbcsr_mm_sched_type), INTENT(INOUT) :: this
CHARACTER(len=*), PARAMETER :: routineN = 'dbcsr_mm_sched_finalize'
INTEGER :: handle
CALL timeset(routineN, handle)
! Just in case dbcsr_mm_sched_process was never called (really needed?)
CALL ensure_product_wm_cleared(this)
!CALL dbcsr_mm_hostdrv_finalize(this%hostdrv) ! not needed
IF (has_acc) &
CALL dbcsr_mm_accdrv_finalize(this%accdrv)
CALL timestop(handle)
END SUBROUTINE dbcsr_mm_sched_finalize