Build system (libdw), correlation ID, and shebang fixes (#354)

* Fix compilation for output library

- link to targets for ATT (amd-comgr, dw, elf)

* Relax correlation ID retirement log failures

- only fail for correlation ID retirement underflow when building in CI mode

* Fix shebang for several files

- license was inserted before shebang in several places

* Update code coverage exclude folders for samples

* Tweak to agent tests

- test to make sure hsa agent is not the old value instead of testing that it is the new value

* Fix libdw include/link

---------

Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
This commit is contained in:
Madsen, JonathanandJonathan R. Madsen authored and GitHub committed 2025-04-27 20:16:18 -05:00
1 parent 06005c7f6b
commit 3580478426
31 file changed
+116 -316

No files matched your search

+1 -1
View File
@@ -267,7 +267,7 @@ TEST(rocprofiler_lib, agent)
EXPECT_EQ(agent->workgroup_max_dim.z, hsa_agent->workgroup_max_dim[2]) << msg;
EXPECT_EQ(agent->grid_max_size, hsa_agent->grid_max_size) << msg;
// Skip the checks for older grid x, y, z dimension values.
if(hsa_agent->grid_max_dim.x == std::numeric_limits<int32_t>::max())
if(hsa_agent->grid_max_dim.x != std::numeric_limits<uint32_t>::max())
{
EXPECT_EQ(agent->grid_max_dim.x, hsa_agent->grid_max_dim.x) << msg;
EXPECT_EQ(agent->grid_max_dim.y, hsa_agent->grid_max_dim.y) << msg;