WaitForHIP#

Block the calling host thread until all previously queued work on the current HIP device has completed

Synopsis#

#include <petscdevice_hip.h>
hipError_t WaitForHIP(void)

Not Collective; No Fortran Support

Note#

Thin convenience wrapper around hipDeviceSynchronize(). Marked for removal in favour of explicit PetscDeviceContext synchronization.

See Also#

PetscDeviceContext, PetscDeviceContextSynchronize(), WaitForCUDA()

Level#

developer

Location#

include/petscdevice_hip.h


Index of all Device routines
Table of Contents for all manual pages
Index of all manual pages