SWDEV-537139 - Add missing typename qualifier to permuteType (#505)

Этот коммит содержится в:
Brzak, Branislav
2025-06-11 04:33:10 +02:00
коммит произвёл GitHub
родитель 494c0e3201
Коммит b7778ecd65
+2 -1
Просмотреть файл
@@ -340,7 +340,8 @@ T __shfl_xor_sync(MaskT mask, T var, int laneMask,
template <typename MaskT, typename T, typename BinaryOp, typename WfReduce>
__device__ inline T __reduce_op_sync(MaskT mask, T val, BinaryOp op, WfReduce wfReduce)
{
using permuteType = __hip_internal::conditional<sizeof(T) == 4 || sizeof(T) == 2, T, unsigned int>::type;
using permuteType =
typename __hip_internal::conditional<sizeof(T) == 4 || sizeof(T) == 2, T, unsigned int>::type;
static constexpr auto kMaskNumBits = sizeof(MaskT) * 8;
static_assert(
__hip_internal::is_integral<MaskT>::value && sizeof(MaskT) == 8,