diff --git a/projects/rocprofiler-compute/sample/vcopy.cpp b/projects/rocprofiler-compute/sample/vcopy.cpp index fd388c37bb..855c2f4a85 100644 --- a/projects/rocprofiler-compute/sample/vcopy.cpp +++ b/projects/rocprofiler-compute/sample/vcopy.cpp @@ -25,6 +25,8 @@ */ #include "hip/hip_runtime.h" +#include +#include #include #include #include diff --git a/projects/rocprofiler-compute/sample/vrandom_access.cpp b/projects/rocprofiler-compute/sample/vrandom_access.cpp index 3fddb549fa..cabe782802 100644 --- a/projects/rocprofiler-compute/sample/vrandom_access.cpp +++ b/projects/rocprofiler-compute/sample/vrandom_access.cpp @@ -30,6 +30,7 @@ An example code to execute random access to explore cache hits/misses in L2 Cach #include +#include #include #include #include diff --git a/projects/rocprofiler-compute/sample/vsequential_access.cpp b/projects/rocprofiler-compute/sample/vsequential_access.cpp index 3d1d3f66a9..b8f4c1f726 100644 --- a/projects/rocprofiler-compute/sample/vsequential_access.cpp +++ b/projects/rocprofiler-compute/sample/vsequential_access.cpp @@ -31,6 +31,7 @@ An example code to execute sequential access to explore cache hits/misses in L2 #include #include +#include #define HIP_ASSERT(x) (assert((x)==hipSuccess))