[Refactor] Remove kernel dead code (#51051)

Signed-off-by: yewentao256 <zhyanwentao@126.com>
This commit is contained in:
Wentao Ye
2026-08-07 01:20:19 -07:00
committed by GitHub
parent da788334bc
commit c84789c40b
8 changed files with 0 additions and 396 deletions
@@ -76,15 +76,4 @@ struct ScaledQuant<quant_type_t, is_scale_inverted,
}
};
template <typename scalar_t, typename quant_type_t, bool is_scale_inverted>
__device__ void scaled_quant_conversion(quant_type_t* __restrict__ output,
scalar_t const* __restrict__ input,
float const scale, int const tid,
int const num_elements,
int const step) {
for (int i = tid; i < num_elements; i += step) {
output[i] = ScaledQuant<quant_type_t, is_scale_inverted>(input[i], scale);
}
}
} // namespace vllm