Skip to content

Commit

Permalink
Remove unused declarations
Browse files Browse the repository at this point in the history
ghstack-source-id: aefeac94c53f481c212e966f2144ba430d0dd905
Pull Request resolved: fairinternal/xformers#1164

__original_commit__ = fairinternal/xformers@f103266
  • Loading branch information
lw authored and xFormers Bot committed Jul 25, 2024
1 parent a635e0c commit 2b8f5fc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion xformers/csrc/sparse24/meta_utils.cu
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ at::Tensor _sparse24_pack_tensor_according_to_mask(
uint16_t pack_info = ref_meta_reordered.at({dest_row, dest_col});
// For each group of 4, read the only 2 that are selected in the mask
for (int group_shift = 0; group_shift < 16; group_shift += 4) {
uint16_t element = 0;
int pos0 = (pack_info >> group_shift) & 3;
int pos1 = (pack_info >> (group_shift + 2)) & 3;
ref_a_packed.at({m, 8 * k + group_shift / 2}) =
Expand Down

0 comments on commit 2b8f5fc

Please sign in to comment.