From b94af284257d1193b7773d73264a7d62d78d39b9 Mon Sep 17 00:00:00 2001 From: Jatin Chaudhary Date: Thu, 23 Nov 2023 14:55:52 +0000 Subject: [PATCH] SWDEV-412457 - include assert header in files that use it Change-Id: Ie1a947e78c4badc5b07b15fefc8aaedacfc7a02c [ROCm/rocprofiler commit: 8dd9d9df515f03a60ac8db05024300a5d0b7caac] --- projects/rocprofiler/plugin/att/disassembly.cpp | 1 + projects/rocprofiler/src/api/rocprofiler_singleton.cpp | 1 + projects/rocprofiler/src/core/intercept_queue.h | 1 + .../tests-v2/featuretests/profiler/apps/hip_kernels.cpp | 2 ++ 4 files changed, 5 insertions(+) diff --git a/projects/rocprofiler/plugin/att/disassembly.cpp b/projects/rocprofiler/plugin/att/disassembly.cpp index b2aa109cd8..c89387ae6e 100644 --- a/projects/rocprofiler/plugin/att/disassembly.cpp +++ b/projects/rocprofiler/plugin/att/disassembly.cpp @@ -42,6 +42,7 @@ #include #include +#include #include #include #include diff --git a/projects/rocprofiler/src/api/rocprofiler_singleton.cpp b/projects/rocprofiler/src/api/rocprofiler_singleton.cpp index 971ee33676..9973593351 100644 --- a/projects/rocprofiler/src/api/rocprofiler_singleton.cpp +++ b/projects/rocprofiler/src/api/rocprofiler_singleton.cpp @@ -26,6 +26,7 @@ #include #include +#include #include #include diff --git a/projects/rocprofiler/src/core/intercept_queue.h b/projects/rocprofiler/src/core/intercept_queue.h index 765b35a6d0..767531d3c0 100644 --- a/projects/rocprofiler/src/core/intercept_queue.h +++ b/projects/rocprofiler/src/core/intercept_queue.h @@ -28,6 +28,7 @@ THE SOFTWARE. #include #include +#include #include #include #include diff --git a/projects/rocprofiler/tests-v2/featuretests/profiler/apps/hip_kernels.cpp b/projects/rocprofiler/tests-v2/featuretests/profiler/apps/hip_kernels.cpp index 1ca204f61f..d1df5f0745 100644 --- a/projects/rocprofiler/tests-v2/featuretests/profiler/apps/hip_kernels.cpp +++ b/projects/rocprofiler/tests-v2/featuretests/profiler/apps/hip_kernels.cpp @@ -1,5 +1,7 @@ #include +#include #include + #ifdef NDEBUG #define HIP_ASSERT(x) x #else