Skip to content

Commit cbcb540

Browse files
committed
Fix the size of the dynamic shared memory allocation.
1 parent 32950a5 commit cbcb540

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

device/cuda/src/finding/combinatorial_kalman_filter.cuh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ combinatorial_kalman_filter(
289289
const unsigned int nBlocks =
290290
(n_in_params + nThreads - 1) / nThreads;
291291
const std::size_t shared_size =
292-
nThreads * sizeof(unsigned int) +
292+
nThreads * sizeof(unsigned long long int) +
293293
2 * nThreads * sizeof(std::pair<unsigned int, unsigned int>);
294294

295295
// Run the kernel.

0 commit comments

Comments
 (0)