mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-04 23:59:56 +00:00
delete unused local typedef VK to fix pipeline error (#14322)
fix the error "/onnxruntime_src/onnxruntime/core/providers/cuda/test/greedy_search_top_one.cc:34:9: error: typedef ‘using VK = struct std::pair<float, int>’ locally defined but not used [-Werror=unused-local-typedefs]34 | using VK = std::pair<float, int32_t>"
This commit is contained in:
parent
19b4d9d41e
commit
caa5900508
1 changed files with 0 additions and 1 deletions
|
|
@ -31,7 +31,6 @@ void ComputeTop1Reference(const std::vector<float>& values,
|
|||
std::vector<int32_t>& top_k_tokens,
|
||||
int32_t batch_size,
|
||||
int32_t vocab_size) {
|
||||
using VK = std::pair<float, int32_t>;
|
||||
|
||||
for (int32_t b = 0; b < batch_size; b++) {
|
||||
int32_t base_idx = b * vocab_size;
|
||||
|
|
|
|||
Loading…
Reference in a new issue