sglang_v0.5.2/pytorch_2.8.0/c10/util/thread_name.h

14 lines
186 B
C++

#pragma once
#include <string>
#include <c10/macros/Export.h>
namespace c10 {
C10_API void setThreadName(std::string name);
C10_API std::string getThreadName();
} // namespace c10