Datatype selection option for roofline (#624)

Added command line option to specify which datatype(s) to capture into the roofline PDF(s).
All datatypes are still collected by roofline call if applicable, but only specific datatypes are plotted into PDF outputs. Will dump out all datatypes into one graph, but separate FP from Int into two graphs if needed. Will skip datatype and give error message if the datatype is not valid on a particular gpu arch.
Default is FP32

Reworked roofline calls and plotting to be general enough such that any new datatypes added into rocm-amdgpu-bench can easily be reflected in rocprof-compute with simple modifications in roofline_calc.py.

Adjusted ctest to reflect expected default pdf outputs from roofline.

---------

Signed-off-by: Carrie Fallows <Carrie.Fallows@amd.com>
此提交包含在:
cfallows-amd
2025-03-25 15:02:09 -04:00
提交者 GitHub
父節點 58cf702d40
當前提交 a492e92034
共有 8 個檔案被更改,包括 179 行新增 和 139 行删除
未顯示二進位檔案。

之前

寬度:  |  高度:  |  大小: 89 KiB

之後

寬度:  |  高度:  |  大小: 64 KiB