close #487 deprecated literal char* conversion

- change interface that `getName()` return std::string instead of char*
- change methode qualifier from HDINLINE to host only