diff --git a/torch_npu/csrc/profiler/cann_profiling.h b/torch_npu/csrc/profiler/cann_profiling.h index 5695a781659bdb5b03ab3e3ecfca38a20e8eeebc..eb276fe8c82f9bc182e6c1d6536ac30801e1b7da 100644 --- a/torch_npu/csrc/profiler/cann_profiling.h +++ b/torch_npu/csrc/profiler/cann_profiling.h @@ -31,7 +31,7 @@ typedef enum { namespace torch_npu { namespace profiler { -class TORCH_NPU_API NpuProfiling +class NpuProfiling { public: static NpuProfiling& Instance();