mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-30 20:18:08 +00:00
Revert profiler change
This commit is contained in:
parent
b89e981763
commit
784743e1a1
1 changed files with 1 additions and 2 deletions
|
|
@ -137,8 +137,7 @@ std::vector<EventRecord> CudaProfiler::EndProfiling() {
|
|||
#endif //USE_CUDA
|
||||
|
||||
DeviceProfiler* DeviceProfiler::GetDeviceProfiler() {
|
||||
#if 0
|
||||
//#ifdef USE_CUDA
|
||||
#ifdef USE_CUDA
|
||||
static CudaProfiler cuda_profiler;
|
||||
return &cuda_profiler;
|
||||
#else
|
||||
|
|
|
|||
Loading…
Reference in a new issue