init.hpp 871 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //
  2. // Copyright (c) 2018 Stefan Seefeld
  3. // All rights reserved.
  4. //
  5. // This file is part of Boost.uBLAS. It is made available under the
  6. // Boost Software License, Version 1.0.
  7. // (Consult LICENSE or http://www.boost.org/LICENSE_1_0.txt)
  8. #pragma once
  9. #include <boost/numeric/ublas/opencl.hpp>
  10. #include "../init.hpp"
  11. namespace boost { namespace numeric { namespace ublas { namespace benchmark {
  12. template <typename T>
  13. void init(T &v, unsigned long size, int max_value)
  14. {
  15. // TBD
  16. }
  17. template <typename T>
  18. void init(vector<T, opencl::storage> &v, unsigned long size, int max_value)
  19. {
  20. // TBD
  21. }
  22. template <typename T>
  23. void init(matrix<T, opencl::storage> &m, unsigned long size1, unsigned long size2, int max_value)
  24. {
  25. // TBD
  26. }
  27. template <typename T>
  28. void init(matrix<T, opencl::storage> &m, unsigned long size, int max_value)
  29. {
  30. init(m, size, size, max_value);
  31. }
  32. }}}}