Miscellaneous updates (#959)

- missing-new-line CI job: ensures all source files end with new line
- logging updates
- add new line to the end of many files
- fix header include ordering is misc places
- transition to use hsa::get_core_table() and hsa::get_amd_ext_table() in various places instead of making copies
このコミットが含まれているのは:
Jonathan R. Madsen
2024-07-08 16:50:32 -05:00
committed by GitHub
コミット 1e49b43738
30個のファイルの変更208行の追加163行の削除
+3 -2
ファイルの表示
@@ -160,11 +160,12 @@ query_avail_configs_for_agent(tool_agent_info* agent_info)
{
// The query operation failed, so consider the PC sampling is unsupported at the agent.
// This can happen if the PC sampling service is invoked within the ROCgdb.
ss << "Querying PC sampling capabilities failed with status: " << status << std::endl;
ss << "Querying PC sampling capabilities failed with status=" << status
<< " :: " << rocprofiler_get_status_string(status) << std::endl;
*utils::get_output_stream() << ss.str() << std::endl;
return false;
}
else if(agent_info->avail_configs->size() == 0)
else if(agent_info->avail_configs->empty())
{
// No available configuration at the moment, so mark the PC sampling as unsupported.
return false;