Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ Checks:
- '-bugprone-branch-clone'
- '-bugprone-return-const-ref-from-parameter'
- '-bugprone-use-after-move'
- '-bugprone-undefined-memory-manipulation'
- '-bugprone-unchecked-optional-access'
- '-bugprone-unintended-char-ostream-output'
- '-bugprone-casting-through-void'
Expand Down
1 change: 1 addition & 0 deletions cub/cub/detail/unsafe_bitcast.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ template <typename Output, typename Input>
{
Output output;
static_assert(sizeof(input) == sizeof(output), "wrong size");
// NOLINTNEXTLINE(bugprone-undefined-memory-manipulation)
::memcpy(&output, &input, sizeof(input));
return output;
}
Expand Down
Loading