ViennaCL - The Vienna Computing Library
1.6.1
Free open-source GPU-accelerated linear algebra and solver library.
geforce_gtx_260.hpp
Go to the documentation of this file.
1
#ifndef VIENNACL_DEVICE_SPECIFIC_BUILTIN_DATABASE_DEVICES_GPU_NVIDIA_TESLA_HPP_
2
#define VIENNACL_DEVICE_SPECIFIC_BUILTIN_DATABASE_DEVICES_GPU_NVIDIA_TESLA_HPP_
3
4
#include "
viennacl/device_specific/templates/matrix_product_template.hpp
"
5
6
#include "
viennacl/device_specific/templates/row_wise_reduction_template.hpp
"
7
8
#include "
viennacl/device_specific/templates/reduction_template.hpp
"
9
10
#include "
viennacl/device_specific/templates/matrix_axpy_template.hpp
"
11
12
#include "
viennacl/device_specific/templates/vector_axpy_template.hpp
"
13
14
#include "
viennacl/device_specific/forwards.h
"
15
#include "
viennacl/device_specific/builtin_database/common.hpp
"
16
17
namespace
viennacl
{
18
namespace
device_specific{
19
namespace
builtin_database{
20
namespace
devices{
21
namespace
gpu{
22
namespace
nvidia{
23
namespace
tesla
{
24
namespace
geforce_gtx_260{
25
26
inline
void
add_8B
(
database_type<matrix_product_template::parameters_type>
& db,
char_to_type<'T'>
,
char_to_type<'T'>
)
27
{
28
db.
add_4B
(
nvidia_id
, CL_DEVICE_TYPE_GPU,
ocl::tesla
,
"GeForce GTX 260"
,
matrix_product_template::parameters_type
(1,32,2,16,1,1,4,
FETCH_FROM_GLOBAL_STRIDED
,
FETCH_FROM_GLOBAL_CONTIGUOUS
,0,0));
29
}
30
31
inline
void
add_8B
(
database_type<matrix_product_template::parameters_type>
& db,
char_to_type<'T'>
,
char_to_type<'N'>
)
32
{
33
db.
add_4B
(
nvidia_id
, CL_DEVICE_TYPE_GPU,
ocl::tesla
,
"GeForce GTX 260"
,
matrix_product_template::parameters_type
(1,32,2,16,1,1,4,
FETCH_FROM_GLOBAL_STRIDED
,
FETCH_FROM_GLOBAL_CONTIGUOUS
,0,0));
34
}
35
36
inline
void
add_8B
(
database_type<matrix_product_template::parameters_type>
& db,
char_to_type<'N'>
,
char_to_type<'T'>
)
37
{
38
db.
add_4B
(
nvidia_id
, CL_DEVICE_TYPE_GPU,
ocl::tesla
,
"GeForce GTX 260"
,
matrix_product_template::parameters_type
(1,32,2,16,1,1,4,
FETCH_FROM_GLOBAL_STRIDED
,
FETCH_FROM_GLOBAL_CONTIGUOUS
,0,0));
39
}
40
41
inline
void
add_8B
(
database_type<matrix_product_template::parameters_type>
& db,
char_to_type<'N'>
,
char_to_type<'N'>
)
42
{
43
db.
add_4B
(
nvidia_id
, CL_DEVICE_TYPE_GPU,
ocl::tesla
,
"GeForce GTX 260"
,
matrix_product_template::parameters_type
(1,32,2,16,1,1,4,
FETCH_FROM_GLOBAL_STRIDED
,
FETCH_FROM_GLOBAL_CONTIGUOUS
,0,0));
44
}
45
46
inline
void
add_4B
(
database_type<matrix_product_template::parameters_type>
& db,
char_to_type<'T'>
,
char_to_type<'T'>
)
47
{
48
db.
add_4B
(
nvidia_id
, CL_DEVICE_TYPE_GPU,
ocl::tesla
,
"GeForce GTX 260"
,
matrix_product_template::parameters_type
(1,16,2,16,1,1,4,
FETCH_FROM_GLOBAL_STRIDED
,
FETCH_FROM_GLOBAL_CONTIGUOUS
,0,0));
49
}
50
51
inline
void
add_4B
(
database_type<matrix_product_template::parameters_type>
& db,
char_to_type<'T'>
,
char_to_type<'N'>
)
52
{
53
db.
add_4B
(
nvidia_id
, CL_DEVICE_TYPE_GPU,
ocl::tesla
,
"GeForce GTX 260"
,
matrix_product_template::parameters_type
(1,16,2,16,1,1,4,
FETCH_FROM_GLOBAL_STRIDED
,
FETCH_FROM_GLOBAL_CONTIGUOUS
,0,0));
54
}
55
56
inline
void
add_4B
(
database_type<matrix_product_template::parameters_type>
& db,
char_to_type<'N'>
,
char_to_type<'T'>
)
57
{
58
db.
add_4B
(
nvidia_id
, CL_DEVICE_TYPE_GPU,
ocl::tesla
,
"GeForce GTX 260"
,
matrix_product_template::parameters_type
(1,16,2,16,1,1,4,
FETCH_FROM_GLOBAL_STRIDED
,
FETCH_FROM_GLOBAL_CONTIGUOUS
,0,0));
59
}
60
61
inline
void
add_4B
(
database_type<matrix_product_template::parameters_type>
& db,
char_to_type<'N'>
,
char_to_type<'N'>
)
62
{
63
db.
add_4B
(
nvidia_id
, CL_DEVICE_TYPE_GPU,
ocl::tesla
,
"GeForce GTX 260"
,
matrix_product_template::parameters_type
(1,16,2,16,1,1,4,
FETCH_FROM_GLOBAL_STRIDED
,
FETCH_FROM_GLOBAL_CONTIGUOUS
,0,0));
64
}
65
66
inline
void
add_8B
(
database_type<row_wise_reduction_template::parameters_type>
& db,
char_to_type<'T'>
)
67
{
68
db.
add_8B
(
nvidia_id
, CL_DEVICE_TYPE_GPU,
ocl::tesla
,
"GeForce GTX 260"
,
row_wise_reduction_template::parameters_type
(1,2,32,2048,
FETCH_FROM_GLOBAL_STRIDED
));
69
}
70
71
inline
void
add_8B
(
database_type<row_wise_reduction_template::parameters_type>
& db,
char_to_type<'N'>
)
72
{
73
db.
add_8B
(
nvidia_id
, CL_DEVICE_TYPE_GPU,
ocl::tesla
,
"GeForce GTX 260"
,
row_wise_reduction_template::parameters_type
(1,32,4,256,
FETCH_FROM_GLOBAL_CONTIGUOUS
));
74
}
75
76
inline
void
add_4B
(
database_type<row_wise_reduction_template::parameters_type>
& db,
char_to_type<'T'>
)
77
{
78
db.
add_4B
(
nvidia_id
, CL_DEVICE_TYPE_GPU,
ocl::tesla
,
"GeForce GTX 260"
,
row_wise_reduction_template::parameters_type
(1,1,64,1024,
FETCH_FROM_GLOBAL_STRIDED
));
79
}
80
81
inline
void
add_4B
(
database_type<row_wise_reduction_template::parameters_type>
& db,
char_to_type<'N'>
)
82
{
83
db.
add_4B
(
nvidia_id
, CL_DEVICE_TYPE_GPU,
ocl::tesla
,
"GeForce GTX 260"
,
row_wise_reduction_template::parameters_type
(4,32,16,32,
FETCH_FROM_GLOBAL_CONTIGUOUS
));
84
}
85
86
inline
void
add_8B
(
database_type<reduction_template::parameters_type>
& db)
87
{
88
db.
add_8B
(
nvidia_id
, CL_DEVICE_TYPE_GPU,
ocl::tesla
,
"GeForce GTX 260"
,
reduction_template::parameters_type
(1,64,512,
FETCH_FROM_GLOBAL_STRIDED
));
89
}
90
91
inline
void
add_4B
(
database_type<reduction_template::parameters_type>
& db)
92
{
93
db.
add_4B
(
nvidia_id
, CL_DEVICE_TYPE_GPU,
ocl::tesla
,
"GeForce GTX 260"
,
reduction_template::parameters_type
(1,128,512,
FETCH_FROM_GLOBAL_STRIDED
));
94
}
95
96
inline
void
add_8B
(
database_type<matrix_axpy_template::parameters_type>
& db)
97
{
98
db.
add_8B
(
nvidia_id
, CL_DEVICE_TYPE_GPU,
ocl::tesla
,
"GeForce GTX 260"
,
matrix_axpy_template::parameters_type
(1,32,4,128,2,
FETCH_FROM_GLOBAL_STRIDED
));
99
}
100
101
inline
void
add_4B
(
database_type<matrix_axpy_template::parameters_type>
& db)
102
{
103
db.
add_4B
(
nvidia_id
, CL_DEVICE_TYPE_GPU,
ocl::tesla
,
"GeForce GTX 260"
,
matrix_axpy_template::parameters_type
(1,64,2,64,16,
FETCH_FROM_GLOBAL_CONTIGUOUS
));
104
}
105
106
inline
void
add_8B
(
database_type<vector_axpy_template::parameters_type>
& db)
107
{
108
db.
add_8B
(
nvidia_id
, CL_DEVICE_TYPE_GPU,
ocl::tesla
,
"GeForce GTX 260"
,
vector_axpy_template::parameters_type
(1,32,16384,
FETCH_FROM_GLOBAL_STRIDED
));
109
}
110
111
inline
void
add_4B
(
database_type<vector_axpy_template::parameters_type>
& db)
112
{
113
db.
add_4B
(
nvidia_id
, CL_DEVICE_TYPE_GPU,
ocl::tesla
,
"GeForce GTX 260"
,
vector_axpy_template::parameters_type
(1,128,16384,
FETCH_FROM_GLOBAL_STRIDED
));
114
}
115
116
}
117
}
118
}
119
}
120
}
121
}
122
}
123
}
124
#endif
viennacl::ocl::nvidia_id
Definition:
device_utils.hpp:49
viennacl::device_specific::builtin_database::devices::gpu::nvidia::tesla::geforce_gtx_260::add_8B
void add_8B(database_type< matrix_product_template::parameters_type > &db, char_to_type<'T'>, char_to_type<'T'>)
Definition:
geforce_gtx_260.hpp:26
viennacl::device_specific::builtin_database::database_type
Definition:
common.hpp:44
matrix_product_template.hpp
viennacl
Main namespace in ViennaCL. Holds all the basic types such as vector, matrix, etc. and defines operations upon them.
Definition:
cpu_ram.hpp:29
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::devices::gpu::nvidia::tesla::geforce_gtx_260::add_4B
void add_4B(database_type< matrix_product_template::parameters_type > &db, char_to_type<'T'>, char_to_type<'T'>)
Definition:
geforce_gtx_260.hpp:46
viennacl::ocl::tesla
Definition:
device_utils.hpp:58
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
matrix_axpy_template.hpp
viennacl::device_specific::char_to_type
Definition:
forwards.h:249
forwards.h
Forwards declaration.
vector_axpy_template.hpp
row_wise_reduction_template.hpp
viennacl::device_specific::FETCH_FROM_GLOBAL_CONTIGUOUS
Definition:
template_base.hpp:51
viennacl::device_specific::template_base::parameters_type
Definition:
template_base.hpp:57
reduction_template.hpp
viennacl::device_specific::template_base_impl< reduction_template, reduction_parameters >::parameters_type
reduction_parameters parameters_type
Definition:
template_base.hpp:527
viennacl
device_specific
builtin_database
devices
gpu
nvidia
tesla
geforce_gtx_260.hpp
Generated on Thu Nov 20 2014 15:15:30 for ViennaCL - The Vienna Computing Library by
1.8.8