[HIP] fix formatting/code clean up and fix a bug

このコミットが含まれているのは:
Aryan Salmanpour
2020-03-09 16:03:59 -04:00
コミット 7009901fe0
2個のファイルの変更13行の追加16行の削除
+1 -1
ファイルの表示
@@ -1619,7 +1619,7 @@ void ihipPrintKernelLaunch(const char* kernelName, const grid_launch_parm* lp,
// Allows runtime to track some information about the stream.
hipStream_t ihipPreLaunchKernel(hipStream_t stream, dim3 grid, dim3 block, grid_launch_parm* lp,
const char* kernelNameStr, bool lockAcquired) {
if (stream == nullptr || stream != stream->getCtx()->_defaultStream){
if (stream == nullptr || stream != stream->getCtx()->_defaultStream) {
stream = ihipSyncAndResolveStream(stream, lockAcquired);
}
lp->grid_dim.x = grid.x;