Skip to content

Commit 5ecce24

Browse files
committed
added int
1 parent c0d2265 commit 5ecce24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stan/math/opencl/kernels/multiply_transpose.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ static const std::string multiply_transpose_kernel_code = STRINGIFY(
5757
// each thread copies WORK_PER_THREAD values to the
5858
// local memory
5959
for (int w = 0; w < WORK_PER_THREAD; w++) {
60-
const A_temp_j = tiled_j + w * THREAD_BLOCK_SIZE_COL;
61-
const AT_temp_j = j + w * THREAD_BLOCK_SIZE_COL;
60+
const int A_temp_j = tiled_j + w * THREAD_BLOCK_SIZE_COL;
61+
const int AT_temp_j = j + w * THREAD_BLOCK_SIZE_COL;
6262
if (A_temp_j >= N || i >= M) {
6363
A_local[thread_block_col + w * THREAD_BLOCK_SIZE_COL]
6464
[thread_block_row]

0 commit comments

Comments
 (0)