Enable rocpd output format with rocprofiler sdk (#790)
* Add `rocpd` choice for `--format-rocprof-output` option * Add rocpd_data.py which defines SQL queries to extract data from rocpd database * Use sqlite3 package to read the database * Add `--retain-rocpd-output` option in profile mode to retain raw rocpd database * Add warning notice to say `--format-rocprof-output rocpd` will be default in future release For rocpd output: * Use only `pmc_perf.csv` instead of reading individual coll_level results csv files * Post process csv files using pandas in analysis mode instead of profile mode * Use ACCUM counters instead of SQ_ACCUM_PREV_HIRES * Add test cases for rocpd output format * Fix code formatting issues * Update CHANGELOG
This commit is contained in:
@@ -45,6 +45,13 @@ def test_analyze_vcopy_MI200(binary_handler_analyze_rocprof_compute):
|
||||
assert code == 0
|
||||
|
||||
|
||||
def test_analyze_vcopy_MI300_rocpd(binary_handler_analyze_rocprof_compute):
|
||||
code = binary_handler_analyze_rocprof_compute(
|
||||
["analyze", "--path", "tests/workloads/vcopy/MI300X_A1_rocpd"]
|
||||
)
|
||||
assert code == 0
|
||||
|
||||
|
||||
def test_analyze_ipblocks_TCP_MI300X_A1(binary_handler_analyze_rocprof_compute):
|
||||
code = binary_handler_analyze_rocprof_compute(
|
||||
["analyze", "--path", "tests/workloads/ipblocks_TCP/MI300X_A1"]
|
||||
|
||||
Reference in New Issue
Block a user