Skip to content

Commit db77003

Browse files
committed
Fixed typo in comments.
1 parent 86651fc commit db77003

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cl/middle.cl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,11 +345,11 @@ void readCarryFusedLine(CP(T2) in, T2 *u, u32 line) {
345345
u32 x_within_out_wg = fftMiddleOut_x % OUT_SIZEX; // There were OUT_SIZEX x values within OUT_WG
346346
in += x_within_out_wg * SIZEY; // Adjust in pointer the same way writeMiddleOutLine wrote x values with OUT_WG
347347

348-
// Adjust in pointer based on the y value used in writeMiddleOutLine. This code is a little obscure as rocm compiler has trouble optimizing commented out code.
348+
// Adjust in pointer based on the i value used in writeMiddleOutLine
349349
u32 fftMiddleOut_i = line / SMALL_HEIGHT; // The i in fftMiddleOut's u[i]
350350
in += fftMiddleOut_i * OUT_WG; // Adjust in pointer the same way writeMiddleOutLine did
351351

352-
// Adjust in pointer based on the y value used in writeMiddleOutLine
352+
// Adjust in pointer based on the y value used in writeMiddleOutLine. This code is a little obscure as rocm compiler has trouble optimizing commented out code.
353353
in += me % SIZEY; // Adjust in pointer to read SIZEY consecutive values
354354
u32 fftMiddleOut_y = me; // The i=0 fftMiddleOut y value
355355
u32 chunk_y = fftMiddleOut_y / SIZEY; // The i=0 fftMiddleOut chunk_y value

0 commit comments

Comments
 (0)