tensorflow/stream_executor/rocm/rocm_driver.cc
// Call hipDeviceSynchronize and crash if it doesn't succeed.
Call hipDeviceSynchronize and crash if it doesn't succeed.
Call hipDeviceSynchronize and crash if it doesn ' t succeed .
void SynchronizeOrDie() {
  auto res = tensorflow::wrap::hipDeviceSynchronize();
  if (res != hipSuccess) {
    LOG(FATAL) << "Synchronize found " << ToString(res)
               << " :: " << port::CurrentStackTrace();
  }
}
void SynchronizeOrDie ( ) { auto res = tensorflow :: wrap :: hipDeviceSynchronize ( ) ; if ( res != hipSuccess ) { LOG ( FATAL ) << " " << ToString ( res ) << " " << port :: CurrentStackTrace ( ) ; } }
Call hipDeviceSynchronize and crash if it doesn't succeed.
Call hipDeviceSynchronize and crash if it doesn ' t succeed .