btl_tiny_eigen2.cpp 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. //=====================================================
  2. // Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr>
  3. //=====================================================
  4. //
  5. // This program is free software; you can redistribute it and/or
  6. // modify it under the terms of the GNU General Public License
  7. // as published by the Free Software Foundation; either version 2
  8. // of the License, or (at your option) any later version.
  9. //
  10. // This program is distributed in the hope that it will be useful,
  11. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. // GNU General Public License for more details.
  14. // You should have received a copy of the GNU General Public License
  15. // along with this program; if not, write to the Free Software
  16. // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  17. //
  18. #include "utilities.h"
  19. #include "eigen3_interface.hh"
  20. #include "static/bench_static.hh"
  21. #include "action_matrix_vector_product.hh"
  22. #include "action_matrix_matrix_product.hh"
  23. #include "action_axpy.hh"
  24. #include "action_lu_solve.hh"
  25. #include "action_ata_product.hh"
  26. #include "action_aat_product.hh"
  27. #include "action_atv_product.hh"
  28. #include "action_cholesky.hh"
  29. #include "action_trisolve.hh"
  30. BTL_MAIN;
  31. int main()
  32. {
  33. bench_static<Action_axpy,eigen2_interface>();
  34. bench_static<Action_matrix_matrix_product,eigen2_interface>();
  35. bench_static<Action_matrix_vector_product,eigen2_interface>();
  36. bench_static<Action_atv_product,eigen2_interface>();
  37. bench_static<Action_cholesky,eigen2_interface>();
  38. bench_static<Action_trisolve,eigen2_interface>();
  39. return 0;
  40. }