From 864460f4b37a176a8922c31d63f7060ea5138cc6 Mon Sep 17 00:00:00 2001 From: healing Date: Fri, 3 Dec 2021 20:14:08 +0800 Subject: [PATCH] open gpu profiling interface --- mindspore/ccsrc/profiler/device/gpu/gpu_profiling.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mindspore/ccsrc/profiler/device/gpu/gpu_profiling.h b/mindspore/ccsrc/profiler/device/gpu/gpu_profiling.h index ae79e59ebe3..a323e9db3a9 100644 --- a/mindspore/ccsrc/profiler/device/gpu/gpu_profiling.h +++ b/mindspore/ccsrc/profiler/device/gpu/gpu_profiling.h @@ -108,7 +108,7 @@ class ProfilingOp { std::string op_name_; }; -class GPUProfiler : public Profiler { +class MS_CORE_API GPUProfiler : public Profiler { public: static std::shared_ptr &GetInstance(); GPUProfiler() = default;