Revert profiler change

This commit is contained in:
Ryan Hill 2021-04-26 16:43:14 -07:00
parent b89e981763
commit 784743e1a1

View file

@ -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