6262#include " testing_rotmg_strided_batched.hpp"
6363#include " testing_scal.hpp"
6464#include " testing_scal_batched.hpp"
65- #include " testing_scal_batched_ex.hpp"
66- #include " testing_scal_ex.hpp"
65+ // #include "testing_scal_batched_ex.hpp"
66+ // #include "testing_scal_ex.hpp"
6767#include " testing_scal_strided_batched.hpp"
68- #include " testing_scal_strided_batched_ex.hpp"
68+ // #include "testing_scal_strided_batched_ex.hpp"
6969#include " testing_swap.hpp"
7070#include " testing_swap_batched.hpp"
7171#include " testing_swap_strided_batched.hpp"
@@ -318,18 +318,9 @@ struct perf_blas<T, U, std::enable_if_t<std::is_same<T, float>{} || std::is_same
318318 void operator ()(const Arguments& arg)
319319 {
320320 static const func_map fmap = {
321- {" asum" , testing_asum<T>},
322- {" asum_batched" , testing_asum_batched<T>},
323- {" asum_strided_batched" , testing_asum_strided_batched<T>},
324- {" axpy" , testing_axpy<T>},
325- {" axpy_batched" , testing_axpy_batched<T>},
326- {" axpy_strided_batched" , testing_axpy_strided_batched<T>},
327321 {" copy" , testing_copy<T>},
328322 {" copy_batched" , testing_copy_batched<T>},
329323 {" copy_strided_batched" , testing_copy_strided_batched<T>},
330- {" dot" , testing_dot<T>},
331- {" dot_batched" , testing_dot_batched<T>},
332- {" dot_strided_batched" , testing_dot_strided_batched<T>},
333324 {" swap" , testing_swap<T>},
334325 {" swap_batched" , testing_swap_batched<T>},
335326 {" swap_strided_batched" , testing_swap_strided_batched<T>},
@@ -340,6 +331,15 @@ struct perf_blas<T, U, std::enable_if_t<std::is_same<T, float>{} || std::is_same
340331 {"set_get_matrix", testing_set_get_matrix<T>},
341332 {"set_get_matrix_async", testing_set_get_matrix_async<T>},
342333 // L1
334+ {"asum", testing_asum<T>},
335+ {"asum_batched", testing_asum_batched<T>},
336+ {"asum_strided_batched", testing_asum_strided_batched<T>},
337+ {"axpy", testing_axpy<T>},
338+ {"axpy_batched", testing_axpy_batched<T>},
339+ {"axpy_strided_batched", testing_axpy_strided_batched<T>},
340+ {"dot", testing_dot<T>},
341+ {"dot_batched", testing_dot_batched<T>},
342+ {"dot_strided_batched", testing_dot_strided_batched<T>},
343343 {"iamax", testing_iamax<T>},
344344 {"iamax_batched", testing_iamax_batched<T>},
345345 {"iamax_strided_batched", testing_iamax_strided_batched<T>},
@@ -416,14 +416,13 @@ struct perf_blas<T, U, std::enable_if_t<std::is_same<T, float>{} || std::is_same
416416 {"syrkx", testing_syr2k<T, false>},
417417 {"syrkx_batched", testing_syr2k_batched<T, false>},
418418 {"syrkx_strided_batched", testing_syr2k_strided_batched<T, false>},
419-
419+ {"trmm", testing_trmm<T>},
420+ {"trmm_batched", testing_trmm_batched<T>},
421+ {"trmm_strided_batched", testing_trmm_strided_batched<T>},
420422 {"trtri", testing_trtri<T>},
421423 {"trtri_batched", testing_trtri_batched<T>},
422424 {"trtri_strided_batched", testing_trtri_strided_batched<T>},
423425*/
424- {" trmm" , testing_trmm<T>},
425- {" trmm_batched" , testing_trmm_batched<T>},
426- {" trmm_strided_batched" , testing_trmm_strided_batched<T>},
427426 {" gemm" , testing_gemm<T>},
428427 {" gemm_batched" , testing_gemm_batched<T>},
429428 {" gemm_strided_batched" , testing_gemm_strided_batched<T>},
@@ -454,9 +453,11 @@ struct perf_blas<T, U, std::enable_if_t<std::is_same<T, hipblasBfloat16>{}>> : h
454453 void operator ()(const Arguments& arg)
455454 {
456455 static const func_map map = {
456+ /*
457457 {"dot", testing_dot<T>},
458458 {"dot_batched", testing_dot_batched<T>},
459459 {"dot_strided_batched", testing_dot_strided_batched<T>},
460+ */
460461 };
461462 run_function (map, arg);
462463 }
@@ -468,12 +469,13 @@ struct perf_blas<T, U, std::enable_if_t<std::is_same<T, hipblasHalf>{}>> : hipbl
468469 void operator ()(const Arguments& arg)
469470 {
470471 static const func_map map = {
471- {" axpy" , testing_axpy<T>},
472- {" axpy_batched" , testing_axpy_batched<T>},
473- {" axpy_strided_batched" , testing_axpy_strided_batched<T>},
474- {" dot" , testing_dot<T>},
475- {" dot_batched" , testing_dot_batched<T>},
476- {" dot_strided_batched" , testing_dot_strided_batched<T>},
472+ /* {"axpy", testing_axpy<T>},
473+ {"axpy_batched", testing_axpy_batched<T>},
474+ {"axpy_strided_batched", testing_axpy_strided_batched<T>},
475+ {"dot", testing_dot<T>},
476+ {"dot_batched", testing_dot_batched<T>},
477+ {"dot_strided_batched", testing_dot_strided_batched<T>},
478+ */
477479 {" gemm" , testing_gemm<T>},
478480 {" gemm_batched" , testing_gemm_batched<T>},
479481 {" gemm_strided_batched" , testing_gemm_strided_batched<T>},
@@ -493,28 +495,27 @@ struct perf_blas<
493495 void operator ()(const Arguments& arg)
494496 {
495497 static const func_map map = {
496- {" asum" , testing_asum<T>},
497- {" asum_batched" , testing_asum_batched<T>},
498- {" asum_strided_batched" , testing_asum_strided_batched<T>},
499- {" axpy" , testing_axpy<T>},
500- {" axpy_batched" , testing_axpy_batched<T>},
501- {" axpy_strided_batched" , testing_axpy_strided_batched<T>},
502498 {" copy" , testing_copy<T>},
503499 {" copy_batched" , testing_copy_batched<T>},
504500 {" copy_strided_batched" , testing_copy_strided_batched<T>},
505- {" dot" , testing_dot<T>},
506- {" dot_batched" , testing_dot_batched<T>},
507- {" dot_strided_batched" , testing_dot_strided_batched<T>},
508- {" dotc" , testing_dotc<T>},
509- {" dotc_batched" , testing_dotc_batched<T>},
510- {" dotc_strided_batched" , testing_dotc_strided_batched<T>},
511501 {" swap" , testing_swap<T>},
512502 {" swap_batched" , testing_swap_batched<T>},
513503 {" swap_strided_batched" , testing_swap_strided_batched<T>},
514504 {" scal" , testing_scal<T>},
515505 {" scal_batched" , testing_scal_batched<T>},
516506 {" scal_strided_batched" , testing_scal_strided_batched<T>},
517- /*
507+ /* {"asum", testing_asum<T>},
508+ {"asum_batched", testing_asum_batched<T>},
509+ {"asum_strided_batched", testing_asum_strided_batched<T>},
510+ {"axpy", testing_axpy<T>},
511+ {"axpy_batched", testing_axpy_batched<T>},
512+ {"axpy_strided_batched", testing_axpy_strided_batched<T>},
513+ {"dot", testing_dot<T>},
514+ {"dot_batched", testing_dot_batched<T>},
515+ {"dot_strided_batched", testing_dot_strided_batched<T>},
516+ {"dotc", testing_dotc<T>},
517+ {"dotc_batched", testing_dotc_batched<T>},
518+ {"dotc_strided_batched", testing_dotc_strided_batched<T>},
518519 {"iamax", testing_iamax<T>},
519520 {"iamax_batched", testing_iamax_batched<T>},
520521 {"iamax_strided_batched", testing_iamax_strided_batched<T>},
@@ -633,9 +634,10 @@ struct perf_blas<
633634 {" trsv" , testing_trsv<T>},
634635 {" trsv_batched" , testing_trsv_batched<T>},
635636 {" trsv_strided_batched" , testing_trsv_strided_batched<T>},
636- {" trmm" , testing_trmm<T>},
637+ /* {"trmm", testing_trmm<T>},
637638 {"trmm_batched", testing_trmm_batched<T>},
638639 {"trmm_strided_batched", testing_trmm_strided_batched<T>},
640+ */
639641 };
640642 run_function (map, arg);
641643 }
@@ -756,7 +758,6 @@ struct perf_blas_scal_ex<
756758 || (std::is_same<Ta, hipblasDoubleComplex>{} && std::is_same<Ta, Tx>{}
757759 && std::is_same<Tx, Tex>{})
758760 || (std::is_same<Ta, hipblasHalf>{} && std::is_same<Ta, Tx>{} && std::is_same<Tex, float >{})
759- || (std::is_same<Ta, float >{} && std::is_same<Tx, hipblasHalf>{} && std::is_same<Ta, Tex>{})
760761 || (std::is_same<Ta, float >{} && std::is_same<Tx, hipblasComplex>{}
761762 && std::is_same<Tx, Tex>{})
762763 || (std::is_same<Ta, double >{} && std::is_same<Tx, hipblasDoubleComplex>{}
@@ -765,9 +766,9 @@ struct perf_blas_scal_ex<
765766 void operator ()(const Arguments& arg)
766767 {
767768 static const func_map map = {
768- {" scal_ex" , testing_scal_ex_template <Ta, Tx, Tex>},
769- {" scal_batched_ex" , testing_scal_batched_ex_template <Ta, Tx, Tex>},
770- {" scal_strided_batched_ex" , testing_scal_strided_batched_ex_template <Ta, Tx, Tex>},
769+ // {"scal_ex", testing_scal_ex <Ta, Tx, Tex>},
770+ // {"scal_batched_ex", testing_scal_batched_ex <Ta, Tx, Tex>},
771+ // {"scal_strided_batched_ex", testing_scal_strided_batched_ex <Ta, Tx, Tex>},
771772 };
772773 run_function (map, arg);
773774 }
@@ -961,9 +962,6 @@ int run_bench_test(Arguments& arg)
961962 }
962963 else
963964 {
964- if (!strcmp (function, " scal_ex" ) || !strcmp (function, " scal_batched_ex" )
965- || !strcmp (function, " scal_strided_batched_ex" ))
966- hipblas_blas1_ex_dispatch<perf_blas_scal_ex>(arg);
967965 /*
968966 if(!strcmp(function, "scal") || !strcmp(function, "scal_batched")
969967 || !strcmp(function, "scal_strided_batched"))
@@ -976,10 +974,13 @@ int run_bench_test(Arguments& arg)
976974 hipblas_blas1_dispatch<perf_blas_rot>(arg);
977975 else if(!strcmp(function, "axpy_ex") || !strcmp(function, "axpy_batched_ex")
978976 || !strcmp(function, "axpy_strided_batched_ex"))
979- hipblas_blas1_ex_dispatch<perf_blas_axpy_ex>(arg);*/
980-
977+ hipblas_blas1_ex_dispatch<perf_blas_axpy_ex>(arg);
978+ else if(!strcmp(function, "scal_ex") || !strcmp(function, "scal_batched_ex")
979+ || !strcmp(function, "scal_strided_batched_ex"))
980+ hipblas_blas1_ex_dispatch<perf_blas_scal_ex>(arg);
981981 else
982- hipblas_simple_dispatch<perf_blas>(arg);
982+ */
983+ hipblas_simple_dispatch<perf_blas>(arg);
983984 }
984985 return 0 ;
985986}
0 commit comments