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 작성하고 GitHub가 2024-07-08 16:50:32 -05:00를 커밋함
1 부모 78fd8cb379
커밋 1e49b43738
30 파일이 변경됨
+208 -163

검색과 일치하는 파일 없음

+2 -7
파일 보기
@@ -510,16 +510,11 @@ Queue::Queue(const AgentCache& agent,
CHECK(_agent.get_hsa_agent().handle != 0);
// Set state of the queue to allow profiling
aql::set_profiler_active_on_queue(
CHECK_NOTNULL(hsa::get_queue_controller())->get_ext_table(),
_agent.cpu_pool(),
_agent.get_hsa_agent(),
[&](hsa::rocprofiler_packet pkt) {
_agent.cpu_pool(), _agent.get_hsa_agent(), [&](hsa::rocprofiler_packet pkt) {
hsa_signal_t completion;
create_signal(0, &completion);
pkt.ext_amd_aql_pm4.completion_signal = completion;
counters::submitPacket(CHECK_NOTNULL(hsa::get_queue_controller())->get_core_table(),
_intercept_queue,
&pkt);
counters::submitPacket(_intercept_queue, &pkt);
constexpr auto timeout_hint =
std::chrono::duration_cast<std::chrono::nanoseconds>(std::chrono::seconds{1});
if(core_api.hsa_signal_wait_relaxed_fn(completion,