close #487 deprecated literal char* conversion

- change interface that `getName()` return std::string instead of char*
- change methode qualifier from HDINLINE to host only
Merge pull request #515 from psychocoderHPC/fix-StringCharWarnings

close #487 deprecated literal char* conversion