hipipcopeneventhandle Interface Reference

hipipcopeneventhandle Interface Reference#

HIPFORT API Reference: hipfort::hipipcopeneventhandle Interface Reference
hipfort::hipipcopeneventhandle Interface Reference

Opens an interprocess event handles. More...

Public Member Functions

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

Detailed Description

Opens an interprocess event handles.

Opens an interprocess event handle exported from another process with cudaIpcGetEventHandle. The returned hipEvent_t behaves like a locally created event with the hipEventDisableTiming flag specified. This event need be freed with hipEventDestroy. Operations on the imported event after the exported event has been freed with hipEventDestroy will result in undefined behavior. If the function is called within the same process where handle is returned by hipIpcGetEventHandle, it will return hipErrorInvalidContext.

[out]eventPointer to hipEvent_t to return the event
[in]handleThe opaque interprocess handle to open
hipSuccess, hipErrorInvalidValue, hipErrorInvalidContext

Member Function/Subroutine Documentation

◆ hipipcopeneventhandle_()

integer(kind(hipsuccess)) function hipfort::hipipcopeneventhandle::hipipcopeneventhandle_ ( type(c_ptr)  event,
type(c_ptr), value  handle 

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