Skip to content
This repository was archived by the owner on Mar 21, 2024. It is now read-only.

Commit 8b5620a

Browse files
committed
CUB: Re-apply uninitialized variable warning suppression from commit
46b0939 that was accidentally overwritten when integrating CUB 1.7.5 Bug 2017697 Bug 200355591 git-commit 0ce5383cf25a33a35fd0df1237a06b85e4846e77 git-author Bryce Adelstein Lelbach aka wash <brycelelbach@gmail.com> [git-p4: depot-paths = "//sw/gpgpu/thrust/": change = 23595311]
1 parent d4b6eaa commit 8b5620a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

thrust/system/cuda/detail/cub/agent/single_pass_scan_operators.cuh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ struct ScanTileState<T, false>
320320
cudaError_t error = cudaSuccess;
321321
do
322322
{
323-
void* allocations[3];
323+
void* allocations[3] = { NULL, NULL, NULL };
324324
size_t allocation_sizes[3];
325325

326326
allocation_sizes[0] = (num_tiles + TILE_STATUS_PADDING) * sizeof(StatusWord); // bytes needed for tile status descriptors

0 commit comments

Comments
 (0)