pub unsafe extern "C" fn hipDeviceReset() -> hipError_t
Expand description
@brief 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 hipDeviceSynchronize