close #487 deprecated literal char* conversion

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