This page contains proposed changes for a future release of ROCm. Read the latest Linux release of ROCm documentation for your production environments.

hipeventsynchronize Interface Reference

hipeventsynchronize Interface Reference#

HIPFORT API Reference: hipfort::hipeventsynchronize Interface Reference
hipfort::hipeventsynchronize Interface Reference

Wait for an event to complete. More...

Public Member Functions

integer(kind(hipsuccess)) function hipeventsynchronize_ (event)
 

Detailed Description

Wait for an event to complete.

This function will block until the event is ready, waiting for all previous work in the stream specified when event was recorded with hipEventRecord().

If hipEventRecord() has not been called on event, this function returns immediately.

TODO-hip- This function needs to support hipEventBlockingSync parameter.

Parameters
[in]eventEvent on which to wait.
Returns
hipSuccess, hipErrorInvalidValue, hipErrorNotInitialized, hipErrorInvalidHandle, hipErrorLaunchFailure
See also
hipEventCreate, hipEventCreateWithFlags, hipEventQuery, hipEventDestroy, hipEventRecord, hipEventElapsedTime

Member Function/Subroutine Documentation

◆ hipeventsynchronize_()

integer(kind(hipsuccess)) function hipfort::hipeventsynchronize::hipeventsynchronize_ ( type(c_ptr), value  event)

The documentation for this interface was generated from the following file: