Skip to content

Commit a109222

Browse files
committed
format
1 parent 7a23419 commit a109222

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

csrc/scheduler/normalization.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1404,9 +1404,8 @@ std::shared_ptr<ReductionParams> getPersistentHeuristics(
14041404

14051405
// dtype used to store partial outer reduction in combined reduction
14061406
const size_t tmp_gmem_dtype_size = combined_inner_outer_reduction
1407-
? ataTypeSize(outer_reduction_tvs[0]->getDataType().value())
1408-
1409-
ataTypeSize(first_red_tv->getDataType().value());
1407+
? dataTypeSize(outer_reduction_tvs[0]->getDataType().value())
1408+
: dataTypeSize(first_red_tv->getDataType().value());
14101409

14111410
// Protect heuristics div by 0:
14121411
n_tensor_inputs = std::max(n_tensor_inputs, (size_t)1);
@@ -1847,4 +1846,3 @@ void schedulePersistentKernelInnerOuter(
18471846
inlineMost();
18481847
}
18491848
} // namespace nvfuser
1850-

0 commit comments

Comments
 (0)