1 #pragma once 2 3 #include <string> 4 5 #include <c10/macros/Export.h> 6 7 namespace c10 { 8 9 C10_API void setThreadName(std::string name); 10 11 C10_API std::string getThreadName(); 12 13 } // namespace c10 14