Squashed feature branch:
* Added CUDA support * Performance improvements * API improvements * Added "depth" parameter to GEMM * Android cross-compilation
This commit is contained in:
23
include/isaac/tools/to_string.hpp
Normal file
23
include/isaac/tools/to_string.hpp
Normal file
@@ -0,0 +1,23 @@
|
||||
#ifndef ISAAC_TOOLS_TO_STRING_HPP
|
||||
#define ISAAC_TOOLS_TO_STRING_HPP
|
||||
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
|
||||
namespace isaac
|
||||
{
|
||||
namespace tools
|
||||
{
|
||||
|
||||
template<class T>
|
||||
inline std::string to_string ( T const t )
|
||||
{
|
||||
std::stringstream ss;
|
||||
ss << t;
|
||||
return ss.str();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user