diff --git a/src/device/reduce_kernel.h b/src/device/reduce_kernel.h index d36dfe5a7..af927a924 100644 --- a/src/device/reduce_kernel.h +++ b/src/device/reduce_kernel.h @@ -260,7 +260,7 @@ struct Apply_Cast { template<> \ struct Apply_Cast { \ __device__ __forceinline__ static BytePack cast(BytePack a) { \ - return toPack(VecB(fromPack(a))); \ + return toPack(static_cast(fromPack(a))); \ } \ }; \ template<> \