[HIP] fix formatting/code clean up and fix a bug
[ROCm/clr commit: 7009901fe0]
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user