[HIP] fix formatting/code clean up and fix a bug
このコミットが含まれているのは:
@@ -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;
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする