Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
Removed redundant gemm batch type check in benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
OuadiElfarouki committed Oct 24, 2023
1 parent 3e3d4dc commit ad82e17
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions benchmark/portblas/blas3/gemm_batched.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -302,11 +302,6 @@ void run(benchmark::State& state, blas::SB_Handle* sb_handle_ptr, int t1,
reinterpret_cast<void*>(c_ref.data() + _base(m, n, batch_idx)), ldc);
}

if (batch_type == blas::gemm_batch_type_t::interleaved) {
state.SkipWithError("Interleaved unsupported with Complex data types.");
*success = false;
}

#endif // BLAS_VERIFY_BENCHMARK

auto a_gpu = blas::helper::allocate<mem_alloc, blas::complex_sycl<scalar_t>>(
Expand Down Expand Up @@ -417,7 +412,7 @@ void register_cplx_benchmark(
batch_type) = p;
// Only batch_type == strided is supported with Complex data
if (batch_type == 1) {
std::cerr << "interleaved memory for gemm_batched operator is not "
std::cerr << "Interleaved memory for gemm_batched operator is not "
"supported whith complex data type\n";
continue;
}
Expand Down

0 comments on commit ad82e17

Please sign in to comment.