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

hipipcgeteventhandle Interface Reference

hipipcgeteventhandle Interface Reference#

HIPFORT API Reference: hipfort::hipipcgeteventhandle Interface Reference
hipfort::hipipcgeteventhandle Interface Reference

Gets an opaque interprocess handle for an event. More...

Public Member Functions

integer(kind(hipsuccess)) function hipipcgeteventhandle_ (handle, event)
 

Detailed Description

Gets an opaque interprocess handle for an event.

This opaque handle may be copied into other processes and opened with cudaIpcOpenEventHandle. Then cudaEventRecord, cudaEventSynchronize, cudaStreamWaitEvent and cudaEventQuery may be used in either process. Operations on the imported event after the exported event has been freed with hipEventDestroy will result in undefined behavior.

Parameters
[out]handlePointer to cudaIpcEventHandle to return the opaque event handle
[in]eventEvent allocated with cudaEventInterprocess and cudaEventDisableTiming flags
Returns
hipSuccess, hipErrorInvalidConfiguration, hipErrorInvalidValue

Member Function/Subroutine Documentation

◆ hipipcgeteventhandle_()

integer(kind(hipsuccess)) function hipfort::hipipcgeteventhandle::hipipcgeteventhandle_ ( type(c_ptr)  handle,
type(c_ptr), value  event 
)

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