Skip to content

Commit 1063c0c

Browse files
committed
removed redundant kGroupIndexWarpSize assign
1 parent 76b963d commit 1063c0c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

fbgemm_gpu/src/sparse_ops/sparse_group_index.cu

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,7 @@ using Tensor = at::Tensor;
1313
namespace fbgemm_gpu {
1414
namespace {
1515

16-
#ifdef USE_ROCM
17-
constexpr int kGroupIndexWarpSize = kWarpSize;
18-
#else
1916
constexpr int kGroupIndexWarpSize = kWarpSize;
20-
#endif
21-
2217
constexpr int GROUP_INDEX_SELECT_UNROLL_FACTOR = 1;
2318
constexpr int GROUP_INDEX_SELECT_COLS_PER_WARP =
2419
GROUP_INDEX_SELECT_UNROLL_FACTOR * kGroupIndexWarpSize;

0 commit comments

Comments
 (0)