Fixing SDK compilation issues due to missing header (#433)

[ROCm/rocprofiler-sdk commit: 918270bf63]
Este commit está contenido en:
Bhardwaj, Gopesh
2025-06-04 13:39:41 +05:30
cometido por GitHub
padre adc4e6995d
commit d47d3d3e9c
Se han modificado 5 ficheros con 20 adiciones y 15 borrados
@@ -22,6 +22,7 @@
#include <hip/hip_runtime.h>
#include <libgen.h>
#include "client.hpp"
#define HIP_CALL(call) \
@@ -112,7 +113,7 @@ launchKernels(const long NUM_LAUNCH, const long SYNC_INTERVAL, const int DEV_ID)
int
main(int argc, char** argv)
{
auto* exe_name = ::basename(argv[0]);
auto* exe_name = basename(argv[0]);
int ntotdevice = 0;
HIP_CALL(hipGetDeviceCount(&ntotdevice));