Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion clients/benchmarks/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ endif( )
set( rocblas_benchmark_common
../common/utility.cpp
../common/cblas_interface.cpp
../common/norm.cpp
../common/rocblas_parse_data.cpp
)

Expand Down
22 changes: 11 additions & 11 deletions clients/benchmarks/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,7 @@ struct perf_gemm_ex : rocblas_test_invalid
};

template <typename Ti, typename To, typename Tc>
struct perf_gemm_ex<Ti,
To,
Tc,
typename std::enable_if<!std::is_same<Ti, void>{} && !is_complex<Ti>>::type>
struct perf_gemm_ex<Ti, To, Tc, typename std::enable_if<!std::is_same<Ti, void>{}>::type>
{
explicit operator bool()
{
Expand All @@ -78,11 +75,10 @@ struct perf_gemm_strided_batched_ex : rocblas_test_invalid
};

template <typename Ti, typename To, typename Tc>
struct perf_gemm_strided_batched_ex<
Ti,
To,
Tc,
typename std::enable_if<!std::is_same<Ti, void>{} && !is_complex<Ti>>::type>
struct perf_gemm_strided_batched_ex<Ti,
To,
Tc,
typename std::enable_if<!std::is_same<Ti, void>{}>::type>
{
explicit operator bool()
{
Expand Down Expand Up @@ -194,7 +190,11 @@ struct perf_blas<T,
}
void operator()(const Arguments& arg)
{
if(!strcmp(arg.function, "asum"))
if(!strcmp(arg.function, "gemm"))
testing_gemm<T>(arg);
else if(!strcmp(arg.function, "gemm_strided_batched"))
testing_gemm_strided_batched<T>(arg);
else if(!strcmp(arg.function, "asum"))
testing_asum<T>(arg);
else if(!strcmp(arg.function, "axpy"))
testing_axpy<T>(arg);
Expand Down Expand Up @@ -518,7 +518,7 @@ try
value<double>(&arg.beta)->default_value(0.0), "specifies the scalar beta")

("betai",
value<double>(&arg.beta)->default_value(0.0), "specifies the imaginary part of the scalar beta")
value<double>(&arg.betai)->default_value(0.0), "specifies the imaginary part of the scalar beta")

("function,f",
value<std::string>(&function),
Expand Down
Loading