[SDK][rocprofv3] MI300 Stochastic PC sampling (#92)

* MI300 Stochastic PC sampling SDK API implementation

* ROCProfV3: Stochastic PC sampling Support (#94)

* ROCProfV3: MI300 Stochastic PC sampling initial draft

* ROCProfV3: Initial Stochastic PC sampling Tests (#95)

ROCProfV3: Initial Stochastic PC sampling tests

* Update rocprofiler_pc_sampling_record_stochastic_v0_t

- update doxygen docs for members
- replace rocprofiler_correlation_id_t with rocprofiler_async_correlation_id_t

* Relax the check in JSON tests

* drain PC sampling buffer during finalize_rocprofv3

* Increase timeout for "Test Install Build" step

- 10 minutes -> 20 minutes
- "Test Installed Packages" has 20 minutes so "Test Install Build" should also

---------

Co-authored-by: Jonathan R. Madsen <jonathanrmadsen@gmail.com>
This commit is contained in:
Indic, Vladimir
2025-03-21 20:40:45 +01:00
committed by GitHub
vanhempi c06feccf2a
commit 49ce79a5b5
98 muutettua tiedostoa jossa 5266 lisäystä ja 1031 poistoa
+14
Näytä tiedosto
@@ -33,5 +33,19 @@ get_output_stream()
static std::ostream* _v = nullptr;
return _v;
}
/**
* @brief Shows @p error_msg and aborts if @p condition is false.
*
*/
void
pcs_assert(bool condition, std::string_view error_msg)
{
if(!condition)
{
std::cerr << "PC Sampling Assertion Error: " << error_msg << "\n";
abort();
}
}
} // namespace utils
} // namespace client