Accumulation metrics support and update counter collection API to aqlprofile_v2 (#915)
* Updating to v3 API
* General fixes
* Extending dimension bits to 54
* Disabling agent profiling tests
* Fixed unit test
* Adding accumulate metric support for parsing counters (#609)
* Adding accumulate metric support for parsing counters
* Adding metric flag
* Updating tests
* source formatting (clang-format v11) (#610)
Co-authored-by: Manjunath-Jakaraddi <21177428+Manjunath-Jakaraddi@users.noreply.github.com>
* source formatting (clang-format v11) (#614)
Co-authored-by: jrmadsen <6001865+jrmadsen@users.noreply.github.com>
* Adding evaluate ast test
* source formatting (clang-format v11) (#633)
Co-authored-by: Manjunath-Jakaraddi <21177428+Manjunath-Jakaraddi@users.noreply.github.com>
* Update scanner generated file
* Adding flags to events for aqlprofile
* Fix Mi200 failing test
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Manjunath-Jakaraddi <21177428+Manjunath-Jakaraddi@users.noreply.github.com>
Co-authored-by: jrmadsen <6001865+jrmadsen@users.noreply.github.com>
* Revert "Extending dimension bits to 54"
This reverts commit 3cd6628452484044a93e129f27974f996a0e4c08.
* Removing CU dimension
* Fixing merge conflicts
* Revert "Disabling agent profiling tests"
This reverts commit 7e01518ed8c51fbb0c3b2575e1e0b8f9ddfa8237.
* Fixing merge conflicts
* Fix parser tests
* Adding accumulate metric documentation
* Update counter_collection_services.md
* Update index.md
* fix nested expression use
* Update source/lib/rocprofiler-sdk/counters/evaluate_ast.cpp
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Doc update
---------
Co-authored-by: Benjamin Welton <ben@amd.com>
Co-authored-by: Manjunath P Jakaraddi <manjunath180397@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Manjunath-Jakaraddi <21177428+Manjunath-Jakaraddi@users.noreply.github.com>
Co-authored-by: jrmadsen <6001865+jrmadsen@users.noreply.github.com>
Co-authored-by: Manjunath-Jakaraddi <manjunath.jakaraddi@amd.com>
[ROCm/rocprofiler-sdk commit: a78753d392]
Šī revīzija ir iekļauta:
revīziju iesūtīja
GitHub
vecāks
55a6d2fd1b
revīzija
ebad2abe3c
@@ -66,9 +66,9 @@ get_block_counters(rocprofiler_agent_id_t agent, const aqlprofile_pmc_event_t& e
|
||||
|
||||
rocprofiler_status_t
|
||||
set_dim_id_from_sample(rocprofiler_counter_instance_id_t& id,
|
||||
hsa_agent_t agent,
|
||||
hsa_ven_amd_aqlprofile_event_t event,
|
||||
uint32_t sample_id)
|
||||
aqlprofile_agent_handle_t agent,
|
||||
aqlprofile_pmc_event_t event,
|
||||
size_t sample_id)
|
||||
{
|
||||
auto callback =
|
||||
[](int, int sid, int, int coordinate, const char*, void* userdata) -> hsa_status_t {
|
||||
@@ -82,8 +82,8 @@ set_dim_id_from_sample(rocprofiler_counter_instance_id_t& id,
|
||||
return HSA_STATUS_SUCCESS;
|
||||
};
|
||||
|
||||
if(hsa_ven_amd_aqlprofile_iterate_event_coord(
|
||||
agent, event, sample_id, callback, static_cast<void*>(&id)) != HSA_STATUS_SUCCESS)
|
||||
if(aqlprofile_iterate_event_coord(agent, event, sample_id, callback, static_cast<void*>(&id)) !=
|
||||
HSA_STATUS_SUCCESS)
|
||||
{
|
||||
return ROCPROFILER_STATUS_ERROR_AQL_NO_EVENT_COORD;
|
||||
}
|
||||
|
||||
Atsaukties uz šo jaunā problēmā
Block a user