Code migration and include fixes (#830)

* Migrating code/reformatting

* Remove unnecessary includes
---------

Co-authored-by: Benjamin Welton <ben@amd.com>
Dieser Commit ist enthalten in:
Benjamin Welton
2024-04-29 15:48:50 -07:00
committet von GitHub
Ursprung de13d2ac5d
Commit e21609c80e
35 geänderte Dateien mit 622 neuen und 509 gelöschten Zeilen
@@ -21,6 +21,7 @@
// SOFTWARE.
#include "lib/rocprofiler-sdk/aql/packet_construct.hpp"
#include "lib/common/logging.hpp"
#include "lib/rocprofiler-sdk/hsa/details/fmt.hpp"
#include <fmt/core.h>
@@ -32,7 +33,7 @@
auto status = (fn); \
if(status != HSA_STATUS_SUCCESS) \
{ \
std::cerr << "HSA Err: " << status << "\n"; \
ROCP_FATAL << "HSA Err: " << status << "\n"; \
exit(1); \
} \
}