diff --git a/src/mm/dbcsr_mm_accdrv.F b/src/mm/dbcsr_mm_accdrv.F index 5a4cc28f05b..8c69ad07dd0 100644 --- a/src/mm/dbcsr_mm_accdrv.F +++ b/src/mm/dbcsr_mm_accdrv.F @@ -531,6 +531,9 @@ SUBROUTINE dbcsr_mm_accdrv_process(this, left, right, params, stack_size, & IF (success) THEN CALL acc_event_record(stackbuf%calculated, stream=stackbuf%stream) ELSE + IF (dbcsr_cfg%use_acc_g2g%val) THEN + DBCSR_ABORT("MPI G2G requires all kernels to be evaluated on the GPU!") + END IF this%do_gpu_c_redux = .TRUE. END IF