Skip to content

Commit

Permalink
Added const qualifier to USM API
Browse files Browse the repository at this point in the history
  • Loading branch information
aacostadiaz committed Aug 11, 2023
1 parent 37be9e4 commit a7cf3d5
Show file tree
Hide file tree
Showing 92 changed files with 1,518 additions and 1,569 deletions.
7 changes: 3 additions & 4 deletions benchmark/syclblas/blas2/tpmv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,7 @@ void register_benchmark(blas::SB_Handle* sb_handle_ptr, bool* success,
};
benchmark::RegisterBenchmark(
blas_benchmark::utils::get_name<benchmark_op, scalar_t>(
uplos, ts, diags, n, blas_benchmark::utils::MEM_TYPE_BUFFER)
.c_str(),
uplos, ts, diags, n, mem_type).c_str(),
BM_lambda, sb_handle_ptr, uplos, ts, diags, n, success)
->UseRealTime();
}
Expand All @@ -157,10 +156,10 @@ void register_benchmark(blas_benchmark::Args& args,
auto tpmv_params = blas_benchmark::utils::get_trsv_params(args);

register_benchmark<scalar_t, blas::helper::AllocType::buffer>(
sb_handle_ptr, success, "buffer", tpmv_params);
sb_handle_ptr, success, blas_benchmark::utils::MEM_TYPE_BUFFER, tpmv_params);
#ifdef SB_ENABLE_USM
register_benchmark<scalar_t, blas::helper::AllocType::usm>(
sb_handle_ptr, success, "usm", tpmv_params);
sb_handle_ptr, success, blas_benchmark::utils::MEM_TYPE_USM, tpmv_params);
#endif
}

Expand Down
Loading

0 comments on commit a7cf3d5

Please sign in to comment.