Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions csrc/rocm/skinny_gemms.cu
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ __global__ void LLGemm1_kernel(const scalar_t* in_a, const scalar_t* in_b,
colB_elem4w = bf4[threadid * 4 + 3];

scalar2_t Af2;
scalar2_t Bf2;
[[maybe_unused]] scalar2_t Bf2;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@houseroad Good catch (thumb up to the tool which found this). It looks to me that it is safe to remove the unused variable.
@WoosukKwon vllm should enable this tool in the pre-commit check

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
[[maybe_unused]] scalar2_t Bf2;

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

float2 S;

auto Ah2ptr = reinterpret_cast<scalar2_t*>(&rowA_elem4);
Expand Down Expand Up @@ -1597,4 +1597,4 @@ void wvSplitKQ(at::Tensor& in_a, at::Tensor& in_b, at::Tensor& out_c,
}
});
});
}
}