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
devastator.hpp
Go to the documentation of this file.
1
#ifndef VIENNACL_DEVICE_SPECIFIC_BUILTIN_DATABASE_DEVICES_GPU_AMD_NORTHERN_ISLANDS_DEVASTATOR_HPP_
2
#define VIENNACL_DEVICE_SPECIFIC_BUILTIN_DATABASE_DEVICES_GPU_AMD_NORTHERN_ISLANDS_DEVASTATOR_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/matrix_axpy_template.hpp
"
9
10
#include "
viennacl/device_specific/templates/reduction_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
amd{
23
namespace
northern_islands
{
24
namespace
devastator{
25
26
inline
void
add_4B
(
database_type<matrix_product_template::parameters_type>
& db,
char_to_type<'T'>
,
char_to_type<'T'>
)
27
{
28
db.
add_4B
(
amd_id
, CL_DEVICE_TYPE_GPU,
ocl::northern_islands
,
"Devastator"
,
matrix_product_template::parameters_type
(1,8,16,8,2,1,2,
FETCH_FROM_LOCAL
,
FETCH_FROM_LOCAL
,8,8));
29
}
30
31
inline
void
add_4B
(
database_type<matrix_product_template::parameters_type>
& db,
char_to_type<'T'>
,
char_to_type<'N'>
)
32
{
33
db.
add_4B
(
amd_id
, CL_DEVICE_TYPE_GPU,
ocl::northern_islands
,
"Devastator"
,
matrix_product_template::parameters_type
(1,16,16,8,2,1,2,
FETCH_FROM_LOCAL
,
FETCH_FROM_LOCAL
,16,8));
34
}
35
36
inline
void
add_4B
(
database_type<matrix_product_template::parameters_type>
& db,
char_to_type<'N'>
,
char_to_type<'T'>
)
37
{
38
db.
add_4B
(
amd_id
, CL_DEVICE_TYPE_GPU,
ocl::northern_islands
,
"Devastator"
,
matrix_product_template::parameters_type
(2,64,16,4,2,1,2,
FETCH_FROM_GLOBAL_CONTIGUOUS
,
FETCH_FROM_GLOBAL_CONTIGUOUS
,0,0));
39
}
40
41
inline
void
add_4B
(
database_type<matrix_product_template::parameters_type>
& db,
char_to_type<'N'>
,
char_to_type<'N'>
)
42
{
43
db.
add_4B
(
amd_id
, CL_DEVICE_TYPE_GPU,
ocl::northern_islands
,
"Devastator"
,
matrix_product_template::parameters_type
(1,16,16,8,1,2,2,
FETCH_FROM_LOCAL
,
FETCH_FROM_LOCAL
,8,16));
44
}
45
46
inline
void
add_4B
(
database_type<row_wise_reduction_template::parameters_type>
& db,
char_to_type<'T'>
)
47
{
48
db.
add_4B
(
amd_id
, CL_DEVICE_TYPE_GPU,
ocl::northern_islands
,
"Devastator"
,
row_wise_reduction_template::parameters_type
(4,2,64,512,
FETCH_FROM_GLOBAL_STRIDED
));
49
}
50
51
inline
void
add_4B
(
database_type<row_wise_reduction_template::parameters_type>
& db,
char_to_type<'N'>
)
52
{
53
db.
add_4B
(
amd_id
, CL_DEVICE_TYPE_GPU,
ocl::northern_islands
,
"Devastator"
,
row_wise_reduction_template::parameters_type
(2,64,2,128,
FETCH_FROM_GLOBAL_STRIDED
));
54
}
55
56
inline
void
add_4B
(
database_type<matrix_axpy_template::parameters_type>
& db)
57
{
58
db.
add_4B
(
amd_id
, CL_DEVICE_TYPE_GPU,
ocl::northern_islands
,
"Devastator"
,
matrix_axpy_template::parameters_type
(1,64,2,128,4,
FETCH_FROM_GLOBAL_STRIDED
));
59
}
60
61
inline
void
add_4B
(
database_type<reduction_template::parameters_type>
& db)
62
{
63
db.
add_4B
(
amd_id
, CL_DEVICE_TYPE_GPU,
ocl::northern_islands
,
"Devastator"
,
reduction_template::parameters_type
(8,256,16,
FETCH_FROM_GLOBAL_STRIDED
));
64
}
65
66
inline
void
add_4B
(
database_type<vector_axpy_template::parameters_type>
& db)
67
{
68
db.
add_4B
(
amd_id
, CL_DEVICE_TYPE_GPU,
ocl::northern_islands
,
"Devastator"
,
vector_axpy_template::parameters_type
(1,256,4,
FETCH_FROM_GLOBAL_STRIDED
));
69
}
70
71
}
72
}
73
}
74
}
75
}
76
}
77
}
78
}
79
#endif
viennacl::ocl::northern_islands
Definition:
device_utils.hpp:65
viennacl::device_specific::builtin_database::database_type
Definition:
common.hpp:44
matrix_product_template.hpp
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::ocl::amd_id
Definition:
device_utils.hpp:50
matrix_axpy_template.hpp
viennacl::device_specific::char_to_type
Definition:
forwards.h:249
forwards.h
Forwards declaration.
vector_axpy_template.hpp
viennacl::device_specific::FETCH_FROM_LOCAL
Definition:
template_base.hpp:49
row_wise_reduction_template.hpp
viennacl::device_specific::builtin_database::devices::gpu::amd::northern_islands::devastator::add_4B
void add_4B(database_type< matrix_product_template::parameters_type > &db, char_to_type<'T'>, char_to_type<'T'>)
Definition:
devastator.hpp:26
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< row_wise_reduction_template, row_wise_reduction_parameters >::parameters_type
row_wise_reduction_parameters parameters_type
Definition:
template_base.hpp:527
viennacl
device_specific
builtin_database
devices
gpu
amd
northern_islands
devastator.hpp
Generated on Sat Nov 8 2014 23:11:25 for ViennaCL - The Vienna Computing Library by
1.8.6