ViennaCL - The Vienna Computing Library
1.7.1
Free open-source GPU-accelerated linear algebra and solver library.
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
fallback.hpp
Go to the documentation of this file.
1
#ifndef VIENNACL_DEVICE_SPECIFIC_BUILTIN_DATABASE_DEVICES_CPU_FALLBACK_HPP_
2
#define VIENNACL_DEVICE_SPECIFIC_BUILTIN_DATABASE_DEVICES_CPU_FALLBACK_HPP_
3
4
/* =========================================================================
5
Copyright (c) 2010-2016, 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
21
#include "
viennacl/device_specific/forwards.h
"
22
#include "
viennacl/device_specific/builtin_database/common.hpp
"
23
24
#include "
viennacl/device_specific/templates/matrix_product_template.hpp
"
25
26
namespace
viennacl{
27
namespace
device_specific{
28
namespace
builtin_database{
29
namespace
devices{
30
namespace
cpu{
31
namespace
fallback{
32
33
inline
void
add_4B
(
database_type<matrix_product_template::parameters_type>
& db,
char_to_type<'N'>
,
char_to_type<'N'>
)
34
{
35
db.
add_4B
(
unknown_id
, CL_DEVICE_TYPE_CPU,
unknown
,
""
,
matrix_product_template::parameters_type
(1,8,8,1,4,4,4,
FETCH_FROM_GLOBAL_STRIDED
,
FETCH_FROM_GLOBAL_STRIDED
,0,0));
36
}
37
38
inline
void
add_4B
(
database_type<matrix_product_template::parameters_type>
& db,
char_to_type<'T'>
,
char_to_type<'N'>
)
39
{
40
db.
add_4B
(
unknown_id
, CL_DEVICE_TYPE_CPU,
unknown
,
""
,
matrix_product_template::parameters_type
(1,8,8,1,4,4,4,
FETCH_FROM_GLOBAL_STRIDED
,
FETCH_FROM_GLOBAL_STRIDED
,0,0));
41
}
42
43
inline
void
add_4B
(
database_type<matrix_product_template::parameters_type>
& db,
char_to_type<'N'>
,
char_to_type<'T'>
)
44
{
45
db.
add_4B
(
unknown_id
, CL_DEVICE_TYPE_CPU,
unknown
,
""
,
matrix_product_template::parameters_type
(1,8,8,1,4,4,4,
FETCH_FROM_GLOBAL_STRIDED
,
FETCH_FROM_GLOBAL_STRIDED
,0,0));
46
}
47
48
inline
void
add_4B
(
database_type<matrix_product_template::parameters_type>
& db,
char_to_type<'T'>
,
char_to_type<'T'>
)
49
{
50
db.
add_4B
(
unknown_id
, CL_DEVICE_TYPE_CPU,
unknown
,
""
,
matrix_product_template::parameters_type
(1,8,8,1,4,4,4,
FETCH_FROM_GLOBAL_STRIDED
,
FETCH_FROM_GLOBAL_STRIDED
,0,0));
51
}
52
53
54
55
inline
void
add_8B
(
database_type<matrix_product_template::parameters_type>
& db,
char_to_type<'N'>
,
char_to_type<'N'>
)
56
{
57
db.
add_8B
(
unknown_id
, CL_DEVICE_TYPE_CPU,
unknown
,
""
,
matrix_product_template::parameters_type
(1,8,8,1,4,4,4,
FETCH_FROM_GLOBAL_STRIDED
,
FETCH_FROM_GLOBAL_STRIDED
,0,0));
58
}
59
60
inline
void
add_8B
(
database_type<matrix_product_template::parameters_type>
& db,
char_to_type<'T'>
,
char_to_type<'N'>
)
61
{
62
db.
add_8B
(
unknown_id
, CL_DEVICE_TYPE_CPU,
unknown
,
""
,
matrix_product_template::parameters_type
(1,8,8,1,4,4,4,
FETCH_FROM_GLOBAL_STRIDED
,
FETCH_FROM_GLOBAL_STRIDED
,0,0));
63
}
64
65
inline
void
add_8B
(
database_type<matrix_product_template::parameters_type>
& db,
char_to_type<'N'>
,
char_to_type<'T'>
)
66
{
67
db.
add_8B
(
unknown_id
, CL_DEVICE_TYPE_CPU,
unknown
,
""
,
matrix_product_template::parameters_type
(1,8,8,1,4,4,4,
FETCH_FROM_GLOBAL_STRIDED
,
FETCH_FROM_GLOBAL_STRIDED
,0,0));
68
}
69
70
inline
void
add_8B
(
database_type<matrix_product_template::parameters_type>
& db,
char_to_type<'T'>
,
char_to_type<'T'>
)
71
{
72
db.
add_8B
(
unknown_id
, CL_DEVICE_TYPE_CPU,
unknown
,
""
,
matrix_product_template::parameters_type
(1,8,8,1,4,4,4,
FETCH_FROM_GLOBAL_STRIDED
,
FETCH_FROM_GLOBAL_STRIDED
,0,0));
73
}
74
75
76
}
77
}
78
}
79
}
80
}
81
}
82
83
84
#endif
viennacl::device_specific::builtin_database::devices::cpu::fallback::add_8B
void add_8B(database_type< matrix_product_template::parameters_type > &db, char_to_type<'N'>, char_to_type<'N'>)
Definition:
fallback.hpp:55
viennacl::device_specific::builtin_database::database_type
Definition:
common.hpp:44
matrix_product_template.hpp
viennacl::ocl::unknown_id
Definition:
device_utils.hpp:51
viennacl::device_specific::builtin_database::database_type::add_8B
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
viennacl::device_specific::FETCH_FROM_GLOBAL_STRIDED
Definition:
template_base.hpp:50
common.hpp
viennacl::device_specific::builtin_database::database_type::add_4B
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
viennacl::device_specific::char_to_type
Definition:
forwards.h:260
forwards.h
Forwards declaration.
viennacl::device_specific::builtin_database::devices::cpu::fallback::add_4B
void add_4B(database_type< matrix_product_template::parameters_type > &db, char_to_type<'N'>, char_to_type<'N'>)
Definition:
fallback.hpp:33
viennacl::device_specific::template_base::parameters_type
Definition:
template_base.hpp:57
viennacl::ocl::unknown
Definition:
device_utils.hpp:69
viennacl
device_specific
builtin_database
devices
cpu
fallback.hpp
Generated on Wed Jan 20 2016 22:32:39 for ViennaCL - The Vienna Computing Library by
1.8.6