Skip to content

Commit f9199ac

Browse files
author
Brzak, Branislav
authored
SWDEV-528683 - Hardcode valid wavefront compile time options (#306)
1 parent da198ac commit f9199ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hipamd/include/hip/amd_detail/hip_cooperative_groups_helper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ template <unsigned int size>
6969
using is_power_of_2 = std::integral_constant<bool, (size & (size - 1)) == 0>;
7070

7171
template <unsigned int size>
72-
using is_valid_wavefront = std::integral_constant<bool, (size <= __AMDGCN_WAVEFRONT_SIZE)>;
72+
using is_valid_wavefront = std::integral_constant<bool, size <= 64>;
7373

7474
template <unsigned int size>
7575
using is_valid_tile_size =

0 commit comments

Comments
 (0)