SkePU(integratedwithStarPU)
0.8.1
|
Contains few helper methods that are used globally by different classes. More...
#include <string>
#include <algorithm>
#include <fstream>
#include <sstream>
Go to the source code of this file.
Namespaces | |
skepu | |
The main nemaspace for SkePU library. | |
Functions | |
const std::string | skepu::trimSpaces (const std::string &pString, const std::string &pWhitespace=" \t") |
template<typename T > | |
T | skepu::get_random_number (T min, T max) |
std::string | skepu::read_file_into_string (const std::string &filename) |
void | skepu::toLowerCase (std::string &str) |
void | skepu::toUpperCase (std::string &str) |
bool | skepu::startsWith (const std::string &main, const std::string &prefix) |
template<typename T > | |
T * | skepu::allocateHostMemory (unsigned int n) |
template<typename T > | |
void | skepu::deallocateHostMemory (T *p) |
Contains few helper methods that are used globally by different classes.