Lines Matching refs:GemmWrapper
399 template <typename GemmWrapper, typename LhsType, typename RhsType,
401 void test_gemm_impl(typename GemmWrapper::Context* context, const LhsType& lhs, in test_gemm_impl()
412 if (!GemmWrapper::Gemm(context, lhs.const_map(), rhs.const_map(), in test_gemm_impl()
434 typedef typename GemmWrapper::BitDepthParams BitDepthParams; in test_gemm_impl()
456 test_gemm_impl<GemmWrapper>(context, lhs, rhs, result, lhs_offset, in test_gemm_impl()
471 OrderName(kRhsOrder), OrderName(kResultOrder), GemmWrapper::Name(), in test_gemm_impl()
492 template <typename GemmWrapper, typename LhsType, typename RhsType,
494 void test_gemm(typename GemmWrapper::Context* context, const LhsType& lhs, in test_gemm()
497 test_gemm_impl<GemmWrapper>(context, lhs, rhs, result, lhs_offset, rhs_offset, in test_gemm()
506 template <typename GemmWrapper, MapOrder LhsOrder, MapOrder RhsOrder,
508 void test_gemm(typename GemmWrapper::Context* context, int rows, int depth, in test_gemm()
512 using BitDepthParams = typename GemmWrapper::BitDepthParams; in test_gemm()
523 test_gemm<GemmWrapper>(context, lhs, rhs, &result, 0, 0, 0, 1); in test_gemm()
524 test_gemm<GemmWrapper>(context, lhs, rhs, &result, 10, 0, 0, 1); in test_gemm()
525 test_gemm<GemmWrapper>(context, lhs, rhs, &result, 0, 10, 0, 1); in test_gemm()
526 test_gemm<GemmWrapper>(context, lhs, rhs, &result, 0, 0, 10, 1); in test_gemm()
527 test_gemm<GemmWrapper>(context, lhs, rhs, &result, 0, 0, 0, 10); in test_gemm()
528 test_gemm<GemmWrapper>(context, lhs, rhs, &result, 10, 10, 10, 10); in test_gemm()
529 test_gemm<GemmWrapper>(context, lhs, rhs, &result, 256, 1, 17, 4); in test_gemm()
531 test_gemm<GemmWrapper>(context, lhs, rhs, &result, -75, -91, 74980, 123); in test_gemm()
536 template <typename GemmWrapper>
537 void test_gemm(typename GemmWrapper::Context* context, int rows, int depth, in test_gemm()
542 test_gemm<GemmWrapper, MapOrder::LhsOrder, MapOrder::RhsOrder, \ in test_gemm()
568 GemmWrapper; in test_gemm_kernel() typedef
569 test_gemm<GemmWrapper>(context, 1, 1, 1, WhatParamsToTest::OnlyGenericCase, in test_gemm_kernel()
571 test_gemm<GemmWrapper>(context, 2, 2, 2, WhatParamsToTest::OnlyGenericCase, in test_gemm_kernel()
573 test_gemm<GemmWrapper>(context, 3, 3, 3, WhatParamsToTest::OnlyGenericCase, in test_gemm_kernel()
575 test_gemm<GemmWrapper>(context, 4, 4, 4, WhatParamsToTest::OnlyGenericCase, in test_gemm_kernel()
577 test_gemm<GemmWrapper>(context, 5, 5, 5, WhatParamsToTest::OnlyGenericCase, in test_gemm_kernel()
579 test_gemm<GemmWrapper>(context, 9, 11, 13, WhatParamsToTest::OnlyGenericCase, in test_gemm_kernel()
581 test_gemm<GemmWrapper>(context, 50, 50, 50, WhatParamsToTest::All, in test_gemm_kernel()
583 test_gemm<GemmWrapper>(context, 200, 200, 200, in test_gemm_kernel()
586 test_gemm<GemmWrapper>(context, 50, 5000, 50, in test_gemm_kernel()
591 template <typename GemmWrapper>
592 void test_gemm(typename GemmWrapper::Context* context) { in test_gemm()
593 test_gemm<GemmWrapper>(context, 1, 1, 1, WhatParamsToTest::All, in test_gemm()
595 test_gemm<GemmWrapper>(context, 2, 1, 1, WhatParamsToTest::All, in test_gemm()
597 test_gemm<GemmWrapper>(context, 1, 2, 1, WhatParamsToTest::All, in test_gemm()
599 test_gemm<GemmWrapper>(context, 1, 1, 2, WhatParamsToTest::All, in test_gemm()
601 test_gemm<GemmWrapper>(context, 2, 2, 2, WhatParamsToTest::All, in test_gemm()
603 test_gemm<GemmWrapper>(context, 3, 3, 3, WhatParamsToTest::All, in test_gemm()
605 test_gemm<GemmWrapper>(context, 4, 4, 4, WhatParamsToTest::All, in test_gemm()
607 test_gemm<GemmWrapper>(context, 5, 5, 5, WhatParamsToTest::All, in test_gemm()
609 test_gemm<GemmWrapper>(context, 6, 6, 6, WhatParamsToTest::All, in test_gemm()
611 test_gemm<GemmWrapper>(context, 3, 5, 7, WhatParamsToTest::All, in test_gemm()
613 test_gemm<GemmWrapper>(context, 7, 3, 5, WhatParamsToTest::All, in test_gemm()
615 test_gemm<GemmWrapper>(context, 5, 7, 3, WhatParamsToTest::All, in test_gemm()
617 test_gemm<GemmWrapper>(context, 8, 8, 8, WhatParamsToTest::All, in test_gemm()
619 test_gemm<GemmWrapper>(context, 16, 16, 16, WhatParamsToTest::All, in test_gemm()
621 test_gemm<GemmWrapper>(context, 32, 32, 32, WhatParamsToTest::All, in test_gemm()
623 test_gemm<GemmWrapper>(context, 64, 64, 64, WhatParamsToTest::All, in test_gemm()
625 test_gemm<GemmWrapper>(context, 128, 128, 128, WhatParamsToTest::All, in test_gemm()
628 test_gemm<GemmWrapper>(context, 16, 17, 16, WhatParamsToTest::All, in test_gemm()
630 test_gemm<GemmWrapper>(context, 37, 55, 73, WhatParamsToTest::All, in test_gemm()
632 test_gemm<GemmWrapper>(context, 57, 87, 117, WhatParamsToTest::All, in test_gemm()
634 test_gemm<GemmWrapper>(context, 93, 83, 73, WhatParamsToTest::All, in test_gemm()
636 test_gemm<GemmWrapper>(context, 109, 89, 99, WhatParamsToTest::All, in test_gemm()
638 test_gemm<GemmWrapper>(context, 78, 101, 82, WhatParamsToTest::All, in test_gemm()
641 test_gemm<GemmWrapper>(context, 512, 512, 512, in test_gemm()
644 test_gemm<GemmWrapper>(context, 1024, 1024, 1024, in test_gemm()
647 test_gemm<GemmWrapper>(context, 567, 2345, 123, in test_gemm()
650 test_gemm<GemmWrapper>(context, 100, 5000, 100, in test_gemm()
653 test_gemm<GemmWrapper>(context, 1, 1, 1000, WhatParamsToTest::OnlyGenericCase, in test_gemm()
655 test_gemm<GemmWrapper>(context, 1000, 1, 1, WhatParamsToTest::OnlyGenericCase, in test_gemm()
657 test_gemm<GemmWrapper>(context, 1, 1000, 1, WhatParamsToTest::OnlyGenericCase, in test_gemm()
659 test_gemm<GemmWrapper>(context, 1, 1000, 1000, in test_gemm()
662 test_gemm<GemmWrapper>(context, 1000, 1, 1000, in test_gemm()
665 test_gemm<GemmWrapper>(context, 1000, 1000, 1, in test_gemm()
668 test_gemm<GemmWrapper>(context, 777, 3456, 1, in test_gemm()
671 test_gemm<GemmWrapper>(context, 4567, 555, 1, in test_gemm()
676 test_gemm<GemmWrapper>(context, 70, 90, 110, WhatParamsToTest::All, in test_gemm()
678 test_gemm<GemmWrapper>(context, 300, 400, 500, in test_gemm()
683 template <typename GemmWrapper>
684 void test_gemv(typename GemmWrapper::Context* context) { in test_gemv()
685 test_gemm<GemmWrapper>(context, 2, 2, 1, WhatParamsToTest::All, in test_gemv()
687 test_gemm<GemmWrapper>(context, 3, 3, 1, WhatParamsToTest::All, in test_gemv()
689 test_gemm<GemmWrapper>(context, 4, 4, 1, WhatParamsToTest::All, in test_gemv()
691 test_gemm<GemmWrapper>(context, 5, 5, 1, WhatParamsToTest::All, in test_gemv()
693 test_gemm<GemmWrapper>(context, 6, 6, 1, WhatParamsToTest::All, in test_gemv()
695 test_gemm<GemmWrapper>(context, 3, 5, 1, WhatParamsToTest::All, in test_gemv()
697 test_gemm<GemmWrapper>(context, 7, 3, 1, WhatParamsToTest::All, in test_gemv()
699 test_gemm<GemmWrapper>(context, 5, 7, 1, WhatParamsToTest::All, in test_gemv()
701 test_gemm<GemmWrapper>(context, 8, 8, 1, WhatParamsToTest::All, in test_gemv()
703 test_gemm<GemmWrapper>(context, 32, 32, 1, WhatParamsToTest::All, in test_gemv()
705 test_gemm<GemmWrapper>(context, 128, 128, 1, WhatParamsToTest::All, in test_gemv()
707 test_gemm<GemmWrapper>(context, 321, 123, 1, WhatParamsToTest::All, in test_gemv()
711 test_gemm<GemmWrapper>(context, 70, 90, 1, WhatParamsToTest::All, in test_gemv()
713 test_gemm<GemmWrapper>(context, 300, 400, 1, in test_gemv()