diff --git a/benchmark/syclblas/CMakeLists.txt b/benchmark/syclblas/CMakeLists.txt index 1ceaf469a..80c0e8ae9 100644 --- a/benchmark/syclblas/CMakeLists.txt +++ b/benchmark/syclblas/CMakeLists.txt @@ -71,7 +71,7 @@ set(sources ) if(${BLAS_ENABLE_EXTENSIONS}) - set(sources extension/reduction.cpp) + list(APPEND extension/reduction.cpp) endif() # Add individual benchmarks for each method diff --git a/benchmark/syclblas/extension/omatcopy2.cpp b/benchmark/syclblas/extension/omatcopy2.cpp index bbf97e829..268d168e7 100644 --- a/benchmark/syclblas/extension/omatcopy2.cpp +++ b/benchmark/syclblas/extension/omatcopy2.cpp @@ -72,8 +72,8 @@ void run(benchmark::State& state, blas::SB_Handle* sb_handle_ptr, int ti, // Run a first time with a verification of the results std::vector m_b_ref = m_b; - reference_blas::ext_omatcopy2(*t_str, m, n, alpha, m_a, lda, inc_a, m_b_ref, - ldb, inc_b); + reference_blas::ext_omatcopy2(*t_str, m, n, alpha, m_a.data(), lda, inc_a, + m_b_ref.data(), ldb, inc_b); std::vector m_b_temp = m_b; { diff --git a/common/include/common/blas_extension_state_counters.hpp b/common/include/common/blas_extension_state_counters.hpp index 302c2c355..52f0a8c65 100644 --- a/common/include/common/blas_extension_state_counters.hpp +++ b/common/include/common/blas_extension_state_counters.hpp @@ -46,6 +46,7 @@ inline typename std::enable_if< op == ExtensionOP::imatcopy_batch>::type init_extension_counters(benchmark::State& state, const char* trans, index_t m, index_t n, index_t lda_mul, index_t ldb_mul, + index_t inc_a = 1, index_t inc_b = 1, index_t stride_a_mul = 1, index_t stride_b_mul = 1, index_t batch_size = 1) { // Google-benchmark counters are double.