Skip to content

Commit

Permalink
Merge 7b6a286 into 834f94d
Browse files Browse the repository at this point in the history
  • Loading branch information
grimoire authored Feb 17, 2023
2 parents 834f94d + 7b6a286 commit a0afe65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmcv/ops/csrc/common/cuda/carafe_cuda_kernel.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ __device__ __forceinline__ phalf warpReduceSum(phalf val) {
__PHALF(val) += __shfl_down(val, offset);
#else
__PHALF(val) +=
__shfl_down_sync(FULL_MASK, static_cast<__half>(__PHALF(val)), offset);
__shfl_down_sync(FULL_MASK, __PHALF(val).operator __half(), offset);
#endif
return val;
}
Expand Down

0 comments on commit a0afe65

Please sign in to comment.