Skip to content

Commit

Permalink
fix benchmark compile
Browse files Browse the repository at this point in the history
luoyu-intel committed Dec 1, 2023
1 parent 11ca78f commit 6521bba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onnxruntime/test/mlas/bench/bench_sqnbitgemm.cpp
Original file line number Diff line number Diff line change
@@ -86,7 +86,7 @@ BENCHMARK(SQNBITGEMM<4, 256, false>)->Apply(GemmSizeProducts)->UseRealTime();
BENCHMARK(SQNBITGEMM<4, 256, true>)->Apply(GemmSizeProducts)->UseRealTime();

#ifdef MLAS_JBLAS
void Q4GEMM_Jblas(benchmark::State& state, int block_size, bool is_asym, MLAS_COMPUTE_TYPE cmp_type) {
void Q4GEMM_Jblas(benchmark::State& state, int block_size, bool is_asym, MLAS_SQNBIT_COMPUTE_TYPE cmp_type) {
if (state.range(0) <= 0) throw std::invalid_argument("M must greater than 0!");
if (state.range(1) <= 0) throw std::invalid_argument("N must greater than 0!");
if (state.range(2) <= 0) throw std::invalid_argument("K must greater than 0!");

0 comments on commit 6521bba

Please sign in to comment.