ViennaCL - The Vienna Computing Library  1.6.0
Free open-source GPU-accelerated linear algebra and solver library.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vector_axpy.hpp
Go to the documentation of this file.
1 #ifndef VIENNACL_DEVICE_SPECIFIC_BUILTIN_DATABASE_VECTOR_AXPY_HPP_
2 #define VIENNACL_DEVICE_SPECIFIC_BUILTIN_DATABASE_VECTOR_AXPY_HPP_
3 
4 /* =========================================================================
5  Copyright (c) 2010-2014, Institute for Microelectronics,
6  Institute for Analysis and Scientific Computing,
7  TU Wien.
8  Portions of this software are copyright by UChicago Argonne, LLC.
9 
10  -----------------
11  ViennaCL - The Vienna Computing Library
12  -----------------
13 
14  Project Head: Karl Rupp rupp@iue.tuwien.ac.at
15 
16  (A list of authors and contributors can be found in the PDF manual)
17 
18  License: MIT (X11), see file LICENSE in the base directory
19 ============================================================================= */
20 
22 
24 
26 
28 
30 
32 
35 
38 
40 
43 
44 
46 
48 
50 
53 
57 
63 namespace viennacl
64 {
65 namespace device_specific
66 {
67 namespace builtin_database
68 {
69 
71 {
73 
76 
103 
104  return result;
105 }
106 
107 static database_type<vector_axpy_template::parameters_type> vector_axpy = init_vector_axpy();
108 
109 template<class NumericT>
111 {
112  return get_parameters<NumericT>(vector_axpy, device);
113 }
114 
115 }
116 }
117 }
118 #endif
void add_4B(database_type< matrix_product_template::parameters_type > &db, char_to_type<'T'>, char_to_type<'T'>)
Definition: barts.hpp:26
void add_8B(database_type< matrix_product_template::parameters_type > &db, char_to_type<'T'>, char_to_type<'T'>)
void add_4B(database_type< reduction_template::parameters_type > &db)
Definition: cypress.hpp:31
void add_8B(database_type< matrix_product_template::parameters_type > &db, char_to_type<'T'>, char_to_type<'T'>)
void add_8B(database_type< matrix_product_template::parameters_type > &db, char_to_type<'T'>, char_to_type<'T'>)
Definition: tahiti.hpp:26
A class representing a compute device (e.g. a GPU)
Definition: device.hpp:49
void add_8B(database_type< vector_axpy_template::parameters_type > &db)
Definition: fallback.hpp:66
void add_4B(database_type< matrix_product_template::parameters_type > &db, char_to_type<'T'>, char_to_type<'T'>)
Definition: hawaii.hpp:46
void add_8B(database_type< row_wise_reduction_template::parameters_type > &db, char_to_type<'T'>)
void add_8B(database_type< vector_axpy_template::parameters_type > &db)
Definition: fallback.hpp:66
void add_4B(database_type< reduction_template::parameters_type > &db)
Definition: cedar.hpp:26
database_type< vector_axpy_template::parameters_type > init_vector_axpy()
Definition: vector_axpy.hpp:70
vector_axpy_template::parameters_type const & vector_axpy_params(ocl::device const &device)
void add_4B(database_type< matrix_product_template::parameters_type > &db, char_to_type<'T'>, char_to_type<'T'>)
void add_4B(database_type< matrix_product_template::parameters_type > &db, char_to_type<'T'>, char_to_type<'T'>)
Definition: scrapper.hpp:26
void add_4B(database_type< matrix_product_template::parameters_type > &db, char_to_type<'T'>, char_to_type<'T'>)
Definition: tesla_k20m.hpp:46
void add_4B(database_type< vector_axpy_template::parameters_type > &db)
Definition: fallback.hpp:20
Various utility implementations for dispatching with respect to the different devices available on th...
void add_4B(database_type< matrix_product_template::parameters_type > &db, char_to_type<'T'>, char_to_type<'T'>)
Definition: tahiti.hpp:46
Forwards declaration.
Provides the datastructures for dealing with a single statement such as 'x = y + z;'.
void add_4B(database_type< matrix_product_template::parameters_type > &db, char_to_type<'T'>, char_to_type<'T'>)
void add_4B(database_type< matrix_product_template::parameters_type > &db, char_to_type<'T'>, char_to_type<'T'>)
Definition: tesla_c2050.hpp:46
void add_4B(database_type< matrix_product_template::parameters_type > &db, char_to_type<'T'>, char_to_type<'T'>)
void add_8B(database_type< reduction_template::parameters_type > &db)
Definition: cypress.hpp:26
void add_8B(database_type< matrix_product_template::parameters_type > &db, char_to_type<'T'>, char_to_type<'T'>)
Definition: hawaii.hpp:26
void add_4B(database_type< matrix_product_template::parameters_type > &db, char_to_type<'T'>, char_to_type<'T'>)
void add_8B(database_type< matrix_product_template::parameters_type > &db, char_to_type<'T'>, char_to_type<'T'>)
void add_8B(database_type< matrix_product_template::parameters_type > &db, char_to_type<'T'>, char_to_type<'T'>)
void add_4B(database_type< matrix_product_template::parameters_type > &db, char_to_type<'T'>, char_to_type<'T'>)
Definition: devastator.hpp:26
void add_8B(database_type< matrix_product_template::parameters_type > &db, char_to_type<'T'>, char_to_type<'T'>)
Definition: tesla_k20m.hpp:26
void add_4B(database_type< vector_axpy_template::parameters_type > &db)
void add_8B(database_type< matrix_product_template::parameters_type > &db, char_to_type<'T'>, char_to_type<'T'>)
Definition: tesla_c2050.hpp:26
void add_4B(database_type< vector_axpy_template::parameters_type > &db)
Definition: fallback.hpp:20