• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
9 #pragma once
10 
11 #include <boost/numeric/ublas/opencl.hpp>
12 #include "../init.hpp"
13 
14 namespace boost { namespace numeric { namespace ublas { namespace benchmark {
15 
16 template <typename T>
init(T & v,unsigned long size,int max_value)17 void init(T &v, unsigned long size, int max_value)
18 {
19   // TBD
20 }
21 
22 template <typename T>
init(vector<T,opencl::storage> & v,unsigned long size,int max_value)23 void init(vector<T, opencl::storage> &v, unsigned long size, int max_value)
24 {
25   // TBD
26 }
27 
28 template <typename T>
init(matrix<T,opencl::storage> & m,unsigned long size1,unsigned long size2,int max_value)29 void init(matrix<T, opencl::storage> &m, unsigned long size1, unsigned long size2, int max_value)
30 {
31   // TBD
32 }
33 
34 template <typename T>
init(matrix<T,opencl::storage> & m,unsigned long size,int max_value)35 void init(matrix<T, opencl::storage> &m, unsigned long size, int max_value)
36 {
37   init(m, size, size, max_value);
38 }
39 
40 }}}}
41