hipdevicereset Interface Reference

hipdevicereset Interface Reference#

HIPFORT API Reference: hipfort::hipdevicereset Interface Reference
hipfort::hipdevicereset Interface Reference

The state of current device is discarded and updated to a fresh state. More...

Public Member Functions

integer(kind(hipsuccess)) function hipdevicereset_ ()
 

Detailed Description

The state of current device is discarded and updated to a fresh state.

Calling this function deletes all streams created, memory allocated, kernels running, events created. Make sure that no other thread is using the device or streams, memory, kernels, events associated with the current device.

Returns
hipSuccess
See also
hipDeviceSynchronize

Member Function/Subroutine Documentation

◆ hipdevicereset_()

integer(kind(hipsuccess)) function hipfort::hipdevicereset::hipdevicereset_

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