Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
GCC fix
  • Loading branch information
bernhardmgruber committed Mar 4, 2025
commit 76013a578bc610efed69ddcb94399ec9f6f7d47c
3 changes: 3 additions & 0 deletions cub/test/catch2_test_device_histogram.cu
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ auto cast_if_half(array<T, N> a)

#if TEST_HALF_T()
template <size_t N>
# if _CCCL_COMPILER(GCC)
__attribute__((optimize("no-tree-vectorize")))
# endif
auto cast_if_half(array<half_t, N> a)
{
__half* p = cast_if_half_pointer(a.data()); // cast to avoid ambiguous conversion from half_t -> __half
Expand Down
Loading