ViennaCL - The Vienna Computing Library  1.7.0
Free open-source GPU-accelerated linear algebra and solver library.
fallback.hpp
Go to the documentation of this file.
1 #ifndef VIENNACL_DEVICE_SPECIFIC_BUILTIN_DATABASE_DEVICES_ACCELERATOR_FALLBACK_HPP_
2 #define VIENNACL_DEVICE_SPECIFIC_BUILTIN_DATABASE_DEVICES_ACCELERATOR_FALLBACK_HPP_
3 
4 /* =========================================================================
5  Copyright (c) 2010-2015, 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 manual)
17 
18  License: MIT (X11), see file LICENSE in the base directory
19 ============================================================================= */
20 
23 
29 
30 namespace viennacl{
31 namespace device_specific{
32 namespace builtin_database{
33 namespace devices{
34 namespace accelerator{
35 namespace fallback{
36 
38 {
39  db.add_4B(unknown_id, CL_DEVICE_TYPE_ACCELERATOR, unknown, "", vector_axpy_template::parameters_type(1,32*128,1920,FETCH_FROM_GLOBAL_CONTIGUOUS));
40 }
41 
43 {
44  db.add_4B(unknown_id, CL_DEVICE_TYPE_ACCELERATOR, unknown, "", reduction_template::parameters_type(1,32*64,32*64,FETCH_FROM_GLOBAL_CONTIGUOUS));
45 }
46 
48 {
49  db.add_4B(unknown_id, CL_DEVICE_TYPE_ACCELERATOR, unknown, "", matrix_axpy_template::parameters_type(1,32,32,32,32,FETCH_FROM_GLOBAL_CONTIGUOUS));
50 }
51 
53 {
54  db.add_4B(unknown_id, CL_DEVICE_TYPE_ACCELERATOR, unknown, "", row_wise_reduction_template::parameters_type(1,1,32*64,32*64,FETCH_FROM_GLOBAL_CONTIGUOUS));
55 }
56 
58 {
59  db.add_4B(unknown_id, CL_DEVICE_TYPE_ACCELERATOR, unknown, "", row_wise_reduction_template::parameters_type(1,1,32*64,32*64,FETCH_FROM_GLOBAL_CONTIGUOUS));
60 }
61 
63 {
65 }
66 
68 {
70 
71 }
72 
74 {
76 }
77 
79 {
81 }
82 
83 
85 {
86  db.add_8B(unknown_id, CL_DEVICE_TYPE_ACCELERATOR, unknown, "", vector_axpy_template::parameters_type(1,32*128,32*128,FETCH_FROM_GLOBAL_CONTIGUOUS));
87 }
88 
90 {
91  db.add_8B(unknown_id, CL_DEVICE_TYPE_ACCELERATOR, unknown, "", reduction_template::parameters_type(1,32*128,32*128,FETCH_FROM_GLOBAL_CONTIGUOUS));
92 }
93 
95 {
96  db.add_8B(unknown_id, CL_DEVICE_TYPE_ACCELERATOR, unknown, "", matrix_axpy_template::parameters_type(1,32,32,32,32,FETCH_FROM_GLOBAL_CONTIGUOUS));
97 }
98 
100 {
101  db.add_8B(unknown_id, CL_DEVICE_TYPE_ACCELERATOR, unknown, "", row_wise_reduction_template::parameters_type(1,1,32*64,32*64,FETCH_FROM_GLOBAL_CONTIGUOUS));
102 }
103 
105 {
106  db.add_8B(unknown_id, CL_DEVICE_TYPE_ACCELERATOR, unknown, "", row_wise_reduction_template::parameters_type(1,1,32*64,32*64,FETCH_FROM_GLOBAL_CONTIGUOUS));
107 }
108 
110 {
112 }
113 
115 {
117 }
118 
120 {
122 }
123 
125 {
127 }
128 
129 
130 }
131 }
132 }
133 }
134 }
135 }
136 
137 
138 #endif
Main namespace in ViennaCL. Holds all the basic types such as vector, matrix, etc. and defines operations upon them.
Definition: cpu_ram.hpp:34
database_type< ParamT > & add_8B(vendor_id_type p0, device_type p1, ocl::device_architecture_family p2, device_name_type p3, ParamT const &p5)
Definition: common.hpp:83
database_type< ParamT > & add_4B(vendor_id_type p0, device_type p1, ocl::device_architecture_family p2, device_name_type p3, ParamT const &p5)
Definition: common.hpp:76
Forwards declaration.
void add_4B(database_type< vector_axpy_template::parameters_type > &db)
Definition: fallback.hpp:37
void add_8B(database_type< vector_axpy_template::parameters_type > &db)
Definition: fallback.hpp:84