Data Structures | Namespaces | Functions | Variables

/data/development/ViennaCL/ViennaCL-1.1.2/viennacl/io/kernel_parameters.hpp File Reference

This file holds the code necessary for reading kernel parameters from XML files using pugixml. More...

#include "viennacl/ocl/backend.hpp"
#include "pugixml/src/pugixml.hpp"

Go to the source code of this file.

Data Structures

struct  parameter_database
 A XML parameter database using PugiXML. Allows to add tests for different devices and the like. More...
struct  first_letter_of_type< T >
 Helper meta class that returns the first letter of a particular type (float or double). More...
struct  first_letter_of_type< float >
struct  first_letter_of_type< double >
struct  program_for_vcltype< T >
struct  program_for_vcltype< viennacl::vector< T, ALIGNMENT > >
struct  program_for_vcltype< viennacl::matrix< T, row_major, ALIGNMENT > >
struct  program_for_vcltype< viennacl::matrix< T, column_major, ALIGNMENT > >
struct  program_for_vcltype< viennacl::compressed_matrix< T, ALIGNMENT > >
struct  to_string< T >
 Helper meta-class that converts a type to a string. More...
struct  to_string< float >
struct  to_string< double >

Namespaces

namespace  viennacl
namespace  viennacl::io
namespace  viennacl::io::tag
namespace  viennacl::io::val

Functions

template<typename SCALARTYPE , unsigned int ALIGNMENT>
void set_kernel_params (std::string program_name, std::string kernel_name, unsigned int glob, unsigned int loc)
template<typename VclBasicType >
void tune_impl (parameter_database &paras, std::string parent)
template<typename VclBasicType >
void read_kernel_parameters (std::string filename)
 The interface function for reading kernel parameters.

Variables

std::string root = "parameters"
std::string devices = "devices"
std::string device = "device"
std::string name = "name"
std::string driver = "driver"
std::string compun = "computeunits"
std::string workgrp = "workgroupsize"
std::string tests = "tests"
std::string test = "test"
std::string numeric = "numeric"
std::string kernels = "kernels"
std::string kernel = "kernel"
std::string params = "params"
std::string param = "param"
std::string value = "value"
std::string alignment = "alignment"
std::string globsize = "globalsize"
std::string locsize = "localsize"
std::string vec = "vector"
std::string matrix = "matrix"
std::string compmat = "compressed_matrix"
std::string fl = "float"
std::string dbl = "double"

Detailed Description

This file holds the code necessary for reading kernel parameters from XML files using pugixml.