From 784743e1a1e086836f307a702fb0d6790f705f62 Mon Sep 17 00:00:00 2001 From: Ryan Hill Date: Mon, 26 Apr 2021 16:43:14 -0700 Subject: [PATCH] Revert profiler change --- onnxruntime/core/common/profiler.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/onnxruntime/core/common/profiler.cc b/onnxruntime/core/common/profiler.cc index 308ccd6b68..d26d290758 100644 --- a/onnxruntime/core/common/profiler.cc +++ b/onnxruntime/core/common/profiler.cc @@ -137,8 +137,7 @@ std::vector CudaProfiler::EndProfiling() { #endif //USE_CUDA DeviceProfiler* DeviceProfiler::GetDeviceProfiler() { -#if 0 -//#ifdef USE_CUDA +#ifdef USE_CUDA static CudaProfiler cuda_profiler; return &cuda_profiler; #else