Skip to content

Commit bc97702

Browse files
Apply suggestions from code review
1 parent 95a77c5 commit bc97702

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/gc/Transforms/GPU/GpuTilingAndFusion.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ struct GpuTilingAndFusion final
101101
auto sizePerThread = numIterations / numThreads * elementSize;
102102
auto totalSize = std::max(sizePerThread, cachePerThread);
103103
totalSize = std::max(totalSize / elementSize, 64L);
104-
auto xeGpu = canLowerToXeGPU(op);
104+
bool xeGpu = canLowerToXeGPU(op);
105105

106106
// If the operation could be lowered to XeGPU, make the tiles
107107
// multiple of the vector width.

lib/gc/Transforms/GPU/GpuUtils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ namespace impl {
144144
enum class AdjustTilesMode {
145145
// Sort the input and switch to the First mode.
146146
Sort,
147-
// Adjust the first and call adjustTiles() recursively for the rest.
147+
// Adjust the first tile and call adjustTiles() recursively for the rest.
148148
First,
149149
// To allow for squeezing, set 1's for all tiles except the last 2.
150150
XeGpu,

0 commit comments

Comments
 (0)