ViennaCL - The Vienna Computing Library  1.7.0
Free open-source GPU-accelerated linear algebra and solver library.
geforce_gt_540m.hpp
Go to the documentation of this file.
1 #ifndef VIENNACL_DEVICE_SPECIFIC_BUILTIN_DATABASE_DEVICES_GPU_NVIDIA_FERMI_GT540M_HPP_
2 #define VIENNACL_DEVICE_SPECIFIC_BUILTIN_DATABASE_DEVICES_GPU_NVIDIA_FERMI_GT540M_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 
22 
24 
26 
28 
31 
32 namespace viennacl{
33 namespace device_specific{
34 namespace builtin_database{
35 namespace devices{
36 namespace gpu{
37 namespace nvidia{
38 namespace fermi{
39 namespace geforce_gt_540m{
40 
42 {
43  db.add_4B(nvidia_id, CL_DEVICE_TYPE_GPU, ocl::fermi, "GeForce GT 540M", vector_axpy_template::parameters_type(1, 512, 512, FETCH_FROM_GLOBAL_STRIDED));
44 }
45 
47 {
48  db.add_4B(nvidia_id, CL_DEVICE_TYPE_GPU, ocl::fermi, "GeForce GT 540M", matrix_product_template::parameters_type(1, 16, 16, 8, 4, 1, 8, FETCH_FROM_LOCAL, FETCH_FROM_LOCAL, 16, 8));
49 }
50 
52 {
53  db.add_4B(nvidia_id, CL_DEVICE_TYPE_GPU, ocl::fermi, "GeForce GT 540M", matrix_product_template::parameters_type(1, 16, 16, 16, 8, 1, 4, FETCH_FROM_LOCAL, FETCH_FROM_LOCAL, 32, 8));
54 }
55 
57 {
58  db.add_4B(nvidia_id, CL_DEVICE_TYPE_GPU, ocl::fermi, "GeForce GT 540M", matrix_product_template::parameters_type(1, 8, 16, 16, 8, 1, 4, FETCH_FROM_LOCAL, FETCH_FROM_LOCAL, 16, 8));
59 }
60 
62 {
63  db.add_8B(nvidia_id, CL_DEVICE_TYPE_GPU, ocl::fermi, "GeForce GT 540M", row_wise_reduction_template::parameters_type(4, 1, 256, 1024, FETCH_FROM_GLOBAL_STRIDED));
64 }
65 
67 {
68  db.add_8B(nvidia_id, CL_DEVICE_TYPE_GPU, ocl::fermi, "GeForce GT 540M", row_wise_reduction_template::parameters_type(4, 1024, 1, 16, FETCH_FROM_GLOBAL_STRIDED));
69 }
70 
72 {
73  db.add_4B(nvidia_id, CL_DEVICE_TYPE_GPU, ocl::fermi, "GeForce GT 540M", row_wise_reduction_template::parameters_type(4, 1, 256, 2048, FETCH_FROM_GLOBAL_STRIDED));
74 }
75 
77 {
78  db.add_4B(nvidia_id, CL_DEVICE_TYPE_GPU, ocl::fermi, "GeForce GT 540M", row_wise_reduction_template::parameters_type(4, 32, 16, 128, FETCH_FROM_GLOBAL_STRIDED));
79 }
80 
82 {
83  db.add_8B(nvidia_id, CL_DEVICE_TYPE_GPU, ocl::fermi, "GeForce GT 540M", matrix_axpy_template::parameters_type(1, 1, 128, 32, 16,FETCH_FROM_GLOBAL_STRIDED));
84 }
85 
87 {
88  db.add_4B(nvidia_id, CL_DEVICE_TYPE_GPU, ocl::fermi, "GeForce GT 540M", matrix_axpy_template::parameters_type(1, 1, 128, 4, 4,FETCH_FROM_GLOBAL_STRIDED));
89 }
90 
92 {
93  db.add_8B(nvidia_id, CL_DEVICE_TYPE_GPU, ocl::fermi, "GeForce GT 540M", vector_axpy_template::parameters_type(1, 512, 2048,FETCH_FROM_GLOBAL_STRIDED));
94 }
95 
96 }
97 }
98 }
99 }
100 }
101 }
102 }
103 }
104 #endif
void add_8B(database_type< row_wise_reduction_template::parameters_type > &db, char_to_type<'T'>)
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)