diff --git a/src/amun/common/types.h b/src/amun/common/types.h index fd25d69a..3c483a9a 100644 --- a/src/amun/common/types.h +++ b/src/amun/common/types.h @@ -37,10 +37,10 @@ struct DeviceInfo ///////////////////////////////////////////////////////////////////////////////////// extern std::unordered_map timers; -#define BEGIN_TIMER(str) { HANDLE_ERROR( cudaStreamSynchronize(mblas::CudaStreamHandler::GetStream())); timers[str].resume(); } -#define PAUSE_TIMER(str) { HANDLE_ERROR( cudaStreamSynchronize(mblas::CudaStreamHandler::GetStream())); \ - timers[str].stop(); \ - } +#define BEGIN_TIMER(str) {} // { HANDLE_ERROR( cudaStreamSynchronize(mblas::CudaStreamHandler::GetStream())); timers[str].resume(); } +#define PAUSE_TIMER(str) {} //{ HANDLE_ERROR( cudaStreamSynchronize(mblas::CudaStreamHandler::GetStream())); \ + // timers[str].stop(); \ + // } }