SWDEV-489158: Adding consumer+producer model to AST evaluation (#13)
* Rebased optizations for rocprofv3 tool * Fixing merge conflicts * Formatting * Open from within mutex * Small name changes * Added operator * removed some parameters * Optimizing counter collection * Re-arrange code * Adding back dimension query * Formatting * Update source/lib/rocprofiler-sdk/thread_trace/att_core.cpp Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Formatting 2 * Fix for test compilation * Fix for yield * Adding back check for zero * Improved thread handling * Formatting * Remove automatic start * Adding test * Small fixes * Adding lock for buffer callbacks * Fix for race condition in AST * Adding check for ptr --------- Co-authored-by: Giovanni Baraldi <gbaraldi@amd.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Dieser Commit ist enthalten in:
committet von
GitHub
Ursprung
c42bdc3128
Commit
b7661bccfd
@@ -347,12 +347,12 @@ pc_sampling_service_finish_configuration(context::pc_sampling_service* service)
|
||||
const rocprofiler::hsa::Queue::queue_info_session_t::external_corr_id_map_t&,
|
||||
const context::correlation_id*) { return nullptr; },
|
||||
// Completion CB
|
||||
[](const rocprofiler::hsa::Queue& q,
|
||||
rocprofiler::hsa::rocprofiler_packet kern_pkt,
|
||||
const rocprofiler::hsa::Queue::queue_info_session_t& session,
|
||||
[](const rocprofiler::hsa::Queue& q,
|
||||
rocprofiler::hsa::rocprofiler_packet kern_pkt,
|
||||
std::shared_ptr<rocprofiler::hsa::Queue::queue_info_session_t>& session,
|
||||
rocprofiler::hsa::inst_pkt_t&,
|
||||
kernel_dispatch::profiling_time) {
|
||||
kernel_completion_cb(q.get_agent().get_rocp_agent(), kern_pkt, session);
|
||||
kernel_completion_cb(q.get_agent().get_rocp_agent(), kern_pkt, *session);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren