Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions samples/api_buffered_tracing/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
#include "common/defines.hpp"
#include "hip/hip_runtime.h"

#include <libgen.h>

#include <chrono>
#include <cstdio>
#include <cstdlib>
Expand All @@ -33,6 +35,7 @@
#include <random>
#include <sstream>
#include <stdexcept>
#include <thread>

#define HIP_API_CALL(CALL) \
{ \
Expand Down
1 change: 1 addition & 0 deletions samples/api_callback_tracing/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#include <mutex>
#include <random>
#include <stdexcept>
#include <thread>

#define HIP_API_CALL(CALL) \
{ \
Expand Down
2 changes: 2 additions & 0 deletions samples/code_object_isa_decode/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@

#include "hip/hip_runtime.h"

#include <cassert>
#include <cstdio>
#include <cstdlib>
#include <iomanip>
#include <iostream>
#include <memory>
#include <mutex>
#include <random>
#include <stdexcept>
Expand Down
1 change: 1 addition & 0 deletions samples/code_object_tracing/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include <mutex>
#include <random>
#include <stdexcept>
#include <thread>

#define HIP_API_CALL(CALL) \
{ \
Expand Down
1 change: 1 addition & 0 deletions samples/counter_collection/device_counting.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#include <shared_mutex>
#include <sstream>
#include <stdexcept>
#include <thread>
#include <unordered_map>
#include <vector>

Expand Down
2 changes: 2 additions & 0 deletions samples/counter_collection/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@

#include "client.hpp"

#include <libgen.h>

#define HIP_CALL(call) \
do \
{ \
Expand Down
1 change: 1 addition & 0 deletions samples/counter_collection/print_functional_counters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include <unistd.h>
#include <map>
#include <memory>
#include <mutex>
#include <optional>
#include <shared_mutex>
Expand Down
3 changes: 3 additions & 0 deletions samples/external_correlation_id_request/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
#include "common/defines.hpp"
#include "hip/hip_runtime.h"

#include <libgen.h>

#include <chrono>
#include <cstdio>
#include <cstdlib>
Expand All @@ -31,6 +33,7 @@
#include <random>
#include <sstream>
#include <stdexcept>
#include <thread>

#define HIP_API_CALL(CALL) \
{ \
Expand Down
1 change: 1 addition & 0 deletions samples/intercept_table/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include <mutex>
#include <random>
#include <stdexcept>
#include <thread>

#define HIP_API_CALL(CALL) \
{ \
Expand Down
3 changes: 3 additions & 0 deletions samples/pc_sampling/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
#include "common/defines.hpp"
#include "hip/hip_runtime.h"

#include <libgen.h>

#include <chrono>
#include <cstdio>
#include <cstdlib>
Expand All @@ -31,6 +33,7 @@
#include <random>
#include <sstream>
#include <stdexcept>
#include <thread>

#define HIP_API_CALL(CALL) \
{ \
Expand Down
1 change: 1 addition & 0 deletions samples/pc_sampling/pcs.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include <rocprofiler-sdk/fwd.h>
#include <rocprofiler-sdk/rocprofiler.h>

#include <memory>
#include <vector>

namespace client
Expand Down
2 changes: 2 additions & 0 deletions tests/bin/hip-graph/hip-graph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ THE SOFTWARE.
#include <iostream>
#include <mutex>

#include <libgen.h>

// hip header file
#include <hip/hip_runtime.h>

Expand Down
1 change: 1 addition & 0 deletions tests/bin/reproducible-runtime/reproducible-runtime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#include <mutex>
#include <random>
#include <stdexcept>
#include <thread>

#if defined(USE_MPI)
# include <mpi.h>
Expand Down
1 change: 1 addition & 0 deletions tests/bin/transpose/transpose.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
#include <random>
#include <sstream>
#include <stdexcept>
#include <thread>

#define HIP_API_CALL(CALL) \
{ \
Expand Down
1 change: 1 addition & 0 deletions tests/lib/transpose/transpose.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#include <mutex>
#include <random>
#include <stdexcept>
#include <thread>

#if defined(USE_MPI)
# include <mpi.h>
Expand Down
1 change: 1 addition & 0 deletions tests/lib/vector-operations/vector-ops.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include <iostream>
#include <mutex>
#include <vector>
#include <thread>

#include "common/defines.hpp"

Expand Down
1 change: 1 addition & 0 deletions tests/thread-trace/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
# undef NDEBUG
#endif

#include <cassert>
#include <cstdint>
#include <cstdlib>
#include <iostream>
Expand Down
2 changes: 2 additions & 0 deletions tests/tools/c-tool.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
* @brief Example rocprofiler client (tool) written in C
*/

#include <stdio.h>

#include <rocprofiler-sdk/registration.h>
#include <rocprofiler-sdk/rocprofiler.h>

Expand Down