ViennaCL - The Vienna Computing Library
1.5.2
|
00001 #ifndef VIENNACL_DEVICE_SPECIFIC_BUILTIN_DATABASE_DEVICES_CPU_AMD_UNKNOWN_HPP_ 00002 #define VIENNACL_DEVICE_SPECIFIC_BUILTIN_DATABASE_DEVICES_CPU_AMD_UNKNOWN_HPP_ 00003 00004 #include "viennacl/device_specific/templates/row_wise_reduction_template.hpp" 00005 00006 #include "viennacl/device_specific/templates/matrix_axpy_template.hpp" 00007 00008 #include "viennacl/device_specific/templates/vector_axpy_template.hpp" 00009 00010 #include "viennacl/device_specific/forwards.h" 00011 #include "viennacl/device_specific/builtin_database/common.hpp" 00012 00013 namespace viennacl{ 00014 namespace device_specific{ 00015 namespace builtin_database{ 00016 namespace devices{ 00017 namespace cpu{ 00018 namespace amd{ 00019 namespace unknown{ 00020 namespace amd_a10-5800k_apu_with_radeon(tm)_hd_graphics__{ 00021 00022 inline void add_8B(database_type<row_wise_reduction_template::parameters> & db, char_to_type<'T'>) 00023 { 00024 db.add_8B(amd_id, CL_DEVICE_TYPE_CPU, ocl::unknown, "AMD A10-5800K APU with Radeon(tm) HD Graphics ", row_wise_reduction_template::parameters(1, 8, 1, 256)); 00025 } 00026 00027 inline void add_8B(database_type<row_wise_reduction_template::parameters> & db, char_to_type<'N'>) 00028 { 00029 db.add_8B(amd_id, CL_DEVICE_TYPE_CPU, ocl::unknown, "AMD A10-5800K APU with Radeon(tm) HD Graphics ", row_wise_reduction_template::parameters(1, 32, 16, 256)); 00030 } 00031 00032 inline void add_4B(database_type<row_wise_reduction_template::parameters> & db, char_to_type<'T'>) 00033 { 00034 db.add_4B(amd_id, CL_DEVICE_TYPE_CPU, ocl::unknown, "AMD A10-5800K APU with Radeon(tm) HD Graphics ", row_wise_reduction_template::parameters(1, 32, 1, 4)); 00035 } 00036 00037 inline void add_4B(database_type<row_wise_reduction_template::parameters> & db, char_to_type<'N'>) 00038 { 00039 db.add_4B(amd_id, CL_DEVICE_TYPE_CPU, ocl::unknown, "AMD A10-5800K APU with Radeon(tm) HD Graphics ", row_wise_reduction_template::parameters(1, 16, 16, 128)); 00040 } 00041 00042 inline void add_8B(database_type<matrix_axpy_template::parameters> & db) 00043 { 00044 db.add_8B(amd_id, CL_DEVICE_TYPE_CPU, ocl::unknown, "AMD A10-5800K APU with Radeon(tm) HD Graphics ", matrix_axpy_template::parameters(1, 2, 1, 4, 4, 1)); 00045 } 00046 00047 inline void add_4B(database_type<matrix_axpy_template::parameters> & db) 00048 { 00049 db.add_4B(amd_id, CL_DEVICE_TYPE_CPU, ocl::unknown, "AMD A10-5800K APU with Radeon(tm) HD Graphics ", matrix_axpy_template::parameters(1, 32, 1, 32, 4, 1)); 00050 } 00051 00052 inline void add_8B(database_type<vector_axpy_template::parameters> & db) 00053 { 00054 db.add_8B(amd_id, CL_DEVICE_TYPE_CPU, ocl::unknown, "AMD A10-5800K APU with Radeon(tm) HD Graphics ", vector_axpy_template::parameters(1, 1, 2, 1)); 00055 } 00056 00057 inline void add_4B(database_type<vector_axpy_template::parameters> & db) 00058 { 00059 db.add_4B(amd_id, CL_DEVICE_TYPE_CPU, ocl::unknown, "AMD A10-5800K APU with Radeon(tm) HD Graphics ", vector_axpy_template::parameters(1, 1, 2, 1)); 00060 } 00061 00062 } 00063 } 00064 } 00065 } 00066 } 00067 } 00068 } 00069 } 00070 #endif