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

Commit

Permalink
Merge pull request #420 from allisonvacanti/419_gcc10_warning
Browse files Browse the repository at this point in the history
Initialize padding member to silence warning.
  • Loading branch information
alliepiper authored Jan 19, 2022
2 parents d4e8d5c + f89222a commit cb5243b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cub/iterator/discard_output_iterator.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ private:

#if defined(_WIN32) || !defined(_WIN64)
// Workaround for win32 parameter-passing bug (ulonglong2 argmin DeviceReduce)
OffsetT pad[CUB_MAX(1, (16 / sizeof(OffsetT) - 1))];
OffsetT pad[CUB_MAX(1, (16 / sizeof(OffsetT) - 1))] = {};
#endif

public:
Expand Down

0 comments on commit cb5243b

Please sign in to comment.