diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml index fd42b0ed2..cadebb359 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -38,13 +38,13 @@ body: required: true - type: input - id: omniperf-version + id: rocprofiler-compute-version attributes: - label: Omniperf Version + label: ROCm Compute Profiler Version description: | - What version of Omniperf are you using? Hint: + What version of ROCm Compute Profiler are you using? Hint: ```shell - omniperf --version + rocprof-compute --version ``` placeholder: e.g. 2.1.0 validations: @@ -115,7 +115,7 @@ body: id: logs attributes: label: Relevant log output - description: Please copy and paste Omniperf's `log.txt` file. This will be automatically formatted into code, so no need for backticks. + description: Please copy and paste rocprofiler-compute's `log.txt` file. This will be automatically formatted into code, so no need for backticks. render: shell - type: textarea diff --git a/.github/workflows/mi-rhel9.yml b/.github/workflows/mi-rhel9.yml index 4cc54454f..01b0c78ae 100644 --- a/.github/workflows/mi-rhel9.yml +++ b/.github/workflows/mi-rhel9.yml @@ -85,17 +85,17 @@ jobs: run: | cd build make - srun -N 1 -J omniperf -p $CI_QUEUE -t 00:20:00 ctest -j 4 --resource-spec-file ../tests/4gpus.json --verbose -L profile + srun -N 1 -J rocprof-compute -p $CI_QUEUE -t 00:20:00 ctest -j 4 --resource-spec-file ../tests/4gpus.json --verbose -L profile - name: Run [analyze workloads] mode if: '!cancelled()' run: | cd build - srun -N 1 -J omniperf -p $CI_QUEUE -t 00:10:00 ctest --verbose -R test_analyze_workloads + srun -N 1 -J rocprof-compute -p $CI_QUEUE -t 00:10:00 ctest --verbose -R test_analyze_workloads - name: Run [analyze commands] mode if: '!cancelled()' run: | cd build - srun -N 1 -J omniperf -p $CI_QUEUE -t 00:10:00 ctest --verbose -R test_analyze_commands + srun -N 1 -J rocprof-compute -p $CI_QUEUE -t 00:10:00 ctest --verbose -R test_analyze_commands - name: Publish Test Results uses: EnricoMi/publish-unit-test-result-action/linux@v2 if: always() diff --git a/.github/workflows/packaging.yml b/.github/workflows/packaging.yml index 2bf3e8f06..1feeccad7 100644 --- a/.github/workflows/packaging.yml +++ b/.github/workflows/packaging.yml @@ -37,29 +37,29 @@ jobs: cd build make package_source - name: Rename tarball - run: mv build/omniperf-*.tar.gz build/omniperf-${{github.ref_name}}.tar.gz + run: mv build/rocprofiler-compute-*.tar.gz build/rocprofiler-compute-${{github.ref_name}}.tar.gz - name: Archive tarball uses: actions/upload-artifact@v4 with: - name: omniperf-${{github.ref_name}}.tar.gz - path: build/omniperf-${{github.ref_name}}.tar.gz + name: rocprofiler-compute-${{github.ref_name}}.tar.gz + path: build/rocprofiler-compute-${{github.ref_name}}.tar.gz - name: Set version run: echo "VERSION=$(cat VERSION)" >> $GITHUB_ENV - name: Determine release name run: | if [[ ${{github.ref_name}} == rocm-* ]]; then - echo "RELEASE_NAME=Omniperf ${{ env.VERSION }} for ${{github.ref_name}}" + echo "RELEASE_NAME=rocprofiler-compute ${{ env.VERSION }} for ${{github.ref_name}}" else - echo "RELEASE_NAME=Omniperf ${{ env.VERSION }}" + echo "RELEASE_NAME=rocprofiler-compute ${{ env.VERSION }}" fi >> $GITHUB_ENV - name: Upload tarball Release Asset uses: softprops/action-gh-release@v2 - if: startsWith(github.ref, 'refs/tags/') && github.repository == 'ROCm/omniperf' + if: startsWith(github.ref, 'refs/tags/') && github.repository == 'ROCm/rocprofiler-compute' with: fail_on_unmatched: True generate_release_notes: True draft: False # toggle for debugging files: | - build/omniperf-${{github.ref_name}}.tar.gz + build/rocprofiler-compute-${{github.ref_name}}.tar.gz name: ${{ env.RELEASE_NAME }} diff --git a/.github/workflows/rhel-8.yml b/.github/workflows/rhel-8.yml index 01dfad591..16ecc35e2 100644 --- a/.github/workflows/rhel-8.yml +++ b/.github/workflows/rhel-8.yml @@ -42,7 +42,7 @@ jobs: run: | mkdir build cd build - cmake -DCMAKE_INSTALL_PREFIX=/opt/omniperf -DPYTEST_NUMPROCS=4 .. + cmake -DCMAKE_INSTALL_PREFIX=/opt/rocprofiler-compute -DPYTEST_NUMPROCS=4 .. make install - name: CTest- Analyze Commands run: | diff --git a/.github/workflows/tarball.yml b/.github/workflows/tarball.yml index 9ad5cfc9e..13cbfcc65 100644 --- a/.github/workflows/tarball.yml +++ b/.github/workflows/tarball.yml @@ -8,7 +8,7 @@ on: concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true - + jobs: distbuild: runs-on: ubuntu-latest @@ -47,7 +47,7 @@ jobs: uses: actions/upload-artifact@v4 with: name: tarball-testing - path: build/omniperf-*.tar.gz + path: build/rocprofiler-compute-*.tar.gz retention-days: 3 disttest: runs-on: ubuntu-latest @@ -61,47 +61,47 @@ jobs: with: name: tarball-testing - name: Expand - run: tar xfz omniperf-*.tar.gz; rm omniperf-*.tar.gz + run: tar xfz rocprofiler-compute-*.tar.gz; rm rocprofiler-compute-*.tar.gz - name: Python dependency installs run: | - cd omniperf-* + cd rocprofiler-compute-* python3 -m pip install -t${INSTALL_DIR}/python-libs -r requirements.txt - name: Configure run: | - cd omniperf-* + cd rocprofiler-compute-* mkdir build cd build - cmake -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR}/omniperf \ + cmake -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR}/rocprofiler-compute \ -DPYTHON_DEPS=${INSTALL_DIR}/python-libs .. - name: Install run: | - cd omniperf-* + cd rocprofiler-compute-* cd build make install - name: Verify expected paths run: | # find $INSTALL_DIR - test -d $INSTALL_DIR/omniperf - test -x $INSTALL_DIR/omniperf/bin/omniperf - test -s $INSTALL_DIR/omniperf/libexec/omniperf/VERSION - test -s $INSTALL_DIR/omniperf/libexec/omniperf/VERSION.sha - test -d $INSTALL_DIR/omniperf/libexec/omniperf/omniperf_analyze - test -d $INSTALL_DIR/omniperf/libexec/omniperf/omniperf_profile - test -d $INSTALL_DIR/omniperf/libexec/omniperf/omniperf_soc - test -d $INSTALL_DIR/omniperf/libexec/omniperf/utils - test -s $INSTALL_DIR/omniperf/share/omniperf/sample/vcopy.cpp - test -d $INSTALL_DIR/omniperf/share/omniperf/modulefiles + test -d $INSTALL_DIR/rocprofiler-compute + test -x $INSTALL_DIR/rocprofiler-compute/bin/rocprof-compute + test -s $INSTALL_DIR/rocprofiler-compute/libexec/rocprofiler-compute/VERSION + test -s $INSTALL_DIR/rocprofiler-compute/libexec/rocprofiler-compute/VERSION.sha + test -d $INSTALL_DIR/rocprofiler-compute/libexec/rocprofiler-compute/rocprof_compute_analyze + test -d $INSTALL_DIR/rocprofiler-compute/libexec/rocprofiler-compute/rocprof_compute_profile + test -d $INSTALL_DIR/rocprofiler-compute/libexec/rocprofiler-compute/rocprof_compute_soc + test -d $INSTALL_DIR/rocprofiler-compute/libexec/rocprofiler-compute/utils + test -s $INSTALL_DIR/rocprofiler-compute/share/rocprofiler-compute/sample/vcopy.cpp + test -d $INSTALL_DIR/rocprofiler-compute/share/rocprofiler-compute/modulefiles - name: Query version (setting PYTHONPATH by hand) run: | export PYTHONPATH=${INSTALL_DIR}/python-libs:$PYTHONPATH - $INSTALL_DIR/omniperf/bin/omniperf --version + $INSTALL_DIR/rocprofiler-compute/bin/rocprof-compute --version - name: Install Lmod run: sudo apt-get install -y lmod - - name: Access omniperf using modulefile + - name: Access rocprofiler-compute using modulefile run: | . /etc/profile.d/lmod.sh - module use $INSTALL_DIR/omniperf/share/omniperf/modulefiles - module load omniperf + module use $INSTALL_DIR/rocprofiler-compute/share/rocprofiler-compute/modulefiles + module load rocprofiler-compute module list - omniperf --version + rocprof-compute --version diff --git a/.github/workflows/ubuntu-jammy.yml b/.github/workflows/ubuntu-jammy.yml index 1dbf06b59..9233f55c6 100644 --- a/.github/workflows/ubuntu-jammy.yml +++ b/.github/workflows/ubuntu-jammy.yml @@ -41,7 +41,7 @@ jobs: run: | mkdir build cd build - cmake -DCMAKE_INSTALL_PREFIX=/opt/omniperf -DPYTEST_NUMPROCS=4 .. + cmake -DCMAKE_INSTALL_PREFIX=/opt/rocprofiler-compute -DPYTEST_NUMPROCS=4 .. make install - name: CTest- Analyze Commands run: | diff --git a/AUTHORS b/AUTHORS index ee4978b2b..48bc2a9ec 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,4 +1,4 @@ -# This is the list of Omniperf's significant contributors. +# This is the list of ROCm Compute Profiler's significant contributors. # # This does not necessarily list everyone who has contributed code, # especially since many employees of one corporation may be contributing. diff --git a/CHANGELOG.md b/CHANGELOG.md index 2721d3749..5c18aeb8c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ -# Changelog for Omniperf +# Changelog for ROCm Compute Profiler -Full documentation for Omniperf is available at [https://rocm.docs.amd.com/projects/omniperf/en/latest/](https://rocm.docs.amd.com/projects/omniperf/en/latest/). +Full documentation for ROCm Compute Profiler is available at [https://rocm.docs.amd.com/projects/rocprofiler-compute/en/latest/](https://rocm.docs.amd.com/projects/rocprofiler-compute/en/latest/). ## Omniperf 2.1.0 for ROCm 6.2.2 diff --git a/CMakeLists.txt b/CMakeLists.txt index b945bc9b5..8f35fbd6a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,20 +16,27 @@ message(STATUS "Hostname: ${LOCALHOST}") # Versioning info derived from file file(READ "${CMAKE_CURRENT_SOURCE_DIR}/VERSION" FULL_VERSION_STRING LIMIT_COUNT 1) string(REGEX REPLACE "(\n|\r)" "" FULL_VERSION_STRING "${FULL_VERSION_STRING}") -set(OMNIPERF_FULL_VERSION "${FULL_VERSION_STRING}") -string(REGEX REPLACE "([0-9]+)\.([0-9]+)\.([0-9]+)(.*)" "\\1.\\2.\\3" OMNIPERF_VERSION - "${FULL_VERSION_STRING}") +set(ROCPROFCOMPUTE_FULL_VERSION "${FULL_VERSION_STRING}") +string(REGEX REPLACE "([0-9]+)\.([0-9]+)\.([0-9]+)(.*)" "\\1.\\2.\\3" + ROCPROFCOMPUTE_VERSION "${FULL_VERSION_STRING}") -# string(REGEX REPLACE "(${OMNIPERF_VERSION})(.*)" "\\2" OMNIPERF_VERSION_TWEAK +# string(REGEX REPLACE "(${ROCPROFCOMPUTE_VERSION})(.*)" "\\2" +# ROCPROFCOMPUTE_VERSION_TWEAK # "${FULL_VERSION_STRING}") -# string(REGEX REPLACE "^\\." "" OMNIPERF_VERSION_TWEAK "${OMNIPERF_VERSION_TWEAK}") +# string(REGEX REPLACE "^\\." "" ROCPROFCOMPUTE_VERSION_TWEAK +# "${ROCPROFCOMPUTE_VERSION_TWEAK}") project( - omniperf - VERSION ${OMNIPERF_VERSION} + rocprofiler-compute + VERSION ${ROCPROFCOMPUTE_VERSION} LANGUAGES C - DESCRIPTION "OmniPerf" - HOMEPAGE_URL "https://github.com/ROCm/omniperf") + DESCRIPTION + "A kernel-level profiling tool for machine learning/HPC workloads running on AMD MI GPUs" + HOMEPAGE_URL "https://github.com/ROCm/rocprofiler-compute") + +set(PACKAGE_NAME "rocprofiler-compute") +set(PACKAGE_NAME_UNDERSCORE "rocprofiler_compute") +set(EXECUTABLE_NAME "rocprof-compute") include(ExternalProject) include(GNUInstallDirs) @@ -39,9 +46,9 @@ find_package(Git) if(Git_FOUND AND EXISTS "${PROJECT_SOURCE_DIR}/.git") execute_process( COMMAND git log --pretty=format:%h -n 1 - OUTPUT_VARIABLE OMNIPERF_GIT_REV + OUTPUT_VARIABLE ROCPROFCOMPUTE_GIT_REV OUTPUT_STRIP_TRAILING_WHITESPACE) - message(STATUS "Git revision: ${OMNIPERF_GIT_REV}") + message(STATUS "Git revision: ${ROCPROFCOMPUTE_GIT_REV}") set(GIT_CLONE TRUE) else() set(GIT_CLONE FALSER) @@ -133,18 +140,19 @@ set(MOD_INSTALL_PATH CACHE STRING "Install path for modulefile") message(STATUS "Modulefile install path: ${MOD_INSTALL_PATH}") -set(moduleFileTemplate "omniperf.lua.in") +set(moduleFileTemplate "rocprofcompute.lua.in") configure_file( ${PROJECT_SOURCE_DIR}/cmake/${moduleFileTemplate} - ${PROJECT_BINARY_DIR}/${MOD_INSTALL_PATH}/${OMNIPERF_FULL_VERSION}.lua @ONLY) + ${PROJECT_BINARY_DIR}/${MOD_INSTALL_PATH}/${ROCPROFCOMPUTE_FULL_VERSION}.lua @ONLY) # Thera mods if(LOCALHOST MATCHES "TheraS01|.*\.thera\.amd\.com|thera-hn") list(APPEND CMAKE_MESSAGE_INDENT " ") message(STATUS "Using thera-specific modulefile modification") file(READ ${PROJECT_SOURCE_DIR}/cmake/modfile.thera.mod mod_additions) - file(APPEND ${PROJECT_BINARY_DIR}/${MOD_INSTALL_PATH}/${OMNIPERF_FULL_VERSION}.lua + file(APPEND + ${PROJECT_BINARY_DIR}/${MOD_INSTALL_PATH}/${ROCPROFCOMPUTE_FULL_VERSION}.lua ${mod_additions}) list(POP_BACK CMAKE_MESSAGE_INDENT) endif() @@ -274,9 +282,9 @@ add_test( # Install # --------- -# top-level omniperf utility +# top-level rocprofiler-compute utility install( - PROGRAMS src/omniperf + PROGRAMS src/${EXECUTABLE_NAME} DESTINATION ${CMAKE_INSTALL_LIBEXECDIR}/${PROJECT_NAME} COMPONENT main) # python dependency requirements @@ -286,16 +294,16 @@ install( COMPONENT main) # support files and version info install( - FILES src/argparser.py src/config.py src/omniperf_base.py src/roofline.py VERSION - VERSION.sha + FILES src/argparser.py src/config.py src/rocprof_compute_base.py src/roofline.py + VERSION VERSION.sha DESTINATION ${CMAKE_INSTALL_LIBEXECDIR}/${PROJECT_NAME} COMPONENT main) -# src/omniperf_analyze +# src/rocprof_compute_analyze install( - DIRECTORY src/omniperf_analyze + DIRECTORY src/rocprof_compute_analyze DESTINATION ${CMAKE_INSTALL_LIBEXECDIR}/${PROJECT_NAME} COMPONENT main - PATTERN src/omniperf_analyze/tests EXCLUDE + PATTERN src/rocprof_compute_analyze/tests EXCLUDE PATTERN "__pycache__" EXCLUDE) # src/utils install( @@ -310,15 +318,15 @@ install( PROGRAMS ${rooflinebins} DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT main) -# src/omniperf_soc +# src/rocprof_compute_soc install( - DIRECTORY src/omniperf_soc + DIRECTORY src/rocprof_compute_soc DESTINATION ${CMAKE_INSTALL_LIBEXECDIR}/${PROJECT_NAME} COMPONENT main PATTERN "__pycache__" EXCLUDE) -# src/omniperf_profile +# src/rocprof_compute_profile install( - DIRECTORY src/omniperf_profile + DIRECTORY src/rocprof_compute_profile DESTINATION ${CMAKE_INSTALL_LIBEXECDIR}/${PROJECT_NAME} COMPONENT main PATTERN "__pycache__" EXCLUDE) @@ -339,16 +347,16 @@ install( PATTERN "workloads" EXCLUDE) # modulefile install( - FILES ${PROJECT_BINARY_DIR}/${MOD_INSTALL_PATH}/${OMNIPERF_FULL_VERSION}.lua + FILES ${PROJECT_BINARY_DIR}/${MOD_INSTALL_PATH}/${ROCPROFCOMPUTE_FULL_VERSION}.lua DESTINATION ${MOD_INSTALL_PATH} COMPONENT main) -# top-level symlink for bin/omniperf +# top-level symlink for bin/rocprof-compute install( CODE "execute_process( COMMAND bash -c \"set -e cd \$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX} - ln -sf ../${CMAKE_INSTALL_LIBEXECDIR}/${PROJECT_NAME}/omniperf ${CMAKE_INSTALL_BINDIR}/omniperf + ln -sf ../${CMAKE_INSTALL_LIBEXECDIR}/${PROJECT_NAME}/${EXECUTABLE_NAME} ${CMAKE_INSTALL_BINDIR}/${EXECUTABLE_NAME} \")" COMPONENT main) @@ -361,7 +369,7 @@ add_custom_target( COMMAND ${PROJECT_SOURCE_DIR}/utils/update_license.py --source ${PROJECT_SOURCE_DIR} --license ${PROJECT_SOURCE_DIR}/LICENSE --file - "src/omniperf,cmake/Dockerfile,cmake/rocm_install.sh,docker/docker-entrypoint.sh,src/omniperf_analyze/convertor/mongodb/convert" + "src/${PACKAGE_NAME},cmake/Dockerfile,cmake/rocm_install.sh,docker/docker-entrypoint.sh,src/rocprof_compute_analyze/convertor/mongodb/convert" ) # TEST collateral @@ -396,9 +404,11 @@ set(CPACK_GENERATOR set(CPACK_PACKAGE_NAME "${PROJECT_NAME}" CACHE STRING "") -set(CPACK_PACKAGE_CONTACT "https://github.com/ROCm/omniperf") -set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Omniperf: tool for GPU performance profiling") -set(CPACK_RPM_PACKAGE_DESCRIPTION "Omniperf is a performance analysis tool for profiling +set(CPACK_PACKAGE_CONTACT "https://github.com/ROCm/rocprofiler-compute") +set(CPACK_PACKAGE_DESCRIPTION_SUMMARY + "ROCm Compute Profiler: tool for GPU performance profiling") +set(CPACK_RPM_PACKAGE_DESCRIPTION + "ROCm Compute Profiler is a performance analysis tool for profiling machine learning/HPC workloads running on AMD GPUs.") set(CPACK_PACKAGE_VENDOR "Advanced Micro Devices, Inc.") diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f18ea2ca2..640305b89 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,11 +1,11 @@ ## How to fork from us -To keep our development fast and conflict free, we recommend you to [fork](https://github.com/ROCm/omniperf/fork) our repository and start your work from our `amd-staging` branch in your private repository. +To keep our development fast and conflict free, we recommend you to [fork](https://github.com/ROCm/rocprofiler-compute/fork) our repository and start your work from our `amd-staging` branch in your private repository. Afterwards, git clone your repository to your local machine. But that is not it! To keep track of the original develop repository, add it as another remote. ``` -git remote add mainline https://github.com/ROCm/omniperf.git +git remote add mainline https://github.com/ROCm/rocprofiler-compute.git git checkout amd-staging ``` @@ -17,23 +17,23 @@ git checkout -b topic- and apply your changes there. -## How to contribute to Omniperf +## How to contribute to ROCm Compute Profiler ### Did you find a bug? -- Ensure the bug was not already reported by searching on GitHub under [Issues](https://github.com/ROCm/omniperf/issues). +- Ensure the bug was not already reported by searching on GitHub under [Issues](https://github.com/ROCm/rocprofiler-compute/issues). -- If you're unable to find an open issue addressing the problem, [open a new one](https://github.com/ROCm/omniperf/issues/new). +- If you're unable to find an open issue addressing the problem, [open a new one](https://github.com/ROCm/rocprofiler-compute/issues/new). ### Did you write a patch that fixes a bug? -- Open a new GitHub [pull request](https://github.com/ROCm/omniperf/compare) with the patch. +- Open a new GitHub [pull request](https://github.com/ROCm/rocprofiler-compute/compare) with the patch. - Ensure the PR description clearly describes the problem and solution. If there is an existing GitHub issue open describing this bug, please include it in the description so we can close it. -- Ensure the PR is based on the `amd-staging` branch of the Omniperf GitHub repository. +- Ensure the PR is based on the `amd-staging` branch of the ROCm Compute Profiler GitHub repository. -- Omniperf requires new commits to include a "Signed-off-by" token in the commit message (typically enabled via the `git commit -s` option), indicating your agreement to the projects's [Developer's Certificate of Origin](https://developercertificate.org/) and compatability with the project [LICENSE](LICENSE): +- ROCm Compute Profiler requires new commits to include a "Signed-off-by" token in the commit message (typically enabled via the `git commit -s` option), indicating your agreement to the projects's [Developer's Certificate of Origin](https://developercertificate.org/) and compatability with the project [LICENSE](LICENSE): > (a) The contribution was created in whole or in part by me and I diff --git a/MAINTAINERS.md b/MAINTAINERS.md index 0ee7f23da..dbf64db3e 100644 --- a/MAINTAINERS.md +++ b/MAINTAINERS.md @@ -1,11 +1,11 @@ -# Maintainers Guide to Omniperf +# Maintainers Guide to ROCm Compute Profiler ## Publishing a release -Before publishing a new Omniperf release, please review this checklist to ensure all prerequisites are met: +Before publishing a new ROCm Compute Profiler release, please review this checklist to ensure all prerequisites are met: 1) **Ensure [VERSION](VERSION) file is updated** to reflect your desired release version. -2) **Sync `amd-mainline` with `amd-staging`**. A rebase may be required to pull all the desired patches from the development branch to our stable mainline. Click [here](https://github.com/ROCm/omniperf/compare/amd-mainline...amd-staging) to begin that process. +2) **Sync `amd-mainline` with `amd-staging`**. A rebase may be required to pull all the desired patches from the development branch to our stable mainline. Click [here](https://github.com/ROCm/rocprofiler-compute/compare/amd-mainline...amd-staging) to begin that process. 3) **Update [CHANGES](CHANGES)** to reflect all major modifications to the codebase since the last release. When modifying [CHANGES](CHANGES) please ensure formatting is consistent with the rest of the ROCm software stack. See [this template](https://github.com/ROCm/hipTensor/blob/develop/CHANGELOG.md) for reference. 4) **Confirm all CI tests are passing**. You can easily confirm this by peeking the passing status of all GitHub continuous integration tests. 5) **Create a tag from `amd-mainline`**. More information on tagging can be found at [Git Docs - Tagging](https://git-scm.com/book/en/v2/Git-Basics-Tagging). @@ -13,7 +13,7 @@ Before publishing a new Omniperf release, please review this checklist to ensure > [!NOTE] Note: A successful tag should trigger the [packaging action](.github/workflows/packaging.yml) which will produce a tarball artifact. **This artifact needs to be included as an asset in your release**. Please find that the [packaging action](.github/workflows/packaging.yml) will automatically create a draft release with your tarball attached. -Once you've completed the above checklist, you are ready to publish your release. Please ensure you follow formatting from [past Omniperf releases](https://github.com/ROCm/omniperf/releases) for consistency. Some important aspects of our release formatting include: +Once you've completed the above checklist, you are ready to publish your release. Please ensure you follow formatting from [past ROCm Compute Profiler releases](https://github.com/ROCm/rocprofiler-compute/releases) for consistency. Some important aspects of our release formatting include: - Date of release is included in "Release Title". - Updates are called out in "Release Description". Updates should mirror those listed in [CHANGES](CHANGES). @@ -24,6 +24,6 @@ Once you've completed the above checklist, you are ready to publish your release If you are preparing for a new ROCm release, note that the [rocm-ci](https://github.com/rocm-ci) bot managed by DevOps will be triggering a tag automatically. This tag will follow the format `rocm-X.X.X`. -Traditionally, we will bump the Omniperf [VERSION](VERSION) with a new ROCm release. When we bump the version and reach the prerequisite step (5) above, try tagging with `vX.X.X` to validate the release tarball generated by the [packaging action](.github/workflows/packaging.yml). +Traditionally, we will bump the ROCm Compute Profiler [VERSION](VERSION) with a new ROCm release. When we bump the version and reach the prerequisite step (5) above, try tagging with `vX.X.X` to validate the release tarball generated by the [packaging action](.github/workflows/packaging.yml). In addition to the prerequisites mentioned above, please make sure that all changes have been merged from `amd-staging` -> `release/rocm-rel-X.X.X` to ensure that the "rocm-ci" bot will capture all your changes. It is easiest to file a single pull request ahead of the ROCm release. diff --git a/README.md b/README.md index c2b696b27..217f394ed 100644 --- a/README.md +++ b/README.md @@ -1,22 +1,22 @@ -[![Ubuntu 22.04](https://github.com/ROCm/omniperf/actions/workflows/ubuntu-jammy.yml/badge.svg)](https://github.com/ROCm/omniperf/actions/workflows/ubuntu-jammy.yml) -[![RHEL 8](https://github.com/ROCm/omniperf/actions/workflows/rhel-8.yml/badge.svg)](https://github.com/ROCm/omniperf/actions/workflows/rhel-8.yml) -[![Instinct](https://github.com/ROCm/omniperf/actions/workflows/mi-rhel9.yml/badge.svg)](https://github.com/ROCm/omniperf/actions/workflows/mi-rhel9.yml) -[![Docs](https://github.com/ROCm/omniperf/actions/workflows/docs.yml/badge.svg)](https://rocm.github.io/omniperf/) +[![Ubuntu 22.04](https://github.com/ROCm/rocprofiler-compute/actions/workflows/ubuntu-jammy.yml/badge.svg)](https://github.com/ROCm/rocprofiler-compute/actions/workflows/ubuntu-jammy.yml) +[![RHEL 8](https://github.com/ROCm/rocprofiler-compute/actions/workflows/rhel-8.yml/badge.svg)](https://github.com/ROCm/rocprofiler-compute/actions/workflows/rhel-8.yml) +[![Instinct](https://github.com/ROCm/rocprofiler-compute/actions/workflows/mi-rhel9.yml/badge.svg)](https://github.com/ROCm/rocprofiler-compute/actions/workflows/mi-rhel9.yml) +[![Docs](https://github.com/ROCm/rocprofiler-compute/actions/workflows/docs.yml/badge.svg)](https://rocm.github.io/rocprofiler-compute/) [![DOI](https://zenodo.org/badge/561919887.svg)](https://zenodo.org/badge/latestdoi/561919887) -# Omniperf +# ROCm Compute Profiler ## General -Omniperf is a system performance profiling tool for machine +ROCm Compute Profiler is a system performance profiling tool for machine learning/HPC workloads running on AMD MI GPUs. The tool presently targets usage on MI100, MI200, and MI300 accelerators. * For more information on available features, installation steps, and workload profiling and analysis, please refer to the online -[documentation](https://rocm.docs.amd.com/projects/omniperf/en/latest/). +[documentation](https://rocm.docs.amd.com/projects/rocprofiler-compute/en/latest/). -* Omniperf is an AMD open source research project and is not supported +* ROCm Compute Profiler is an AMD open source research project and is not supported as part of the ROCm software stack. We welcome contributions and feedback from the community. Please see the [CONTRIBUTING.md](CONTRIBUTING.md) file for additional details on our @@ -26,7 +26,7 @@ contribution process. ## Development -Omniperf follows a +ROCm Compute Profiler follows a [main-dev](https://nvie.com/posts/a-successful-git-branching-model/) branching model. As a result, our latest stable release is shipped from the `amd-mainline` branch, while new features are developed in our @@ -50,8 +50,8 @@ style reference is provided below for convenience: Keith Lowery and Nicholas Curtis and Cristian Di Pietrantonio}, - title = {AMDResearch/omniperf: v2.1.0 (27 Sept 2024)}, - month = sept, + title = {ROCm/rocprofiler-compute: v2.1.0 (27 September 2024)}, + month = september, year = 2024, publisher = {Zenodo}, version = {v2.1.0}, diff --git a/cmake/Dockerfile b/cmake/Dockerfile index 346e64aa7..b38dd735b 100644 --- a/cmake/Dockerfile +++ b/cmake/Dockerfile @@ -26,16 +26,16 @@ FROM ubuntu:20.04 USER root -COPY rocm_install.sh /omniperf/rocm_install.sh +COPY rocm_install.sh /rocprofiler-compute/rocm_install.sh -ENV PATH="/omniperf:${PATH}" +ENV PATH="/rocprofiler-compute:${PATH}" ENV TZ="US/Chicago" ENV DEBIAN_FRONTEND noninteractive #pyenv dependencies RUN apt update && \ apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev python-openssl -ENV HOME="/omniperf" +ENV HOME="/rocprofiler-compute" WORKDIR $HOME ENV PYENV_ROOT="$HOME/.pyenv" ENV PATH="$PYENV_ROOT/bin:$PATH" diff --git a/cmake/VERSION.sha.in b/cmake/VERSION.sha.in index 5b3d30150..def9f7893 100644 --- a/cmake/VERSION.sha.in +++ b/cmake/VERSION.sha.in @@ -1 +1 @@ -@OMNIPERF_GIT_REV@ +@ROCPROFCOMPUTE_GIT_REV@ diff --git a/cmake/omniperf.lua.in b/cmake/rocprofcompute.lua.in similarity index 59% rename from cmake/omniperf.lua.in rename to cmake/rocprofcompute.lua.in index ca55ab6f6..846be16e0 100644 --- a/cmake/omniperf.lua.in +++ b/cmake/rocprofcompute.lua.in @@ -1,18 +1,18 @@ local help_message = [[ -Omniperf is an open-source performance analysis tool for profiling +ROCm Compute Profiler is an open-source performance analysis tool for profiling machine learning/HPC workloads running on AMD MI GPUs. -Version @OMNIPERF_FULL_VERSION@ +Version @ROCPROFCOMPUTE_FULL_VERSION@ ]] help(help_message,"\n") -whatis("Name: omniperf") -whatis("Version: @OMNIPERF_FULL_VERSION@") +whatis("Name: @PROJECT_NAME@") +whatis("Version: @ROCPROFCOMPUTE_FULL_VERSION@") whatis("Keywords: Profiling, Performance, GPU") whatis("Description: tool for GPU performance profiling") -whatis("URL: https://github.com/ROCm/omniperf") +whatis("URL: https://github.com/ROCm/rocprofiler-compute") -- Export environmental variables local topDir="@CMAKE_INSTALL_PREFIX@" @@ -20,9 +20,9 @@ local binDir="@CMAKE_INSTALL_FULL_BINDIR@" local shareDir="@CMAKE_INSTALL_FULL_DATADIR@" local pythonDeps="@PYTHON_DEPS@" -setenv("OMNIPERF_DIR",topDir) -setenv("OMNIPERF_BIN",binDir) -setenv("OMNIPERF_SHARE",shareDir) +setenv("ROCPROFCOMPUTE_DIR",topDir) +setenv("ROCPROFCOMPUTE_BIN",binDir) +setenv("ROCPROFCOMPUTE_SHARE",shareDir) -- Update relevant PATH variables prepend_path("PATH",binDir) diff --git a/docker/build-docker-ci.sh b/docker/build-docker-ci.sh index 8c7029e89..b3dba28a4 100755 --- a/docker/build-docker-ci.sh +++ b/docker/build-docker-ci.sh @@ -137,7 +137,7 @@ do verbose-run docker build . \ ${PULL} \ -f ${DOCKER_FILE} \ - --tag ${USER}/omniperf:ci-base-${DISTRO}-${VERSION} \ + --tag ${USER}/rocprofiler-compute:ci-base-${DISTRO}-${VERSION} \ --build-arg DISTRO=${DISTRO_IMAGE} \ --build-arg VERSION=${VERSION} \ --build-arg PYTHON_VERSIONS=\"${PYTHON_VERSIONS}\" @@ -149,6 +149,6 @@ done if [ "${PUSH}" -gt 0 ]; then for VERSION in ${VERSIONS} do - verbose-run docker push ${USER}/omniperf:ci-base-${DISTRO}-${VERSION} + verbose-run docker push ${USER}/rocprofiler-compute:ci-base-${DISTRO}-${VERSION} done fi \ No newline at end of file diff --git a/docker/build-docker.sh b/docker/build-docker.sh index 5d6f2d181..4da9161fb 100755 --- a/docker/build-docker.sh +++ b/docker/build-docker.sh @@ -159,7 +159,7 @@ do VERSION_PATCH=$(echo ${VERSION} | sed 's/\./ /g' | awk '{print $3}') for ROCM_VERSION in ${ROCM_VERSIONS} do - CONTAINER=${USER}/omniperf:release-base-${DISTRO}-${VERSION}-rocm-${ROCM_VERSION} + CONTAINER=${USER}/rocprofiler-compute:release-base-${DISTRO}-${VERSION}-rocm-${ROCM_VERSION} ROCM_MAJOR=$(echo ${ROCM_VERSION} | sed 's/\./ /g' | awk '{print $1}') ROCM_MINOR=$(echo ${ROCM_VERSION} | sed 's/\./ /g' | awk '{print $2}') ROCM_PATCH=$(echo ${ROCM_VERSION} | sed 's/\./ /g' | awk '{print $3}') diff --git a/docs/archive/docs-1.x/analysis.md b/docs/archive/docs-1.x/analysis.md index 126364dbd..19851c59d 100644 --- a/docs/archive/docs-1.x/analysis.md +++ b/docs/archive/docs-1.x/analysis.md @@ -171,7 +171,7 @@ $ omniperf analyze -p workloads/vcopy/mi200/ --list-metrics gfx90a ├─────────┼─────────────────────────────┤ ... ``` - 2. Choose your own customized subset of metrics with `-b` (a.k.a. `--metric`), or build your own config following [config_template](https://github.com/ROCm/omniperf/blob/amd-mainline/src/omniperf_analyze/configs/panel_config_template.yaml). Below shows how to generate a report containing only metric 2 (a.k.a. System Speed-of-Light). + 2. Choose your own customized subset of metrics with `-b` (a.k.a. `--metric`), or build your own config following [config_template](https://github.com/ROCm/omniperf/blob/amd-mainline/src/rocprof_compute_analyze/configs/panel_config_template.yaml). Below shows how to generate a report containing only metric 2 (a.k.a. System Speed-of-Light). ```shell-session $ omniperf analyze -p workloads/vcopy/mi200/ -b 2 -------- @@ -381,7 +381,7 @@ Analyze Dash is running on http://0.0.0.0:8050/ - * Serving Flask app 'omniperf_analyze.omniperf_analyze' (lazy loading) + * Serving Flask app 'rocprof_compute_analyze.rocprof_compute_analyze' (lazy loading) * Environment: production WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. @@ -767,4 +767,4 @@ Most panels are designed around a specific IP block to thoroughly understand its ###### L2-EA Write Stalls ![L2-EA Write Stalls](images/L2_ea_write_stalls_per_channel.png) ###### L2-EA Write Starvation -![L2-EA Write Starvation](images/L2_ea_write_starvation_per_channel.png) \ No newline at end of file +![L2-EA Write Starvation](images/L2_ea_write_starvation_per_channel.png) diff --git a/docs/archive/docs-2.x/analysis.md b/docs/archive/docs-2.x/analysis.md index 22fa72e39..a44e4b63f 100644 --- a/docs/archive/docs-2.x/analysis.md +++ b/docs/archive/docs-2.x/analysis.md @@ -181,7 +181,7 @@ Analysis mode = cli 2.1.30 -> L1I Fetch Latency ... ``` -3. Choose your own customized subset of metrics with `-b` (a.k.a. `--block`), or build your own config following [config_template](https://github.com/ROCm/omniperf/blob/amd-mainline/src/omniperf_analyze/configs/panel_config_template.yaml). Below shows how to generate a report containing only metric 2 (a.k.a. System Speed-of-Light). +3. Choose your own customized subset of metrics with `-b` (a.k.a. `--block`), or build your own config following [config_template](https://github.com/ROCm/omniperf/blob/amd-mainline/src/rocprof_compute_analyze/configs/panel_config_template.yaml). Below shows how to generate a report containing only metric 2 (a.k.a. System Speed-of-Light). ```shell-session $ omniperf analyze -p workloads/vcopy/MI200/ -b 2 -------- @@ -407,7 +407,7 @@ Analysis mode = web_ui [analysis] deriving Omniperf metrics... Dash is running on http://0.0.0.0:8050/ - * Serving Flask app 'omniperf_analyze.analysis_webui' (lazy loading) + * Serving Flask app 'rocprof_compute_analyze.analysis_webui' (lazy loading) * Environment: production WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. diff --git a/docs/how-to/analyze/cli.rst b/docs/how-to/analyze/cli.rst index 82185cd41..44a014a8b 100644 --- a/docs/how-to/analyze/cli.rst +++ b/docs/how-to/analyze/cli.rst @@ -186,7 +186,7 @@ Walkthrough 3. Choose your own customized subset of metrics with the ``-b`` (or ``--block``) option. Or, build your own configuration following - `config_template `_. + `config_template `_. The following snippet shows how to generate a report containing only metric 2 (:doc:`System Speed-of-Light `). diff --git a/docs/how-to/analyze/standalone-gui.rst b/docs/how-to/analyze/standalone-gui.rst index a6a3e26f3..15bd00878 100644 --- a/docs/how-to/analyze/standalone-gui.rst +++ b/docs/how-to/analyze/standalone-gui.rst @@ -47,7 +47,7 @@ desired analysis command. For example: [analysis] deriving Omniperf metrics... Dash is running on http://0.0.0.0:8050/ - * Serving Flask app 'omniperf_analyze.analysis_webui' (lazy loading) + * Serving Flask app 'rocprof_compute_analyze.analysis_webui' (lazy loading) * Environment: production WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. diff --git a/docs/install/core-install.rst b/docs/install/core-install.rst index f33b97622..1d28b07b5 100644 --- a/docs/install/core-install.rst +++ b/docs/install/core-install.rst @@ -32,7 +32,7 @@ right for you. :width: 800 .. _core-install: - + Core installation ================= @@ -44,12 +44,6 @@ installation. * CMake ``>= 3.19`` * ROCm ``>= 5.7.1`` -.. note:: - - Omniperf will use the first version of ``Python3`` found in your system's - ``PATH``. If the default version of Python3 is older than 3.8, you may need to - update your system's ``PATH`` to point to a newer version of Python3. - Omniperf depends on a number of Python packages documented in the top-level ``requirements.txt`` file. Install these *before* configuring Omniperf. @@ -72,16 +66,6 @@ following steps illustrate how to install the necessary Python dependencies using `pip `_ and Omniperf into a shared location controlled by the ``INSTALL_DIR`` environment variable. -.. tip:: - - To always run Omniperf with a particular version of python, you can create a - bash alias. For example, to run Omniperf with Python 3.10, you can run the - following command: - - .. code-block:: shell - - alias omniperf-mypython="/usr/bin/python3.10 /opt/rocm/bin/omniperf" - .. _core-install-cmake-vars: Configuration variables @@ -142,7 +126,7 @@ Install from source cd build cmake -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR}/{{ config.version }} \ -DPYTHON_DEPS=${INSTALL_DIR}/python-libs \ - -DMOD_INSTALL_PATH=${INSTALL_DIR}/modulefiles/omniperf .. + -DMOD_INSTALL_PATH=${INSTALL_DIR}/modulefiles .. # install make install @@ -224,30 +208,21 @@ software stack. .. code-block:: shell $ sudo apt install omniperf - # Include omniperf in your system PATH - $ sudo update-alternatives --install /usr/bin/omniperf omniperf /opt/rocm/bin/omniperf 0 - # Install Python dependencies - $ python3 -m pip install -r /opt/rocm/libexec/omniperf/requirements.txt + $ pip install -r /opt/rocm/libexec/omniperf/requirements.txt .. tab-item:: Red Hat Enterprise Linux .. code-block:: shell $ sudo dnf install omniperf - # Include omniperf in your system PATH - $ sudo update-alternatives --install /usr/bin/omniperf omniperf /opt/rocm/bin/omniperf 0 - # Install Python dependencies - $ python3 -m pip install -r /opt/rocm/libexec/omniperf/requirements.txt + $ pip install -r /opt/rocm/libexec/omniperf/requirements.txt .. tab-item:: SUSE Linux Enterprise Server .. code-block:: shell $ sudo zypper install omniperf - # Include omniperf in your system PATH - $ sudo update-alternatives --install /usr/bin/omniperf omniperf /opt/rocm/bin/omniperf 0 - # Install Python dependencies - $ python3 -m pip install -r /opt/rocm/libexec/omniperf/requirements.txt + $ pip install -r /opt/rocm/libexec/omniperf/requirements.txt .. _core-install-rocprof-var: diff --git a/docs/install/grafana-setup.rst b/docs/install/grafana-setup.rst index 39dca6e88..a7486d286 100644 --- a/docs/install/grafana-setup.rst +++ b/docs/install/grafana-setup.rst @@ -79,13 +79,6 @@ directory to begin. $ sudo docker-compose build $ sudo docker-compose up -d -.. note:: - - To troubleshoot Docker container build failures related to certificate verification, try - disabling any network proxy services on the host system. These proxy services can interfere - with OpenSSL's ability to retrieve a correct certificate chain when the container accesses - external websites. - The TCP ports for Grafana (``4000``) and MongoDB (``27017``) in the Docker container are mapped to ``14000`` and ``27018``, respectively, on the host side. diff --git a/docs/sphinx/static/css/o_custom.css b/docs/sphinx/static/css/o_custom.css index b4fe010b5..a6cbe5718 100644 --- a/docs/sphinx/static/css/o_custom.css +++ b/docs/sphinx/static/css/o_custom.css @@ -1,8 +1,30 @@ +:root { + --amd-teal-500: #00C2DE; + --amd-teal-750: #00788E; +} + /* Override PyData Sphinx Theme default colors */ html[data-theme='light'] { + --pst-color-primary: var(--amd-teal-750); + --pst-color-primary-bg: var(--amd-teal-500); --pst-color-table-row-hover-bg: #E2E8F0; } html[data-theme='dark'] { + --pst-color-primary: var(--amd-teal-500); + --pst-color-primary-bg: var(--amd-teal-750); --pst-color-table-row-hover-bg: #1E293B; } + +html[data-theme='light'], +html[data-theme='dark'] { + --pst-color-link: var(--pst-color-primary); +} + +a svg { + color: var(--pst-color-text-base); +} + +a svg:hover { + color: var(--pst-color-link-hover); +} diff --git a/grafana/Dockerfile b/grafana/Dockerfile index 2227f487f..6f7b7f049 100644 --- a/grafana/Dockerfile +++ b/grafana/Dockerfile @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------- # NOTE: -# Dependencies are not included as part of Omniperf. +# Dependencies are not included as part of ROCm Compute Profiler. # It's the user's responsibility to accept any licensing implications # before building the project # ----------------------------------------------------------------------- @@ -15,7 +15,7 @@ ENV TZ "US/Chicago" ENV NVM_DIR /usr/local/nvm ENV NODE_VERSION 20.12.2 -ADD plugins/omniperf_plugin /var/lib/grafana/plugins/omniperf_plugin +ADD plugins/rocprofiler-compute_plugin /var/lib/grafana/plugins/rocprofiler-compute_plugin # Install Grafana and MongoDB Community Edition # Note: Grafana install is stubbed to 10.4.3 @@ -50,7 +50,7 @@ RUN apt-get install -y tzdata systemd apt-utils npm vim net-tools && \ /usr/sbin/grafana-cli plugins install grafana-image-renderer && \ /usr/sbin/grafana-cli plugins install aceiot-svg-panel && \ chown root:grafana /etc/grafana && \ - cd /var/lib/grafana/plugins/omniperf_plugin && \ + cd /var/lib/grafana/plugins/rocprofiler-compute_plugin && \ npm install && \ npm run build && \ apt-get autoremove -y && \ diff --git a/grafana/dashboards/Omniperf_v1.0.3_pub.json b/grafana/dashboards/Omniperf_v1.0.3_pub.json index 5e4c480cc..270366cbe 100644 --- a/grafana/dashboards/Omniperf_v1.0.3_pub.json +++ b/grafana/dashboards/Omniperf_v1.0.3_pub.json @@ -32,7 +32,7 @@ { "collapsed": true, "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "oVK0I__nk" }, "gridPos": { @@ -92,7 +92,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "hide": false, @@ -103,7 +103,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "hide": false, @@ -139,7 +139,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "oVK0I__nk" }, "refId": "A" @@ -151,7 +151,7 @@ { "collapsed": true, "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "oVK0I__nk" }, "gridPos": { @@ -333,7 +333,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "hide": false, @@ -344,7 +344,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "hide": false, @@ -458,7 +458,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "rawQuery": true, @@ -543,7 +543,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "tlh8EwUnk" }, "rawQuery": true, @@ -571,7 +571,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "oVK0I__nk" }, "refId": "A" @@ -583,7 +583,7 @@ { "collapsed": true, "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "oVK0I__nk" }, "gridPos": { @@ -641,7 +641,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "u5Z2zJhnk" }, "hide": false, @@ -1015,7 +1015,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "HV80ot2nz" }, "rawQuery": true, @@ -1437,7 +1437,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "HV80ot2nz" }, "rawQuery": true, @@ -1504,7 +1504,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "oVK0I__nk" }, "refId": "A" @@ -1516,7 +1516,7 @@ { "collapsed": true, "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "oVK0I__nk" }, "gridPos": { @@ -1812,7 +1812,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "oVK0I__nk" }, "rawQuery": true, @@ -1822,7 +1822,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "oVK0I__nk" }, "hide": false, @@ -1833,7 +1833,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "oVK0I__nk" }, "hide": false, @@ -1844,7 +1844,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "oVK0I__nk" }, "hide": false, @@ -1855,7 +1855,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "oVK0I__nk" }, "hide": false, @@ -1890,7 +1890,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "oVK0I__nk" }, "refId": "A" @@ -1902,7 +1902,7 @@ { "collapsed": true, "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "oVK0I__nk" }, "gridPos": { @@ -2488,7 +2488,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "LJKvMZank" }, "rawQuery": true, @@ -2498,7 +2498,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "LJKvMZank" }, "hide": false, @@ -2509,7 +2509,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "LJKvMZank" }, "hide": false, @@ -2520,7 +2520,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "LJKvMZank" }, "hide": false, @@ -2531,7 +2531,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "LJKvMZank" }, "hide": false, @@ -2542,7 +2542,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "LJKvMZank" }, "hide": false, @@ -2553,7 +2553,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "LJKvMZank" }, "hide": false, @@ -2564,7 +2564,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "LJKvMZank" }, "hide": false, @@ -2575,7 +2575,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "LJKvMZank" }, "hide": false, @@ -2586,7 +2586,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "jYrBWHfnz" }, "hide": false, @@ -3175,7 +3175,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "LJKvMZank" }, "hide": false, @@ -3186,7 +3186,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "LJKvMZank" }, "hide": false, @@ -3197,7 +3197,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "LJKvMZank" }, "hide": false, @@ -3208,7 +3208,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "LJKvMZank" }, "hide": false, @@ -3219,7 +3219,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "LJKvMZank" }, "hide": false, @@ -3230,7 +3230,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "LJKvMZank" }, "hide": false, @@ -3241,7 +3241,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "LJKvMZank" }, "hide": false, @@ -3252,7 +3252,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "LJKvMZank" }, "hide": false, @@ -3263,7 +3263,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "jYrBWHfnz" }, "hide": false, @@ -3274,7 +3274,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "jYrBWHfnz" }, "hide": false, @@ -3292,7 +3292,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "oVK0I__nk" }, "refId": "A" @@ -3304,7 +3304,7 @@ { "collapsed": true, "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "oVK0I__nk" }, "gridPos": { @@ -3390,7 +3390,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "rawQuery": true, @@ -3400,7 +3400,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "hide": false, @@ -3595,7 +3595,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "rawQuery": true, @@ -3605,7 +3605,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "hide": false, @@ -3658,7 +3658,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "oVK0I__nk" }, "refId": "A" @@ -3670,7 +3670,7 @@ { "collapsed": true, "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "oVK0I__nk" }, "gridPos": { @@ -3829,7 +3829,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "rawQuery": true, @@ -3839,7 +3839,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "hide": false, @@ -4036,7 +4036,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "rawQuery": true, @@ -4046,7 +4046,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "hide": false, @@ -4098,7 +4098,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "oVK0I__nk" }, "refId": "A" @@ -4110,7 +4110,7 @@ { "collapsed": true, "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "oVK0I__nk" }, "gridPos": { @@ -4306,7 +4306,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "rawQuery": true, @@ -4316,7 +4316,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "hide": false, @@ -4502,7 +4502,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "hide": false, @@ -4513,7 +4513,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "hide": false, @@ -4568,7 +4568,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "oVK0I__nk" }, "refId": "A" @@ -4580,7 +4580,7 @@ { "collapsed": true, "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "oVK0I__nk" }, "gridPos": { @@ -4644,7 +4644,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "rawQuery": true, @@ -4654,7 +4654,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "hide": false, @@ -4735,7 +4735,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "hide": false, @@ -4746,7 +4746,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "hide": false, @@ -4825,7 +4825,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "rawQuery": true, @@ -4835,7 +4835,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "hide": false, @@ -4919,7 +4919,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "rawQuery": true, @@ -4929,7 +4929,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "hide": false, @@ -4969,7 +4969,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "oVK0I__nk" }, "refId": "A" @@ -4981,7 +4981,7 @@ { "collapsed": true, "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "oVK0I__nk" }, "gridPos": { @@ -5052,7 +5052,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "rawQuery": true, @@ -5062,7 +5062,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "hide": false, @@ -5196,7 +5196,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "bhNVuvBnk" }, "rawQuery": true, @@ -5206,7 +5206,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "bhNVuvBnk" }, "hide": false, @@ -5370,7 +5370,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "rawQuery": true, @@ -5380,7 +5380,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "hide": false, @@ -5477,7 +5477,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "bhNVuvBnk" }, "rawQuery": true, @@ -5487,7 +5487,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "bhNVuvBnk" }, "hide": false, @@ -5498,7 +5498,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "bhNVuvBnk" }, "hide": false, @@ -5509,7 +5509,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "bhNVuvBnk" }, "hide": false, @@ -5520,7 +5520,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "bhNVuvBnk" }, "hide": false, @@ -5531,7 +5531,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "bhNVuvBnk" }, "hide": false, @@ -5542,7 +5542,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "bhNVuvBnk" }, "hide": false, @@ -5553,7 +5553,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "bhNVuvBnk" }, "hide": false, @@ -5600,7 +5600,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "oVK0I__nk" }, "refId": "A" @@ -5612,7 +5612,7 @@ { "collapsed": true, "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "oVK0I__nk" }, "gridPos": { @@ -5683,7 +5683,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "rawQuery": true, @@ -5693,7 +5693,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "hide": false, @@ -5875,7 +5875,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "hide": false, @@ -5886,7 +5886,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "hide": false, @@ -5941,7 +5941,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "oVK0I__nk" }, "refId": "A" @@ -5953,7 +5953,7 @@ { "collapsed": true, "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "oVK0I__nk" }, "gridPos": { @@ -6021,7 +6021,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "rawQuery": true, @@ -6031,7 +6031,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "hide": false, @@ -6131,7 +6131,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "bhNVuvBnk" }, "rawQuery": true, @@ -6141,7 +6141,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "bhNVuvBnk" }, "hide": false, @@ -6189,7 +6189,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "oVK0I__nk" }, "refId": "A" @@ -6201,7 +6201,7 @@ { "collapsed": true, "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "oVK0I__nk" }, "gridPos": { @@ -6284,7 +6284,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "hide": false, @@ -6295,7 +6295,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "sY628IJnz" }, "hide": false, @@ -6393,7 +6393,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "bhNVuvBnk" }, "hide": false, @@ -6404,7 +6404,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "bhNVuvBnk" }, "hide": false, @@ -6547,7 +6547,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "hide": false, @@ -6558,7 +6558,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "hide": false, @@ -6610,7 +6610,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "oVK0I__nk" }, "refId": "A" @@ -6622,7 +6622,7 @@ { "collapsed": true, "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "oVK0I__nk" }, "gridPos": { @@ -6709,7 +6709,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "rawQuery": true, @@ -6719,7 +6719,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "hide": false, @@ -6891,7 +6891,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "rawQuery": true, @@ -6901,7 +6901,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "hide": false, @@ -6953,7 +6953,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "oVK0I__nk" }, "refId": "A" @@ -6965,7 +6965,7 @@ { "collapsed": true, "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "oVK0I__nk" }, "gridPos": { @@ -7032,7 +7032,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "rawQuery": true, @@ -7042,7 +7042,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "hide": false, @@ -7195,7 +7195,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "rawQuery": true, @@ -7205,7 +7205,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "hide": false, @@ -7391,7 +7391,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "hide": false, @@ -7402,7 +7402,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "hide": false, @@ -7558,7 +7558,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "tlh8EwUnk" }, "rawQuery": true, @@ -7635,7 +7635,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "rawQuery": true, @@ -7645,7 +7645,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "hide": false, @@ -7697,7 +7697,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "oVK0I__nk" }, "refId": "A" @@ -7709,7 +7709,7 @@ { "collapsed": true, "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "oVK0I__nk" }, "gridPos": { @@ -7919,7 +7919,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "rawQuery": true, @@ -7929,7 +7929,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "hide": false, @@ -8067,7 +8067,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "rawQuery": true, @@ -8077,7 +8077,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "hide": false, @@ -8237,7 +8237,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "hide": false, @@ -8248,7 +8248,7 @@ }, { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "hide": false, @@ -8403,7 +8403,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "rawQuery": true, @@ -8420,7 +8420,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "oVK0I__nk" }, "refId": "A" @@ -8432,7 +8432,7 @@ { "collapsed": true, "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "oVK0I__nk" }, "gridPos": { @@ -10245,7 +10245,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "rawQuery": true, @@ -10364,7 +10364,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "Zzw1yR27k" }, "rawQuery": true, @@ -12540,7 +12540,7 @@ "targets": [ { "datasource": { - "type": "amd-omniperf-data-plugin", + "type": "amd-rocprofiler-compute-data-plugin", "uid": "oVK0I__nk" }, "refId": "A" @@ -12737,8 +12737,8 @@ { "current": { "selected": false, - "text": "omniperf_asw_mixbench_mi200", - "value": "omniperf_asw_mixbench_mi200" + "text": "rocprofiler-compute_asw_mixbench_mi200", + "value": "rocprofiler-compute_asw_mixbench_mi200" }, "definition": "workload_names.names.aggregate([\n {\"$group\": {\n \"_id\": \"&name\"\n }}\n]);", "hide": 0, @@ -12883,8 +12883,8 @@ { "current": { "selected": false, - "text": "omniperf_asw_mixbench_mi200", - "value": "omniperf_asw_mixbench_mi200" + "text": "rocprofiler-compute_asw_mixbench_mi200", + "value": "rocprofiler-compute_asw_mixbench_mi200" }, "definition": "workload_names.names.aggregate([\n {\"$group\": {\n \"_id\": \"&name\"\n }}\n]);", "hide": 0, @@ -13318,8 +13318,8 @@ }, "timepicker": {}, "timezone": "", - "title": "Omniperf_v1.0.3_pub", - "uid": "Omniperf_v1_0_063020221", + "title": "rocprofiler-compute_v1.0.3_pub", + "uid": "rocprofiler-compute_v1_0_063020221", "version": 4, "weekStart": "" } \ No newline at end of file diff --git a/grafana/dashboards/Omniperf_v1.0.5_pub.json b/grafana/dashboards/Omniperf_v1.0.5_pub.json index 4cbfd4a8e..d04333113 100644 --- a/grafana/dashboards/Omniperf_v1.0.5_pub.json +++ b/grafana/dashboards/Omniperf_v1.0.5_pub.json @@ -13324,7 +13324,7 @@ }, "timepicker": {}, "timezone": "", - "title": "Omniperf_v1.0.5_pub", + "title": "rocprofiler-compute_v1.0.5_pub", "uid": "MIPerf_v1_0_0630202211", "version": 3, "weekStart": "" diff --git a/grafana/dashboards/Omniperf_v1.0.7_pub.json b/grafana/dashboards/Omniperf_v1.0.7_pub.json index c4b089979..80e544f3a 100644 --- a/grafana/dashboards/Omniperf_v1.0.7_pub.json +++ b/grafana/dashboards/Omniperf_v1.0.7_pub.json @@ -12733,8 +12733,8 @@ { "current": { "selected": true, - "text": "omniperf_asw_mix_mi200", - "value": "omniperf_asw_mix_mi200" + "text": "rocprofiler-compute_asw_mix_mi200", + "value": "rocprofiler-compute_asw_mix_mi200" }, "definition": "workload_names.names.aggregate([\n {\"$group\": {\n \"_id\": \"&name\"\n }}\n]);", "hide": 0, @@ -13318,7 +13318,7 @@ }, "timepicker": {}, "timezone": "", - "title": "Omniperf_v1.0.7_pub", + "title": "rocprofiler-compute_v1.0.7_pub", "uid": "MIPerf_v1_0_06302022112", "version": 2, "weekStart": "" diff --git a/grafana/dashboards/Omniperf_v1.0.8_pub.json b/grafana/dashboards/Omniperf_v1.0.8_pub.json index 72df97ef3..570ad3110 100644 --- a/grafana/dashboards/Omniperf_v1.0.8_pub.json +++ b/grafana/dashboards/Omniperf_v1.0.8_pub.json @@ -12809,8 +12809,8 @@ { "current": { "selected": true, - "text": "omniperf_asw_mixbench_mi200", - "value": "omniperf_asw_mixbench_mi200" + "text": "rocprofiler-compute_asw_mixbench_mi200", + "value": "rocprofiler-compute_asw_mixbench_mi200" }, "definition": "workload_names.names.aggregate([\n {\"$group\": {\n \"_id\": \"&name\"\n }}\n]);", "hide": 0, @@ -12955,8 +12955,8 @@ { "current": { "selected": true, - "text": "omniperf_asw_mixbench_mi200", - "value": "omniperf_asw_mixbench_mi200" + "text": "rocprofiler-compute_asw_mixbench_mi200", + "value": "rocprofiler-compute_asw_mixbench_mi200" }, "definition": "workload_names.names.aggregate([\n {\"$group\": {\n \"_id\": \"&name\"\n }}\n]);", "hide": 0, @@ -13390,7 +13390,7 @@ }, "timepicker": {}, "timezone": "", - "title": "Omniperf_v1.0.8_pub", + "title": "rocprofiler-compute_v1.0.8_pub", "uid": "MIPerf_v1_0_0630202211210", "version": 4, "weekStart": "" diff --git a/grafana/dashboards/Omniperf_v2.0.0_pub.json b/grafana/dashboards/Omniperf_v2.0.0_pub.json index 603d52ed7..1e0cd46ee 100644 --- a/grafana/dashboards/Omniperf_v2.0.0_pub.json +++ b/grafana/dashboards/Omniperf_v2.0.0_pub.json @@ -12827,8 +12827,8 @@ { "current": { "selected": true, - "text": "omniperf_pymongo4_Vcopy_gfx90a", - "value": "omniperf_pymongo4_Vcopy_gfx90a" + "text": "rocprofiler-compute_pymongo4_Vcopy_gfx90a", + "value": "rocprofiler-compute_pymongo4_Vcopy_gfx90a" }, "definition": "workload_names.names.aggregate([\n {\"$group\": {\n \"_id\": \"&name\"\n }}\n]);", "hide": 0, @@ -12973,8 +12973,8 @@ { "current": { "selected": false, - "text": "omniperf_pymongo4_Vcopy_gfx908", - "value": "omniperf_pymongo4_Vcopy_gfx908" + "text": "rocprofiler-compute_pymongo4_Vcopy_gfx908", + "value": "rocprofiler-compute_pymongo4_Vcopy_gfx908" }, "definition": "workload_names.names.aggregate([\n {\"$group\": {\n \"_id\": \"&name\"\n }}\n]);", "hide": 0, @@ -13408,8 +13408,8 @@ }, "timepicker": {}, "timezone": "", - "title": "Omniperf_v2.0_pubx", - "uid": "Omniperf_v20x", + "title": "rocprofiler-compute_v2.0_pubx", + "uid": "rocprofiler-compute_v20x", "version": 2, "weekStart": "" } \ No newline at end of file diff --git a/grafana/docker-compose.yml b/grafana/docker-compose.yml index 34e03d277..38c3ebd9b 100644 --- a/grafana/docker-compose.yml +++ b/grafana/docker-compose.yml @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------- # NOTE: -# Dependencies are not included as part of Omniperf. +# Dependencies are not included as part of ROCm Compute Profiler. # It's the user's responsibility to accept any licensing implications # before building the project # ----------------------------------------------------------------------- @@ -9,13 +9,13 @@ version: "3.3" services: web: - image: omniperf-grafana-v1.0 - container_name: omniperf-grafana-v1.0 + image: rocprofiler-compute-grafana-v1.0 + container_name: rocprofiler-compute-grafana-v1.0 restart: always build: . environment: - GF_PATHS_CONFIG="grafana/etc/grafana.ini" - - GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=amd-omniperf-data-plugin + - GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=amd-rocprofiler-compute-data-plugin - GF_DEFAULT_APP_MODE=development ports: - "14000:4000" diff --git a/grafana/docker-entrypoint.sh b/grafana/docker-entrypoint.sh index 57ae8fa74..be92ccf6e 100755 --- a/grafana/docker-entrypoint.sh +++ b/grafana/docker-entrypoint.sh @@ -24,7 +24,7 @@ # SOFTWARE. ##############################################################################el -pushd /var/lib/grafana/plugins/omniperf_plugin +pushd /var/lib/grafana/plugins/rocprofiler-compute_plugin npm run server & popd diff --git a/grafana/grafana.ini b/grafana/grafana.ini index fcf8b42b0..d2e07ed15 100644 --- a/grafana/grafana.ini +++ b/grafana/grafana.ini @@ -874,7 +874,7 @@ max_days = 7 ;enable_alpha = false ;app_tls_skip_verify_insecure = false # Enter a comma-separated list of plugin identifiers to identify plugins to load even if they are unsigned. Plugins with modified signatures are never loaded. -allow_loading_unsigned_plugins = amd-custom-svg, amd-omniperf-data-plugin +allow_loading_unsigned_plugins = amd-custom-svg, amd-rocprofiler-compute-data-plugin # Enable or disable installing plugins directly from within Grafana. ;plugin_admin_enabled = false ;plugin_admin_external_manage_enabled = false diff --git a/grafana/plugins/omniperf_plugin/README.md b/grafana/plugins/omniperf_plugin/README.md index 32974100e..e8f47590a 100644 --- a/grafana/plugins/omniperf_plugin/README.md +++ b/grafana/plugins/omniperf_plugin/README.md @@ -1,6 +1,6 @@ -# Omniperf Data Source Plugin +# ROCm Compute Profiler Data Source Plugin -This plugin allows users of Omniperf to connect their MongoDB database to for visualization in Grafana +This plugin allows users of ROCm Compute Profiler to connect their MongoDB database to for visualization in Grafana ## Info diff --git a/grafana/plugins/omniperf_plugin/package.json b/grafana/plugins/omniperf_plugin/package.json index 36c6c420f..e68745895 100644 --- a/grafana/plugins/omniperf_plugin/package.json +++ b/grafana/plugins/omniperf_plugin/package.json @@ -1,5 +1,5 @@ { - "name": "amd-omniperf-data-plugin", + "name": "amd-rocprofiler-compute-data-plugin", "version": "1.0.0", "description": "", "main": "server/mongo-proxy.js", @@ -39,5 +39,5 @@ "mongodb": "^4.12.1", "statman-stopwatch": "^2.7.0" }, - "_comments": "Dependencies are not included as part of Omniperf. It's the user's responsibility to accept any licensing implications before building the project." + "_comments": "Dependencies are not included as part of ROCm Compute Profiler. It's the user's responsibility to accept any licensing implications before building the project." } diff --git a/grafana/plugins/omniperf_plugin/server/mongo-proxy.js b/grafana/plugins/omniperf_plugin/server/mongo-proxy.js index 8fb4df075..04a489106 100644 --- a/grafana/plugins/omniperf_plugin/server/mongo-proxy.js +++ b/grafana/plugins/omniperf_plugin/server/mongo-proxy.js @@ -398,7 +398,7 @@ function runAggregateQuery( requestId, queryId, body, queryArgs, res, next ) results = getTimeseriesResults(docs) } - // This is where omniperf will go for most results + // This is where rocprofiler-compute will go for most results else { results = getTableResults(docs) diff --git a/grafana/plugins/omniperf_plugin/src/img/omniperf_circle.png b/grafana/plugins/omniperf_plugin/src/img/rocprofiler-compute_circle.png similarity index 100% rename from grafana/plugins/omniperf_plugin/src/img/omniperf_circle.png rename to grafana/plugins/omniperf_plugin/src/img/rocprofiler-compute_circle.png diff --git a/grafana/plugins/omniperf_plugin/src/plugin.json b/grafana/plugins/omniperf_plugin/src/plugin.json index 90647f764..204e6574b 100644 --- a/grafana/plugins/omniperf_plugin/src/plugin.json +++ b/grafana/plugins/omniperf_plugin/src/plugin.json @@ -1,6 +1,6 @@ { - "name": "Omniperf Data", - "id": "amd-omniperf-data-plugin", + "name": "ROCm Compute Profiler Data", + "id": "amd-rocprofiler-compute-data-plugin", "type": "datasource", "backend": true, "partials": { @@ -9,14 +9,14 @@ "metrics": true, "annotations": false, "info": { - "description": "An Omniperf datasource build for MongoDB", + "description": "An ROCm Compute Profiler datasource build for MongoDB", "author": { "name": "Audacious Software Group", "url": "" }, "logos": { - "small": "img/omniperf_circle.png", - "large": "img/omniperf_circle.png" + "small": "img/rocprofiler-compute_circle.png", + "large": "img/rocprofiler-compute_circle.png" }, "version": "%VERSION%", "updated": "%TODAY%" diff --git a/pyproject.toml b/pyproject.toml index d470c6367..478ea4da8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,7 +17,7 @@ exclude = ''' | external | .pytest_cache | build - | build-omniperf + | build-rocprof_compute )/ ) ''' @@ -29,9 +29,9 @@ addopts = [ pythonpath = [ ".", "src", - "src/omniperf_soc", + "src/rocprof_compute_soc", "src/utils", - "src/omniperf_analyze/utils", + "src/rocprof_compute_analyze/utils", "tests" ] diff --git a/src/README.md b/src/README.md index dc3b92a4c..2aacb888d 100644 --- a/src/README.md +++ b/src/README.md @@ -1,6 +1,6 @@ -This directory contains all the source code files for the Omniperf project. -The top-level `omniperf` executable is the entry point and defines the flow for subsequent execution modes. +This directory contains all the source code files for the ROCm Compute Profiler project. +The top-level `rocprof-compute` executable is the entry point and defines the flow for subsequent execution modes. -To build Omniperf as a developer (from source) please add this directory to `PATH`. -You will find utilities and logic specific to Omniperf's different execution modes in their +To build ROCm Compute Profiler as a developer (from source) please add this directory to `PATH`. +You will find utilities and logic specific to ROCm Compute Profiler's different execution modes in their respective subdirectories. \ No newline at end of file diff --git a/src/argparser.py b/src/argparser.py index 0b1504315..cbfd3ad1c 100644 --- a/src/argparser.py +++ b/src/argparser.py @@ -34,11 +34,14 @@ def print_avail_arch(avail_arch: list): return ret_str -def add_general_group(parser, omniperf_version): +def add_general_group(parser, rocprof_compute_version): general_group = parser.add_argument_group("General Options") general_group.add_argument( - "-v", "--version", action="version", version=omniperf_version["ver_pretty"] + "-v", + "--version", + action="version", + version=rocprof_compute_version["ver_pretty"], ) general_group.add_argument( "-V", @@ -57,14 +60,16 @@ def add_general_group(parser, omniperf_version): ) -def omniarg_parser(parser, omniperf_home, supported_archs, omniperf_version): +def omniarg_parser( + parser, rocprof_compute_home, supported_archs, rocprof_compute_version +): # ----------------------------------------- # Parse arguments (dependent on mode) # ----------------------------------------- ## General Command Line Options ## ---------------------------- - add_general_group(parser, omniperf_version) + add_general_group(parser, rocprof_compute_version) parser._positionals.title = "Modes" parser._optionals.title = "Help" @@ -79,15 +84,15 @@ def omniarg_parser(parser, omniperf_home, supported_archs, omniperf_version): help="Profile the target application", usage=""" -omniperf profile --name [profile options] [roofline options] -- +rocprof-compute profile --name [profile options] [roofline options] -- --------------------------------------------------------------------------------- Examples: -\tomniperf profile -n vcopy_all -- ./vcopy -n 1048576 -b 256 -\tomniperf profile -n vcopy_SPI_TCC -b SQ TCC -- ./vcopy -n 1048576 -b 256 -\tomniperf profile -n vcopy_kernel -k vecCopy -- ./vcopy -n 1048576 -b 256 -\tomniperf profile -n vcopy_disp -d 0 -- ./vcopy -n 1048576 -b 256 -\tomniperf profile -n vcopy_roof --roof-only -- ./vcopy -n 1048576 -b 256 +\trocprof-compute profile -n vcopy_all -- ./vcopy -n 1048576 -b 256 +\trocprof-compute profile -n vcopy_SPI_TCC -b SQ TCC -- ./vcopy -n 1048576 -b 256 +\trocprof-compute profile -n vcopy_kernel -k vecCopy -- ./vcopy -n 1048576 -b 256 +\trocprof-compute profile -n vcopy_disp -d 0 -- ./vcopy -n 1048576 -b 256 +\trocprof-compute profile -n vcopy_roof --roof-only -- ./vcopy -n 1048576 -b 256 --------------------------------------------------------------------------------- """, prog="tool", @@ -98,7 +103,7 @@ def omniarg_parser(parser, omniperf_home, supported_archs, omniperf_version): ) profile_parser._optionals.title = "Help" - add_general_group(profile_parser, omniperf_version) + add_general_group(profile_parser, rocprof_compute_version) profile_group = profile_parser.add_argument_group("Profile Options") roofline_group = profile_parser.add_argument_group("Standalone Roofline Options") @@ -194,7 +199,10 @@ def omniarg_parser(parser, omniperf_home, supported_archs, omniperf_version): "--use-rocscope", default=False, dest="use_rocscope", help=argparse.SUPPRESS ) profile_group.add_argument( - "--kernel-summaries", default=False, dest="summaries", help=argparse.SUPPRESS + "--kernel-summaries", + default=False, + dest="summaries", + help=argparse.SUPPRESS, ) profile_group.add_argument( "--join-type", @@ -272,14 +280,14 @@ def omniarg_parser(parser, omniperf_home, supported_archs, omniperf_version): ## ---------------------------- db_parser = subparsers.add_parser( "database", - help="Interact with Omniperf database", + help="Interact with rocprofiler-compute database", usage=""" - \nomniperf database [connection options] + \nrocprof-compute database [connection options] \n\n------------------------------------------------------------------------------- \nExamples: - \n\tomniperf database --import -H pavii1 -u temp -t asw -w workloads/vcopy/mi200/ - \n\tomniperf database --remove -H pavii1 -u temp -w omniperf_asw_sample_mi200 + \n\trocprof-compute database --import -H pavii1 -u temp -t asw -w workloads/vcopy/mi200/ + \n\trocprof-compute database --remove -H pavii1 -u temp -w rocprofiler-compute_asw_sample_mi200 \n-------------------------------------------------------------------------------\n """, prog="tool", @@ -290,7 +298,7 @@ def omniarg_parser(parser, omniperf_home, supported_archs, omniperf_version): ) db_parser._optionals.title = "Help" - add_general_group(db_parser, omniperf_version) + add_general_group(db_parser, rocprof_compute_version) interaction_group = db_parser.add_argument_group("Interaction Type") connection_group = db_parser.add_argument_group("Connection Options") @@ -300,7 +308,7 @@ def omniarg_parser(parser, omniperf_home, supported_archs, omniperf_version): required=False, dest="upload", action="store_true", - help="\t\t\t\tImport workload to Omniperf DB", + help="\t\t\t\tImport workload to rocprofiler-compute DB", ) interaction_group.add_argument( "-r", @@ -308,7 +316,7 @@ def omniarg_parser(parser, omniperf_home, supported_archs, omniperf_version): required=False, dest="remove", action="store_true", - help="\t\t\t\tRemove a workload from Omniperf DB", + help="\t\t\t\tRemove a workload from rocprofiler-compute DB", ) connection_group.add_argument( @@ -366,13 +374,13 @@ def omniarg_parser(parser, omniperf_home, supported_archs, omniperf_version): "analyze", help="Analyze existing profiling results at command line", usage=""" -omniperf analyze --path [analyze options] +rocprof-compute analyze --path [analyze options] ----------------------------------------------------------------------------------- Examples: -\tomniperf analyze -p workloads/vcopy/mi200/ --list-metrics gfx90a -\tomniperf analyze -p workloads/mixbench/mi200/ --dispatch 12 34 --decimal 3 -\tomniperf analyze -p workloads/mixbench/mi200/ --gui +\trocprof-compute analyze -p workloads/vcopy/mi200/ --list-metrics gfx90a +\trocprof-compute analyze -p workloads/mixbench/mi200/ --dispatch 12 34 --decimal 3 +\trocprof-compute analyze -p workloads/mixbench/mi200/ --gui ----------------------------------------------------------------------------------- """, prog="tool", @@ -383,7 +391,7 @@ def omniarg_parser(parser, omniperf_home, supported_archs, omniperf_version): ) analyze_parser._optionals.title = "Help" - add_general_group(analyze_parser, omniperf_version) + add_general_group(analyze_parser, rocprof_compute_version) analyze_group = analyze_parser.add_argument_group("Analyze Options") analyze_advanced_group = analyze_parser.add_argument_group("Advanced Options") @@ -454,7 +462,7 @@ def omniarg_parser(parser, omniperf_home, supported_archs, omniperf_version): type=int, nargs="?", const=8050, - help="\t\tActivate a GUI to interate with Omniperf metrics.\n\t\tOptionally, specify port to launch application (DEFAULT: 8050)", + help="\t\tActivate a GUI to interate with rocprofiler-compute metrics.\n\t\tOptionally, specify port to launch application (DEFAULT: 8050)", ) analyze_advanced_group.add_argument( "--random-port", @@ -499,7 +507,7 @@ def omniarg_parser(parser, omniperf_home, supported_archs, omniperf_version): dest="config_dir", metavar="", help="\t\tSpecify the directory of customized configs.", - default=omniperf_home.joinpath("omniperf_soc/analysis_configs/"), + default=rocprof_compute_home.joinpath("rocprof_compute_soc/analysis_configs/"), ) analyze_advanced_group.add_argument( "--save-dfs", @@ -519,7 +527,9 @@ def omniarg_parser(parser, omniperf_home, supported_archs, omniperf_version): "-g", dest="debug", action="store_true", help="\t\tDebug single metric." ) analyze_advanced_group.add_argument( - "--dependency", action="store_true", help="\t\tList the installation dependency." + "--dependency", + action="store_true", + help="\t\tList the installation dependency.", ) analyze_advanced_group.add_argument( "--kernel-verbose", diff --git a/src/config.py b/src/config.py index 6cd07ff1c..1caed5029 100644 --- a/src/config.py +++ b/src/config.py @@ -25,5 +25,5 @@ from pathlib import Path # NB: Creating a new module to share global vars across modules -omniperf_home = Path(__file__).resolve().parent -prog = "omniperf" +rocprof_compute_home = Path(__file__).resolve().parent +prog = "rocprofiler-compute" diff --git a/src/omniperf b/src/rocprof-compute old mode 100755 new mode 100644 similarity index 89% rename from src/omniperf rename to src/rocprof-compute index 1acff5f07..c8d2d0ee6 --- a/src/omniperf +++ b/src/rocprof-compute @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -"""Main entry point for omniperf""" +"""Main entry point for rocprof-compute""" ##############################################################################bl # MIT License @@ -34,7 +34,7 @@ import re try: from pathlib import Path from importlib import metadata - from omniperf_base import Omniperf + from rocprof_compute_base import RocProfCompute from utils.utils import console_error except ImportError as e: # print("Failed to import required modules: " + str(e)) @@ -61,12 +61,12 @@ def verify_deps_version(localVer, desiredVer, operator): def verify_deps(): """Utility to read library dependencies from requirements.txt and endeavor to load them within current execution environment. - Used in top-level omniperf to provide error messages if necessary + Used in top-level rocprofiler-compute to provide error messages if necessary dependencies are not available.""" # Check which version of python is being used if sys.version_info[0] < 3 or (sys.version_info[0] == 3 and sys.version_info[1] < 8): - print("[ERROR] Python 3.8 or higher is required to run omniperf." + print("[ERROR] Python 3.8 or higher is required to run rocprofiler-compute." f" The current version is {sys.version_info[0]}.{sys.version_info[1]}.") sys.exit(1) @@ -108,7 +108,7 @@ def verify_deps(): ): print( f"[ERROR] the '{dependency}' distribution does " - "not meet version requirements to use omniperf." + "not meet version requirements to use rocprofiler-compute." ) print(" --> version installed :", localVersion) error = True @@ -119,7 +119,7 @@ def verify_deps(): "Please verify all of the python dependencies called out " "in the requirements file" ) - print("are installed locally prior to running omniperf.") + print("are installed locally prior to running rocprofiler-compute.") print("") print(f"See: {checkFile}") sys.exit(1) @@ -132,17 +132,17 @@ def main(): # verify required python dependencies verify_deps() - omniperf = Omniperf() + rocprof_compute = RocProfCompute() - mode = omniperf.get_mode() + mode = rocprof_compute.get_mode() - # major omniperf execution modes + # major rocprofiler-compute execution modes if mode == "profile": - omniperf.run_profiler() + rocprof_compute.run_profiler() elif mode == "database": - omniperf.update_db() + rocprof_compute.update_db() elif mode == "analyze": - omniperf.run_analysis() + rocprof_compute.run_analysis() else: console_error("Unsupported execution mode") diff --git a/src/omniperf_analyze/analysis_base.py b/src/rocprof_compute_analyze/analysis_base.py similarity index 99% rename from src/omniperf_analyze/analysis_base.py rename to src/rocprof_compute_analyze/analysis_base.py index c80489972..b1fad7712 100644 --- a/src/omniperf_analyze/analysis_base.py +++ b/src/rocprof_compute_analyze/analysis_base.py @@ -200,7 +200,7 @@ def sanitize(self): def pre_processing(self): """Perform initialization prior to analysis.""" console_debug("analysis", "prepping to do some analysis") - console_log("analysis", "deriving Omniperf metrics...") + console_log("analysis", "deriving rocprofiler-compute metrics...") # initalize output file self._output = ( open(self.__args.output_file, "w+") if self.__args.output_file else sys.stdout diff --git a/src/omniperf_analyze/analysis_cli.py b/src/rocprof_compute_analyze/analysis_cli.py similarity index 98% rename from src/omniperf_analyze/analysis_cli.py rename to src/rocprof_compute_analyze/analysis_cli.py index 36fbbf8c5..f3276c476 100644 --- a/src/omniperf_analyze/analysis_cli.py +++ b/src/rocprof_compute_analyze/analysis_cli.py @@ -22,7 +22,7 @@ # SOFTWARE. ##############################################################################el -from omniperf_analyze.analysis_base import OmniAnalyze_Base +from rocprof_compute_analyze.analysis_base import OmniAnalyze_Base from utils.utils import demarcate, console_error from utils import file_io, parser, tty from utils.kernel_name_shortener import kernel_name_shortener diff --git a/src/omniperf_analyze/analysis_webui.py b/src/rocprof_compute_analyze/analysis_webui.py similarity index 99% rename from src/omniperf_analyze/analysis_webui.py rename to src/rocprof_compute_analyze/analysis_webui.py index 54645cbbb..47a25cf1e 100644 --- a/src/omniperf_analyze/analysis_webui.py +++ b/src/rocprof_compute_analyze/analysis_webui.py @@ -22,7 +22,7 @@ # SOFTWARE. ##############################################################################el -from omniperf_analyze.analysis_base import OmniAnalyze_Base +from rocprof_compute_analyze.analysis_base import OmniAnalyze_Base from utils.utils import demarcate, console_debug, console_error from utils import file_io, parser from utils.gui import build_bar_chart, build_table_chart diff --git a/src/omniperf_analyze/assets/default.css b/src/rocprof_compute_analyze/assets/default.css similarity index 100% rename from src/omniperf_analyze/assets/default.css rename to src/rocprof_compute_analyze/assets/default.css diff --git a/src/omniperf_analyze/assets/font-awesome/css/font-awesome.css b/src/rocprof_compute_analyze/assets/font-awesome/css/font-awesome.css similarity index 100% rename from src/omniperf_analyze/assets/font-awesome/css/font-awesome.css rename to src/rocprof_compute_analyze/assets/font-awesome/css/font-awesome.css diff --git a/src/omniperf_analyze/assets/font-awesome/css/font-awesome.min.css b/src/rocprof_compute_analyze/assets/font-awesome/css/font-awesome.min.css similarity index 100% rename from src/omniperf_analyze/assets/font-awesome/css/font-awesome.min.css rename to src/rocprof_compute_analyze/assets/font-awesome/css/font-awesome.min.css diff --git a/src/omniperf_analyze/assets/font-awesome/fonts/FontAwesome.otf b/src/rocprof_compute_analyze/assets/font-awesome/fonts/FontAwesome.otf similarity index 100% rename from src/omniperf_analyze/assets/font-awesome/fonts/FontAwesome.otf rename to src/rocprof_compute_analyze/assets/font-awesome/fonts/FontAwesome.otf diff --git a/src/omniperf_analyze/assets/font-awesome/fonts/fontawesome-webfont.eot b/src/rocprof_compute_analyze/assets/font-awesome/fonts/fontawesome-webfont.eot similarity index 100% rename from src/omniperf_analyze/assets/font-awesome/fonts/fontawesome-webfont.eot rename to src/rocprof_compute_analyze/assets/font-awesome/fonts/fontawesome-webfont.eot diff --git a/src/omniperf_analyze/assets/font-awesome/fonts/fontawesome-webfont.svg b/src/rocprof_compute_analyze/assets/font-awesome/fonts/fontawesome-webfont.svg similarity index 100% rename from src/omniperf_analyze/assets/font-awesome/fonts/fontawesome-webfont.svg rename to src/rocprof_compute_analyze/assets/font-awesome/fonts/fontawesome-webfont.svg diff --git a/src/omniperf_analyze/assets/font-awesome/fonts/fontawesome-webfont.ttf b/src/rocprof_compute_analyze/assets/font-awesome/fonts/fontawesome-webfont.ttf similarity index 100% rename from src/omniperf_analyze/assets/font-awesome/fonts/fontawesome-webfont.ttf rename to src/rocprof_compute_analyze/assets/font-awesome/fonts/fontawesome-webfont.ttf diff --git a/src/omniperf_analyze/assets/font-awesome/fonts/fontawesome-webfont.woff b/src/rocprof_compute_analyze/assets/font-awesome/fonts/fontawesome-webfont.woff similarity index 100% rename from src/omniperf_analyze/assets/font-awesome/fonts/fontawesome-webfont.woff rename to src/rocprof_compute_analyze/assets/font-awesome/fonts/fontawesome-webfont.woff diff --git a/src/omniperf_analyze/assets/font-awesome/less/bordered-pulled.less b/src/rocprof_compute_analyze/assets/font-awesome/less/bordered-pulled.less similarity index 100% rename from src/omniperf_analyze/assets/font-awesome/less/bordered-pulled.less rename to src/rocprof_compute_analyze/assets/font-awesome/less/bordered-pulled.less diff --git a/src/omniperf_analyze/assets/font-awesome/less/core.less b/src/rocprof_compute_analyze/assets/font-awesome/less/core.less similarity index 100% rename from src/omniperf_analyze/assets/font-awesome/less/core.less rename to src/rocprof_compute_analyze/assets/font-awesome/less/core.less diff --git a/src/omniperf_analyze/assets/font-awesome/less/fixed-width.less b/src/rocprof_compute_analyze/assets/font-awesome/less/fixed-width.less similarity index 100% rename from src/omniperf_analyze/assets/font-awesome/less/fixed-width.less rename to src/rocprof_compute_analyze/assets/font-awesome/less/fixed-width.less diff --git a/src/omniperf_analyze/assets/font-awesome/less/font-awesome.less b/src/rocprof_compute_analyze/assets/font-awesome/less/font-awesome.less similarity index 100% rename from src/omniperf_analyze/assets/font-awesome/less/font-awesome.less rename to src/rocprof_compute_analyze/assets/font-awesome/less/font-awesome.less diff --git a/src/omniperf_analyze/assets/font-awesome/less/icons.less b/src/rocprof_compute_analyze/assets/font-awesome/less/icons.less similarity index 100% rename from src/omniperf_analyze/assets/font-awesome/less/icons.less rename to src/rocprof_compute_analyze/assets/font-awesome/less/icons.less diff --git a/src/omniperf_analyze/assets/font-awesome/less/larger.less b/src/rocprof_compute_analyze/assets/font-awesome/less/larger.less similarity index 100% rename from src/omniperf_analyze/assets/font-awesome/less/larger.less rename to src/rocprof_compute_analyze/assets/font-awesome/less/larger.less diff --git a/src/omniperf_analyze/assets/font-awesome/less/list.less b/src/rocprof_compute_analyze/assets/font-awesome/less/list.less similarity index 100% rename from src/omniperf_analyze/assets/font-awesome/less/list.less rename to src/rocprof_compute_analyze/assets/font-awesome/less/list.less diff --git a/src/omniperf_analyze/assets/font-awesome/less/mixins.less b/src/rocprof_compute_analyze/assets/font-awesome/less/mixins.less similarity index 100% rename from src/omniperf_analyze/assets/font-awesome/less/mixins.less rename to src/rocprof_compute_analyze/assets/font-awesome/less/mixins.less diff --git a/src/omniperf_analyze/assets/font-awesome/less/path.less b/src/rocprof_compute_analyze/assets/font-awesome/less/path.less similarity index 100% rename from src/omniperf_analyze/assets/font-awesome/less/path.less rename to src/rocprof_compute_analyze/assets/font-awesome/less/path.less diff --git a/src/omniperf_analyze/assets/font-awesome/less/rotated-flipped.less b/src/rocprof_compute_analyze/assets/font-awesome/less/rotated-flipped.less similarity index 100% rename from src/omniperf_analyze/assets/font-awesome/less/rotated-flipped.less rename to src/rocprof_compute_analyze/assets/font-awesome/less/rotated-flipped.less diff --git a/src/omniperf_analyze/assets/font-awesome/less/spinning.less b/src/rocprof_compute_analyze/assets/font-awesome/less/spinning.less similarity index 100% rename from src/omniperf_analyze/assets/font-awesome/less/spinning.less rename to src/rocprof_compute_analyze/assets/font-awesome/less/spinning.less diff --git a/src/omniperf_analyze/assets/font-awesome/less/stacked.less b/src/rocprof_compute_analyze/assets/font-awesome/less/stacked.less similarity index 100% rename from src/omniperf_analyze/assets/font-awesome/less/stacked.less rename to src/rocprof_compute_analyze/assets/font-awesome/less/stacked.less diff --git a/src/omniperf_analyze/assets/font-awesome/less/variables.less b/src/rocprof_compute_analyze/assets/font-awesome/less/variables.less similarity index 100% rename from src/omniperf_analyze/assets/font-awesome/less/variables.less rename to src/rocprof_compute_analyze/assets/font-awesome/less/variables.less diff --git a/src/omniperf_analyze/assets/font-awesome/scss/_bordered-pulled.scss b/src/rocprof_compute_analyze/assets/font-awesome/scss/_bordered-pulled.scss similarity index 100% rename from src/omniperf_analyze/assets/font-awesome/scss/_bordered-pulled.scss rename to src/rocprof_compute_analyze/assets/font-awesome/scss/_bordered-pulled.scss diff --git a/src/omniperf_analyze/assets/font-awesome/scss/_core.scss b/src/rocprof_compute_analyze/assets/font-awesome/scss/_core.scss similarity index 100% rename from src/omniperf_analyze/assets/font-awesome/scss/_core.scss rename to src/rocprof_compute_analyze/assets/font-awesome/scss/_core.scss diff --git a/src/omniperf_analyze/assets/font-awesome/scss/_fixed-width.scss b/src/rocprof_compute_analyze/assets/font-awesome/scss/_fixed-width.scss similarity index 100% rename from src/omniperf_analyze/assets/font-awesome/scss/_fixed-width.scss rename to src/rocprof_compute_analyze/assets/font-awesome/scss/_fixed-width.scss diff --git a/src/omniperf_analyze/assets/font-awesome/scss/_icons.scss b/src/rocprof_compute_analyze/assets/font-awesome/scss/_icons.scss similarity index 100% rename from src/omniperf_analyze/assets/font-awesome/scss/_icons.scss rename to src/rocprof_compute_analyze/assets/font-awesome/scss/_icons.scss diff --git a/src/omniperf_analyze/assets/font-awesome/scss/_larger.scss b/src/rocprof_compute_analyze/assets/font-awesome/scss/_larger.scss similarity index 100% rename from src/omniperf_analyze/assets/font-awesome/scss/_larger.scss rename to src/rocprof_compute_analyze/assets/font-awesome/scss/_larger.scss diff --git a/src/omniperf_analyze/assets/font-awesome/scss/_list.scss b/src/rocprof_compute_analyze/assets/font-awesome/scss/_list.scss similarity index 100% rename from src/omniperf_analyze/assets/font-awesome/scss/_list.scss rename to src/rocprof_compute_analyze/assets/font-awesome/scss/_list.scss diff --git a/src/omniperf_analyze/assets/font-awesome/scss/_mixins.scss b/src/rocprof_compute_analyze/assets/font-awesome/scss/_mixins.scss similarity index 100% rename from src/omniperf_analyze/assets/font-awesome/scss/_mixins.scss rename to src/rocprof_compute_analyze/assets/font-awesome/scss/_mixins.scss diff --git a/src/omniperf_analyze/assets/font-awesome/scss/_path.scss b/src/rocprof_compute_analyze/assets/font-awesome/scss/_path.scss similarity index 100% rename from src/omniperf_analyze/assets/font-awesome/scss/_path.scss rename to src/rocprof_compute_analyze/assets/font-awesome/scss/_path.scss diff --git a/src/omniperf_analyze/assets/font-awesome/scss/_rotated-flipped.scss b/src/rocprof_compute_analyze/assets/font-awesome/scss/_rotated-flipped.scss similarity index 100% rename from src/omniperf_analyze/assets/font-awesome/scss/_rotated-flipped.scss rename to src/rocprof_compute_analyze/assets/font-awesome/scss/_rotated-flipped.scss diff --git a/src/omniperf_analyze/assets/font-awesome/scss/_spinning.scss b/src/rocprof_compute_analyze/assets/font-awesome/scss/_spinning.scss similarity index 100% rename from src/omniperf_analyze/assets/font-awesome/scss/_spinning.scss rename to src/rocprof_compute_analyze/assets/font-awesome/scss/_spinning.scss diff --git a/src/omniperf_analyze/assets/font-awesome/scss/_stacked.scss b/src/rocprof_compute_analyze/assets/font-awesome/scss/_stacked.scss similarity index 100% rename from src/omniperf_analyze/assets/font-awesome/scss/_stacked.scss rename to src/rocprof_compute_analyze/assets/font-awesome/scss/_stacked.scss diff --git a/src/omniperf_analyze/assets/font-awesome/scss/_variables.scss b/src/rocprof_compute_analyze/assets/font-awesome/scss/_variables.scss similarity index 100% rename from src/omniperf_analyze/assets/font-awesome/scss/_variables.scss rename to src/rocprof_compute_analyze/assets/font-awesome/scss/_variables.scss diff --git a/src/omniperf_analyze/assets/font-awesome/scss/font-awesome.scss b/src/rocprof_compute_analyze/assets/font-awesome/scss/font-awesome.scss similarity index 100% rename from src/omniperf_analyze/assets/font-awesome/scss/font-awesome.scss rename to src/rocprof_compute_analyze/assets/font-awesome/scss/font-awesome.scss diff --git a/src/omniperf_analyze/assets/fontello/css/animation.css b/src/rocprof_compute_analyze/assets/fontello/css/animation.css similarity index 100% rename from src/omniperf_analyze/assets/fontello/css/animation.css rename to src/rocprof_compute_analyze/assets/fontello/css/animation.css diff --git a/src/omniperf_analyze/assets/fontello/css/fontello-codes.css b/src/rocprof_compute_analyze/assets/fontello/css/fontello-codes.css similarity index 100% rename from src/omniperf_analyze/assets/fontello/css/fontello-codes.css rename to src/rocprof_compute_analyze/assets/fontello/css/fontello-codes.css diff --git a/src/omniperf_analyze/assets/fontello/css/fontello-embedded.css b/src/rocprof_compute_analyze/assets/fontello/css/fontello-embedded.css similarity index 100% rename from src/omniperf_analyze/assets/fontello/css/fontello-embedded.css rename to src/rocprof_compute_analyze/assets/fontello/css/fontello-embedded.css diff --git a/src/omniperf_analyze/assets/fontello/css/fontello-ie7-codes.css b/src/rocprof_compute_analyze/assets/fontello/css/fontello-ie7-codes.css similarity index 100% rename from src/omniperf_analyze/assets/fontello/css/fontello-ie7-codes.css rename to src/rocprof_compute_analyze/assets/fontello/css/fontello-ie7-codes.css diff --git a/src/omniperf_analyze/assets/fontello/css/fontello-ie7.css b/src/rocprof_compute_analyze/assets/fontello/css/fontello-ie7.css similarity index 100% rename from src/omniperf_analyze/assets/fontello/css/fontello-ie7.css rename to src/rocprof_compute_analyze/assets/fontello/css/fontello-ie7.css diff --git a/src/omniperf_analyze/assets/fontello/css/fontello.css b/src/rocprof_compute_analyze/assets/fontello/css/fontello.css similarity index 100% rename from src/omniperf_analyze/assets/fontello/css/fontello.css rename to src/rocprof_compute_analyze/assets/fontello/css/fontello.css diff --git a/src/omniperf_analyze/assets/fontello/font/fontello.eot b/src/rocprof_compute_analyze/assets/fontello/font/fontello.eot similarity index 100% rename from src/omniperf_analyze/assets/fontello/font/fontello.eot rename to src/rocprof_compute_analyze/assets/fontello/font/fontello.eot diff --git a/src/omniperf_analyze/assets/fontello/font/fontello.svg b/src/rocprof_compute_analyze/assets/fontello/font/fontello.svg similarity index 100% rename from src/omniperf_analyze/assets/fontello/font/fontello.svg rename to src/rocprof_compute_analyze/assets/fontello/font/fontello.svg diff --git a/src/omniperf_analyze/assets/fontello/font/fontello.ttf b/src/rocprof_compute_analyze/assets/fontello/font/fontello.ttf similarity index 100% rename from src/omniperf_analyze/assets/fontello/font/fontello.ttf rename to src/rocprof_compute_analyze/assets/fontello/font/fontello.ttf diff --git a/src/omniperf_analyze/assets/fontello/font/fontello.woff b/src/rocprof_compute_analyze/assets/fontello/font/fontello.woff similarity index 100% rename from src/omniperf_analyze/assets/fontello/font/fontello.woff rename to src/rocprof_compute_analyze/assets/fontello/font/fontello.woff diff --git a/src/omniperf_analyze/assets/fonts.css b/src/rocprof_compute_analyze/assets/fonts.css similarity index 100% rename from src/omniperf_analyze/assets/fonts.css rename to src/rocprof_compute_analyze/assets/fonts.css diff --git a/src/omniperf_analyze/assets/fonts/librebaskerville/librebaskerville-bold-webfont.eot b/src/rocprof_compute_analyze/assets/fonts/librebaskerville/librebaskerville-bold-webfont.eot similarity index 100% rename from src/omniperf_analyze/assets/fonts/librebaskerville/librebaskerville-bold-webfont.eot rename to src/rocprof_compute_analyze/assets/fonts/librebaskerville/librebaskerville-bold-webfont.eot diff --git a/src/omniperf_analyze/assets/fonts/librebaskerville/librebaskerville-bold-webfont.svg b/src/rocprof_compute_analyze/assets/fonts/librebaskerville/librebaskerville-bold-webfont.svg similarity index 100% rename from src/omniperf_analyze/assets/fonts/librebaskerville/librebaskerville-bold-webfont.svg rename to src/rocprof_compute_analyze/assets/fonts/librebaskerville/librebaskerville-bold-webfont.svg diff --git a/src/omniperf_analyze/assets/fonts/librebaskerville/librebaskerville-bold-webfont.ttf b/src/rocprof_compute_analyze/assets/fonts/librebaskerville/librebaskerville-bold-webfont.ttf similarity index 100% rename from src/omniperf_analyze/assets/fonts/librebaskerville/librebaskerville-bold-webfont.ttf rename to src/rocprof_compute_analyze/assets/fonts/librebaskerville/librebaskerville-bold-webfont.ttf diff --git a/src/omniperf_analyze/assets/fonts/librebaskerville/librebaskerville-bold-webfont.woff b/src/rocprof_compute_analyze/assets/fonts/librebaskerville/librebaskerville-bold-webfont.woff similarity index 100% rename from src/omniperf_analyze/assets/fonts/librebaskerville/librebaskerville-bold-webfont.woff rename to src/rocprof_compute_analyze/assets/fonts/librebaskerville/librebaskerville-bold-webfont.woff diff --git a/src/omniperf_analyze/assets/fonts/librebaskerville/librebaskerville-italic-webfont.eot b/src/rocprof_compute_analyze/assets/fonts/librebaskerville/librebaskerville-italic-webfont.eot similarity index 100% rename from src/omniperf_analyze/assets/fonts/librebaskerville/librebaskerville-italic-webfont.eot rename to src/rocprof_compute_analyze/assets/fonts/librebaskerville/librebaskerville-italic-webfont.eot diff --git a/src/omniperf_analyze/assets/fonts/librebaskerville/librebaskerville-italic-webfont.svg b/src/rocprof_compute_analyze/assets/fonts/librebaskerville/librebaskerville-italic-webfont.svg similarity index 100% rename from src/omniperf_analyze/assets/fonts/librebaskerville/librebaskerville-italic-webfont.svg rename to src/rocprof_compute_analyze/assets/fonts/librebaskerville/librebaskerville-italic-webfont.svg diff --git a/src/omniperf_analyze/assets/fonts/librebaskerville/librebaskerville-italic-webfont.ttf b/src/rocprof_compute_analyze/assets/fonts/librebaskerville/librebaskerville-italic-webfont.ttf similarity index 100% rename from src/omniperf_analyze/assets/fonts/librebaskerville/librebaskerville-italic-webfont.ttf rename to src/rocprof_compute_analyze/assets/fonts/librebaskerville/librebaskerville-italic-webfont.ttf diff --git a/src/omniperf_analyze/assets/fonts/librebaskerville/librebaskerville-italic-webfont.woff b/src/rocprof_compute_analyze/assets/fonts/librebaskerville/librebaskerville-italic-webfont.woff similarity index 100% rename from src/omniperf_analyze/assets/fonts/librebaskerville/librebaskerville-italic-webfont.woff rename to src/rocprof_compute_analyze/assets/fonts/librebaskerville/librebaskerville-italic-webfont.woff diff --git a/src/omniperf_analyze/assets/fonts/librebaskerville/librebaskerville-regular-webfont.eot b/src/rocprof_compute_analyze/assets/fonts/librebaskerville/librebaskerville-regular-webfont.eot similarity index 100% rename from src/omniperf_analyze/assets/fonts/librebaskerville/librebaskerville-regular-webfont.eot rename to src/rocprof_compute_analyze/assets/fonts/librebaskerville/librebaskerville-regular-webfont.eot diff --git a/src/omniperf_analyze/assets/fonts/librebaskerville/librebaskerville-regular-webfont.svg b/src/rocprof_compute_analyze/assets/fonts/librebaskerville/librebaskerville-regular-webfont.svg similarity index 100% rename from src/omniperf_analyze/assets/fonts/librebaskerville/librebaskerville-regular-webfont.svg rename to src/rocprof_compute_analyze/assets/fonts/librebaskerville/librebaskerville-regular-webfont.svg diff --git a/src/omniperf_analyze/assets/fonts/librebaskerville/librebaskerville-regular-webfont.ttf b/src/rocprof_compute_analyze/assets/fonts/librebaskerville/librebaskerville-regular-webfont.ttf similarity index 100% rename from src/omniperf_analyze/assets/fonts/librebaskerville/librebaskerville-regular-webfont.ttf rename to src/rocprof_compute_analyze/assets/fonts/librebaskerville/librebaskerville-regular-webfont.ttf diff --git a/src/omniperf_analyze/assets/fonts/librebaskerville/librebaskerville-regular-webfont.woff b/src/rocprof_compute_analyze/assets/fonts/librebaskerville/librebaskerville-regular-webfont.woff similarity index 100% rename from src/omniperf_analyze/assets/fonts/librebaskerville/librebaskerville-regular-webfont.woff rename to src/rocprof_compute_analyze/assets/fonts/librebaskerville/librebaskerville-regular-webfont.woff diff --git a/src/omniperf_analyze/assets/fonts/opensans/OpenSans-Bold-webfont.eot b/src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-Bold-webfont.eot similarity index 100% rename from src/omniperf_analyze/assets/fonts/opensans/OpenSans-Bold-webfont.eot rename to src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-Bold-webfont.eot diff --git a/src/omniperf_analyze/assets/fonts/opensans/OpenSans-Bold-webfont.svg b/src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-Bold-webfont.svg similarity index 100% rename from src/omniperf_analyze/assets/fonts/opensans/OpenSans-Bold-webfont.svg rename to src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-Bold-webfont.svg diff --git a/src/omniperf_analyze/assets/fonts/opensans/OpenSans-Bold-webfont.ttf b/src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-Bold-webfont.ttf similarity index 100% rename from src/omniperf_analyze/assets/fonts/opensans/OpenSans-Bold-webfont.ttf rename to src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-Bold-webfont.ttf diff --git a/src/omniperf_analyze/assets/fonts/opensans/OpenSans-Bold-webfont.woff b/src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-Bold-webfont.woff similarity index 100% rename from src/omniperf_analyze/assets/fonts/opensans/OpenSans-Bold-webfont.woff rename to src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-Bold-webfont.woff diff --git a/src/omniperf_analyze/assets/fonts/opensans/OpenSans-BoldItalic-webfont.eot b/src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-BoldItalic-webfont.eot similarity index 100% rename from src/omniperf_analyze/assets/fonts/opensans/OpenSans-BoldItalic-webfont.eot rename to src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-BoldItalic-webfont.eot diff --git a/src/omniperf_analyze/assets/fonts/opensans/OpenSans-BoldItalic-webfont.svg b/src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-BoldItalic-webfont.svg similarity index 100% rename from src/omniperf_analyze/assets/fonts/opensans/OpenSans-BoldItalic-webfont.svg rename to src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-BoldItalic-webfont.svg diff --git a/src/omniperf_analyze/assets/fonts/opensans/OpenSans-BoldItalic-webfont.ttf b/src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-BoldItalic-webfont.ttf similarity index 100% rename from src/omniperf_analyze/assets/fonts/opensans/OpenSans-BoldItalic-webfont.ttf rename to src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-BoldItalic-webfont.ttf diff --git a/src/omniperf_analyze/assets/fonts/opensans/OpenSans-BoldItalic-webfont.woff b/src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-BoldItalic-webfont.woff similarity index 100% rename from src/omniperf_analyze/assets/fonts/opensans/OpenSans-BoldItalic-webfont.woff rename to src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-BoldItalic-webfont.woff diff --git a/src/omniperf_analyze/assets/fonts/opensans/OpenSans-ExtraBold-webfont.eot b/src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-ExtraBold-webfont.eot similarity index 100% rename from src/omniperf_analyze/assets/fonts/opensans/OpenSans-ExtraBold-webfont.eot rename to src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-ExtraBold-webfont.eot diff --git a/src/omniperf_analyze/assets/fonts/opensans/OpenSans-ExtraBold-webfont.svg b/src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-ExtraBold-webfont.svg similarity index 100% rename from src/omniperf_analyze/assets/fonts/opensans/OpenSans-ExtraBold-webfont.svg rename to src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-ExtraBold-webfont.svg diff --git a/src/omniperf_analyze/assets/fonts/opensans/OpenSans-ExtraBold-webfont.ttf b/src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-ExtraBold-webfont.ttf similarity index 100% rename from src/omniperf_analyze/assets/fonts/opensans/OpenSans-ExtraBold-webfont.ttf rename to src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-ExtraBold-webfont.ttf diff --git a/src/omniperf_analyze/assets/fonts/opensans/OpenSans-ExtraBold-webfont.woff b/src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-ExtraBold-webfont.woff similarity index 100% rename from src/omniperf_analyze/assets/fonts/opensans/OpenSans-ExtraBold-webfont.woff rename to src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-ExtraBold-webfont.woff diff --git a/src/omniperf_analyze/assets/fonts/opensans/OpenSans-ExtraBoldItalic-webfont.eot b/src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-ExtraBoldItalic-webfont.eot similarity index 100% rename from src/omniperf_analyze/assets/fonts/opensans/OpenSans-ExtraBoldItalic-webfont.eot rename to src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-ExtraBoldItalic-webfont.eot diff --git a/src/omniperf_analyze/assets/fonts/opensans/OpenSans-ExtraBoldItalic-webfont.svg b/src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-ExtraBoldItalic-webfont.svg similarity index 100% rename from src/omniperf_analyze/assets/fonts/opensans/OpenSans-ExtraBoldItalic-webfont.svg rename to src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-ExtraBoldItalic-webfont.svg diff --git a/src/omniperf_analyze/assets/fonts/opensans/OpenSans-ExtraBoldItalic-webfont.ttf b/src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-ExtraBoldItalic-webfont.ttf similarity index 100% rename from src/omniperf_analyze/assets/fonts/opensans/OpenSans-ExtraBoldItalic-webfont.ttf rename to src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-ExtraBoldItalic-webfont.ttf diff --git a/src/omniperf_analyze/assets/fonts/opensans/OpenSans-ExtraBoldItalic-webfont.woff b/src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-ExtraBoldItalic-webfont.woff similarity index 100% rename from src/omniperf_analyze/assets/fonts/opensans/OpenSans-ExtraBoldItalic-webfont.woff rename to src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-ExtraBoldItalic-webfont.woff diff --git a/src/omniperf_analyze/assets/fonts/opensans/OpenSans-Italic-webfont.eot b/src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-Italic-webfont.eot similarity index 100% rename from src/omniperf_analyze/assets/fonts/opensans/OpenSans-Italic-webfont.eot rename to src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-Italic-webfont.eot diff --git a/src/omniperf_analyze/assets/fonts/opensans/OpenSans-Italic-webfont.svg b/src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-Italic-webfont.svg similarity index 100% rename from src/omniperf_analyze/assets/fonts/opensans/OpenSans-Italic-webfont.svg rename to src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-Italic-webfont.svg diff --git a/src/omniperf_analyze/assets/fonts/opensans/OpenSans-Italic-webfont.ttf b/src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-Italic-webfont.ttf similarity index 100% rename from src/omniperf_analyze/assets/fonts/opensans/OpenSans-Italic-webfont.ttf rename to src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-Italic-webfont.ttf diff --git a/src/omniperf_analyze/assets/fonts/opensans/OpenSans-Italic-webfont.woff b/src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-Italic-webfont.woff similarity index 100% rename from src/omniperf_analyze/assets/fonts/opensans/OpenSans-Italic-webfont.woff rename to src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-Italic-webfont.woff diff --git a/src/omniperf_analyze/assets/fonts/opensans/OpenSans-Light-webfont.eot b/src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-Light-webfont.eot similarity index 100% rename from src/omniperf_analyze/assets/fonts/opensans/OpenSans-Light-webfont.eot rename to src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-Light-webfont.eot diff --git a/src/omniperf_analyze/assets/fonts/opensans/OpenSans-Light-webfont.svg b/src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-Light-webfont.svg similarity index 100% rename from src/omniperf_analyze/assets/fonts/opensans/OpenSans-Light-webfont.svg rename to src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-Light-webfont.svg diff --git a/src/omniperf_analyze/assets/fonts/opensans/OpenSans-Light-webfont.ttf b/src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-Light-webfont.ttf similarity index 100% rename from src/omniperf_analyze/assets/fonts/opensans/OpenSans-Light-webfont.ttf rename to src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-Light-webfont.ttf diff --git a/src/omniperf_analyze/assets/fonts/opensans/OpenSans-Light-webfont.woff b/src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-Light-webfont.woff similarity index 100% rename from src/omniperf_analyze/assets/fonts/opensans/OpenSans-Light-webfont.woff rename to src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-Light-webfont.woff diff --git a/src/omniperf_analyze/assets/fonts/opensans/OpenSans-LightItalic-webfont.eot b/src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-LightItalic-webfont.eot similarity index 100% rename from src/omniperf_analyze/assets/fonts/opensans/OpenSans-LightItalic-webfont.eot rename to src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-LightItalic-webfont.eot diff --git a/src/omniperf_analyze/assets/fonts/opensans/OpenSans-LightItalic-webfont.svg b/src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-LightItalic-webfont.svg similarity index 100% rename from src/omniperf_analyze/assets/fonts/opensans/OpenSans-LightItalic-webfont.svg rename to src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-LightItalic-webfont.svg diff --git a/src/omniperf_analyze/assets/fonts/opensans/OpenSans-LightItalic-webfont.ttf b/src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-LightItalic-webfont.ttf similarity index 100% rename from src/omniperf_analyze/assets/fonts/opensans/OpenSans-LightItalic-webfont.ttf rename to src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-LightItalic-webfont.ttf diff --git a/src/omniperf_analyze/assets/fonts/opensans/OpenSans-LightItalic-webfont.woff b/src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-LightItalic-webfont.woff similarity index 100% rename from src/omniperf_analyze/assets/fonts/opensans/OpenSans-LightItalic-webfont.woff rename to src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-LightItalic-webfont.woff diff --git a/src/omniperf_analyze/assets/fonts/opensans/OpenSans-Regular-webfont.eot b/src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-Regular-webfont.eot similarity index 100% rename from src/omniperf_analyze/assets/fonts/opensans/OpenSans-Regular-webfont.eot rename to src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-Regular-webfont.eot diff --git a/src/omniperf_analyze/assets/fonts/opensans/OpenSans-Regular-webfont.svg b/src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-Regular-webfont.svg similarity index 100% rename from src/omniperf_analyze/assets/fonts/opensans/OpenSans-Regular-webfont.svg rename to src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-Regular-webfont.svg diff --git a/src/omniperf_analyze/assets/fonts/opensans/OpenSans-Regular-webfont.ttf b/src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-Regular-webfont.ttf similarity index 100% rename from src/omniperf_analyze/assets/fonts/opensans/OpenSans-Regular-webfont.ttf rename to src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-Regular-webfont.ttf diff --git a/src/omniperf_analyze/assets/fonts/opensans/OpenSans-Regular-webfont.woff b/src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-Regular-webfont.woff similarity index 100% rename from src/omniperf_analyze/assets/fonts/opensans/OpenSans-Regular-webfont.woff rename to src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-Regular-webfont.woff diff --git a/src/omniperf_analyze/assets/fonts/opensans/OpenSans-Semibold-webfont.eot b/src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-Semibold-webfont.eot similarity index 100% rename from src/omniperf_analyze/assets/fonts/opensans/OpenSans-Semibold-webfont.eot rename to src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-Semibold-webfont.eot diff --git a/src/omniperf_analyze/assets/fonts/opensans/OpenSans-Semibold-webfont.svg b/src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-Semibold-webfont.svg similarity index 100% rename from src/omniperf_analyze/assets/fonts/opensans/OpenSans-Semibold-webfont.svg rename to src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-Semibold-webfont.svg diff --git a/src/omniperf_analyze/assets/fonts/opensans/OpenSans-Semibold-webfont.ttf b/src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-Semibold-webfont.ttf similarity index 100% rename from src/omniperf_analyze/assets/fonts/opensans/OpenSans-Semibold-webfont.ttf rename to src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-Semibold-webfont.ttf diff --git a/src/omniperf_analyze/assets/fonts/opensans/OpenSans-Semibold-webfont.woff b/src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-Semibold-webfont.woff similarity index 100% rename from src/omniperf_analyze/assets/fonts/opensans/OpenSans-Semibold-webfont.woff rename to src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-Semibold-webfont.woff diff --git a/src/omniperf_analyze/assets/fonts/opensans/OpenSans-SemiboldItalic-webfont.eot b/src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-SemiboldItalic-webfont.eot similarity index 100% rename from src/omniperf_analyze/assets/fonts/opensans/OpenSans-SemiboldItalic-webfont.eot rename to src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-SemiboldItalic-webfont.eot diff --git a/src/omniperf_analyze/assets/fonts/opensans/OpenSans-SemiboldItalic-webfont.svg b/src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-SemiboldItalic-webfont.svg similarity index 100% rename from src/omniperf_analyze/assets/fonts/opensans/OpenSans-SemiboldItalic-webfont.svg rename to src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-SemiboldItalic-webfont.svg diff --git a/src/omniperf_analyze/assets/fonts/opensans/OpenSans-SemiboldItalic-webfont.ttf b/src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-SemiboldItalic-webfont.ttf similarity index 100% rename from src/omniperf_analyze/assets/fonts/opensans/OpenSans-SemiboldItalic-webfont.ttf rename to src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-SemiboldItalic-webfont.ttf diff --git a/src/omniperf_analyze/assets/fonts/opensans/OpenSans-SemiboldItalic-webfont.woff b/src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-SemiboldItalic-webfont.woff similarity index 100% rename from src/omniperf_analyze/assets/fonts/opensans/OpenSans-SemiboldItalic-webfont.woff rename to src/rocprof_compute_analyze/assets/fonts/opensans/OpenSans-SemiboldItalic-webfont.woff diff --git a/src/omniperf_analyze/assets/layout.css b/src/rocprof_compute_analyze/assets/layout.css similarity index 100% rename from src/omniperf_analyze/assets/layout.css rename to src/rocprof_compute_analyze/assets/layout.css diff --git a/src/omniperf_analyze/assets/magnific-popup.css b/src/rocprof_compute_analyze/assets/magnific-popup.css similarity index 100% rename from src/omniperf_analyze/assets/magnific-popup.css rename to src/rocprof_compute_analyze/assets/magnific-popup.css diff --git a/src/omniperf_analyze/assets/media-queries.css b/src/rocprof_compute_analyze/assets/media-queries.css similarity index 100% rename from src/omniperf_analyze/assets/media-queries.css rename to src/rocprof_compute_analyze/assets/media-queries.css diff --git a/src/omniperf_base.py b/src/rocprof_compute_base.py similarity index 84% rename from src/omniperf_base.py rename to src/rocprof_compute_base.py index 50a6cf00e..e11ab1321 100644 --- a/src/omniperf_base.py +++ b/src/rocprof_compute_base.py @@ -40,7 +40,11 @@ console_error, set_locale_encoding, ) -from utils.logger import setup_console_handler, setup_logging_priority, setup_file_handler +from utils.logger import ( + setup_console_handler, + setup_logging_priority, + setup_file_handler, +) from argparser import omniarg_parser import config import pandas as pd @@ -62,7 +66,7 @@ } -class Omniperf: +class RocProfCompute: def __init__(self): self.__args = None self.__profiler_mode = None @@ -98,12 +102,12 @@ def __init__(self): def print_graphic(self): """Log program name as ascii art to terminal.""" ascii_art = r""" - ___ _ __ - / _ \ _ __ ___ _ __ (_)_ __ ___ _ __ / _| -| | | | '_ ` _ \| '_ \| | '_ \ / _ \ '__| |_ -| |_| | | | | | | | | | | |_) | __/ | | _| - \___/|_| |_| |_|_| |_|_| .__/ \___|_| |_| - |_| + __ _ + _ __ ___ ___ _ __ _ __ ___ / _| ___ ___ _ __ ___ _ __ _ _| |_ ___ +| '__/ _ \ / __| '_ \| '__/ _ \| |_ _____ / __/ _ \| '_ ` _ \| '_ \| | | | __/ _ \ +| | | (_) | (__| |_) | | | (_) | _|_____| (_| (_) | | | | | | |_) | |_| | || __/ +|_| \___/ \___| .__/|_| \___/|_| \___\___/|_| |_| |_| .__/ \__,_|\__\___| + |_| |_| """ print(ascii_art) @@ -111,7 +115,7 @@ def get_mode(self): return self.__mode def set_version(self): - vData = get_version(config.omniperf_home) + vData = get_version(config.rocprof_compute_home) self.__version["ver"] = vData["version"] self.__version["ver_pretty"] = get_version_display( vData["version"], vData["sha"], vData["mode"] @@ -137,7 +141,7 @@ def detect_profiler(self): else: console_error( "Incompatible profiler: %s. Supported profilers include: %s" - % (rocprof_cmd, get_submodules("omniperf_profile")) + % (rocprof_cmd, get_submodules("rocprof_compute_profile")) ) return @@ -150,7 +154,7 @@ def detect_analyze(self): @demarcate def load_soc_specs(self, sysinfo: dict = None): - """Load OmniSoC instance for Omniperf run""" + """Load OmniSoC instance for RocProfCompute run""" self.__mspec = generate_machine_specs(self.__args, sysinfo) if self.__args.specs: print(self.__mspec) @@ -162,22 +166,22 @@ def load_soc_specs(self, sysinfo: dict = None): if arch not in self.__supported_archs.keys(): console_error("%s is an unsupported SoC" % arch) - soc_module = importlib.import_module("omniperf_soc.soc_" + arch) + soc_module = importlib.import_module("rocprof_compute_soc.soc_" + arch) soc_class = getattr(soc_module, arch + "_soc") self.__soc[arch] = soc_class(self.__args, self.__mspec) return def parse_args(self): parser = argparse.ArgumentParser( - description="Command line interface for AMD's GPU profiler, Omniperf", + description="Command line interface for AMD's GPU profiler, ROCm Compute Profiler", prog="tool", formatter_class=lambda prog: argparse.RawTextHelpFormatter( prog, max_help_position=30 ), - usage="omniperf [mode] [options]", + usage="rocprof-compute [mode] [options]", ) omniarg_parser( - parser, config.omniperf_home, self.__supported_archs, self.__version + parser, config.rocprof_compute_home, self.__supported_archs, self.__version ) self.__args = parser.parse_args() @@ -186,7 +190,9 @@ def parse_args(self): print(generate_machine_specs(self.__args)) sys.exit(0) parser.print_help(sys.stderr) - console_error("Omniperf requires you pass a valid mode. Detected None.") + console_error( + "rocprof-compute requires you pass a valid mode. Detected None." + ) return @demarcate @@ -202,19 +208,19 @@ def run_profiler(self): # instantiate desired profiler if self.__profiler_mode == "rocprofv1": - from omniperf_profile.profiler_rocprof_v1 import rocprof_v1_profiler + from rocprof_compute_profile.profiler_rocprof_v1 import rocprof_v1_profiler profiler = rocprof_v1_profiler( self.__args, self.__profiler_mode, self.__soc[self.__mspec.gpu_arch] ) elif self.__profiler_mode == "rocprofv2": - from omniperf_profile.profiler_rocprof_v2 import rocprof_v2_profiler + from rocprof_compute_profile.profiler_rocprof_v2 import rocprof_v2_profiler profiler = rocprof_v2_profiler( self.__args, self.__profiler_mode, self.__soc[self.__mspec.gpu_arch] ) elif self.__profiler_mode == "rocscope": - from omniperf_profile.profiler_rocscope import rocscope_profiler + from rocprof_compute_profile.profiler_rocscope import rocscope_profiler profiler = rocscope_profiler( self.__args, self.__profiler_mode, self.__soc[self.__mspec.gpu_arch] @@ -262,11 +268,11 @@ def run_analysis(self): console_log("Analysis mode = %s" % self.__analyze_mode) if self.__analyze_mode == "cli": - from omniperf_analyze.analysis_cli import cli_analysis + from rocprof_compute_analyze.analysis_cli import cli_analysis analyzer = cli_analysis(self.__args, self.__supported_archs) elif self.__analyze_mode == "web_ui": - from omniperf_analyze.analysis_webui import webui_analysis + from rocprof_compute_analyze.analysis_webui import webui_analysis analyzer = webui_analysis(self.__args, self.__supported_archs) else: diff --git a/src/omniperf_profile/profiler_base.py b/src/rocprof_compute_profile/profiler_base.py similarity index 97% rename from src/omniperf_profile/profiler_base.py rename to src/rocprof_compute_profile/profiler_base.py index 9da4a7c48..44a12af11 100644 --- a/src/omniperf_profile/profiler_base.py +++ b/src/rocprof_compute_profile/profiler_base.py @@ -45,13 +45,13 @@ import pandas as pd -class OmniProfiler_Base: +class RocProfCompute_Base: def __init__(self, args, profiler_mode, soc): self.__args = args self.__profiler = profiler_mode self._soc = soc # OmniSoC obj self.__perfmon_dir = os.path.join( - str(config.omniperf_home), "omniperf_soc", "profile_configs" + str(config.rocprof_compute_home), "rocprof_compute_soc", "profile_configs" ) def get_args(self): @@ -220,7 +220,7 @@ def join_prof(self, out=None): df["End_Timestamp"] = endNs # finally, join the drop key df = df.drop(columns=["key"]) - # save to file and delete old file(s), skip if we're being called outside of Omniperf + # save to file and delete old file(s), skip if we're being called outside of rocprof-compute if type(self.__args.path) == str: df.to_csv(out, index=False) if not self.__args.verbose: @@ -266,7 +266,7 @@ def pre_processing(self): self.__args.remaining = " ".join(self.__args.remaining) else: console_error( - "Profiling command required. Pass application executable after -- at the end of options.\n\t\ti.e. omniperf profile -n vcopy -- ./vcopy -n 1048576 -b 256" + "Profiling command required. Pass application executable after -- at the end of options.\n\t\ti.e. rocprof-compute profile -n vcopy -- ./vcopy -n 1048576 -b 256" ) # verify name meets MongoDB length requirements and no illegal chars @@ -375,7 +375,8 @@ def run_profiling(self, version: str, prog: str): def post_processing(self): """Perform any post-processing steps prior to profiling.""" console_debug( - "profiling", "performing post-processing using %s profiler" % self.__profiler + "profiling", + "performing post-processing using %s profiler" % self.__profiler, ) gen_sysinfo( diff --git a/src/omniperf_profile/profiler_rocprof_v1.py b/src/rocprof_compute_profile/profiler_rocprof_v1.py similarity index 96% rename from src/omniperf_profile/profiler_rocprof_v1.py rename to src/rocprof_compute_profile/profiler_rocprof_v1.py index 17cf18ba1..5d70242bd 100644 --- a/src/omniperf_profile/profiler_rocprof_v1.py +++ b/src/rocprof_compute_profile/profiler_rocprof_v1.py @@ -24,11 +24,11 @@ import os -from omniperf_profile.profiler_base import OmniProfiler_Base +from rocprof_compute_profile.profiler_base import RocProfCompute_Base from utils.utils import demarcate, replace_timestamps, console_log -class rocprof_v1_profiler(OmniProfiler_Base): +class rocprof_v1_profiler(RocProfCompute_Base): def __init__(self, profiling_args, profiler_mode, soc): super().__init__(profiling_args, profiler_mode, soc) self.ready_to_profile = ( diff --git a/src/omniperf_profile/profiler_rocprof_v2.py b/src/rocprof_compute_profile/profiler_rocprof_v2.py similarity index 96% rename from src/omniperf_profile/profiler_rocprof_v2.py rename to src/rocprof_compute_profile/profiler_rocprof_v2.py index 3cca9673b..31bdd2ed9 100644 --- a/src/omniperf_profile/profiler_rocprof_v2.py +++ b/src/rocprof_compute_profile/profiler_rocprof_v2.py @@ -24,7 +24,7 @@ import os import shlex -from omniperf_profile.profiler_base import OmniProfiler_Base +from rocprof_compute_profile.profiler_base import RocProfCompute_Base from utils.utils import ( demarcate, console_log, @@ -32,7 +32,7 @@ ) -class rocprof_v2_profiler(OmniProfiler_Base): +class rocprof_v2_profiler(RocProfCompute_Base): def __init__(self, profiling_args, profiler_mode, soc): super().__init__(profiling_args, profiler_mode, soc) self.ready_to_profile = ( diff --git a/src/omniperf_profile/profiler_rocscope.py b/src/rocprof_compute_profile/profiler_rocscope.py similarity index 91% rename from src/omniperf_profile/profiler_rocscope.py rename to src/rocprof_compute_profile/profiler_rocscope.py index 13f08e492..52b6e6c9c 100644 --- a/src/omniperf_profile/profiler_rocscope.py +++ b/src/rocprof_compute_profile/profiler_rocscope.py @@ -22,11 +22,11 @@ # SOFTWARE. ##############################################################################el -from omniperf_profile.profiler_base import OmniProfiler_Base +from rocprof_compute_profile.profiler_base import RocProfCompute_Base from utils.utils import demarcate, console_log -class rocscope_profiler(OmniProfiler_Base): +class rocscope_profiler(RocProfCompute_Base): def __init__(self, profiling_args, profiler_mode, soc): super().__init__(profiling_args, profiler_mode, soc) @@ -52,6 +52,7 @@ def run_profiling(self, version, prog): def post_processing(self): """Perform any post-processing steps prior to profiling.""" console_log( - "profiling", "performing post-processing using %s profiler" % self.__profiler + "profiling", + "performing post-processing using %s profiler" % self.__profiler, ) # TODO: Finish implementation diff --git a/src/omniperf_soc/analysis_configs/gfx906/0000_top_stats.yaml b/src/rocprof_compute_soc/analysis_configs/gfx906/0000_top_stats.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx906/0000_top_stats.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx906/0000_top_stats.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx906/0100_system_info.yaml b/src/rocprof_compute_soc/analysis_configs/gfx906/0100_system_info.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx906/0100_system_info.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx906/0100_system_info.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx906/0200_system-speed-of-light.yaml b/src/rocprof_compute_soc/analysis_configs/gfx906/0200_system-speed-of-light.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx906/0200_system-speed-of-light.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx906/0200_system-speed-of-light.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx906/0300_mem_chart.yaml b/src/rocprof_compute_soc/analysis_configs/gfx906/0300_mem_chart.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx906/0300_mem_chart.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx906/0300_mem_chart.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx906/0500_command-processor.yaml b/src/rocprof_compute_soc/analysis_configs/gfx906/0500_command-processor.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx906/0500_command-processor.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx906/0500_command-processor.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx906/0600_shader-processor-input.yaml b/src/rocprof_compute_soc/analysis_configs/gfx906/0600_shader-processor-input.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx906/0600_shader-processor-input.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx906/0600_shader-processor-input.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx906/0700_wavefront-launch.yaml b/src/rocprof_compute_soc/analysis_configs/gfx906/0700_wavefront-launch.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx906/0700_wavefront-launch.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx906/0700_wavefront-launch.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx906/1000_compute-unit-instruction-mix.yaml b/src/rocprof_compute_soc/analysis_configs/gfx906/1000_compute-unit-instruction-mix.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx906/1000_compute-unit-instruction-mix.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx906/1000_compute-unit-instruction-mix.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx906/1100_compute-unit-compute-pipeline.yaml b/src/rocprof_compute_soc/analysis_configs/gfx906/1100_compute-unit-compute-pipeline.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx906/1100_compute-unit-compute-pipeline.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx906/1100_compute-unit-compute-pipeline.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx906/1200_lds.yaml b/src/rocprof_compute_soc/analysis_configs/gfx906/1200_lds.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx906/1200_lds.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx906/1200_lds.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx906/1300_instruction-cache.yaml b/src/rocprof_compute_soc/analysis_configs/gfx906/1300_instruction-cache.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx906/1300_instruction-cache.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx906/1300_instruction-cache.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx906/1400_constant-cache.yaml b/src/rocprof_compute_soc/analysis_configs/gfx906/1400_constant-cache.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx906/1400_constant-cache.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx906/1400_constant-cache.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx906/1500_TA_and_TD.yaml b/src/rocprof_compute_soc/analysis_configs/gfx906/1500_TA_and_TD.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx906/1500_TA_and_TD.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx906/1500_TA_and_TD.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx906/1600_L1_cache.yaml b/src/rocprof_compute_soc/analysis_configs/gfx906/1600_L1_cache.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx906/1600_L1_cache.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx906/1600_L1_cache.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx906/1700_L2_cache.yaml b/src/rocprof_compute_soc/analysis_configs/gfx906/1700_L2_cache.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx906/1700_L2_cache.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx906/1700_L2_cache.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx906/1800_L2_cache_per_channel.yaml b/src/rocprof_compute_soc/analysis_configs/gfx906/1800_L2_cache_per_channel.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx906/1800_L2_cache_per_channel.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx906/1800_L2_cache_per_channel.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx908/0000_top_stats.yaml b/src/rocprof_compute_soc/analysis_configs/gfx908/0000_top_stats.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx908/0000_top_stats.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx908/0000_top_stats.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx908/0100_system_info.yaml b/src/rocprof_compute_soc/analysis_configs/gfx908/0100_system_info.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx908/0100_system_info.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx908/0100_system_info.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx908/0200_system-speed-of-light.yaml b/src/rocprof_compute_soc/analysis_configs/gfx908/0200_system-speed-of-light.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx908/0200_system-speed-of-light.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx908/0200_system-speed-of-light.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx908/0300_mem_chart.yaml b/src/rocprof_compute_soc/analysis_configs/gfx908/0300_mem_chart.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx908/0300_mem_chart.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx908/0300_mem_chart.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx908/0500_command-processor.yaml b/src/rocprof_compute_soc/analysis_configs/gfx908/0500_command-processor.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx908/0500_command-processor.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx908/0500_command-processor.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx908/0600_shader-processor-input.yaml b/src/rocprof_compute_soc/analysis_configs/gfx908/0600_shader-processor-input.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx908/0600_shader-processor-input.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx908/0600_shader-processor-input.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx908/0700_wavefront-launch.yaml b/src/rocprof_compute_soc/analysis_configs/gfx908/0700_wavefront-launch.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx908/0700_wavefront-launch.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx908/0700_wavefront-launch.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx908/1000_compute-unit-instruction-mix.yaml b/src/rocprof_compute_soc/analysis_configs/gfx908/1000_compute-unit-instruction-mix.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx908/1000_compute-unit-instruction-mix.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx908/1000_compute-unit-instruction-mix.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx908/1100_compute-unit-compute-pipeline.yaml b/src/rocprof_compute_soc/analysis_configs/gfx908/1100_compute-unit-compute-pipeline.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx908/1100_compute-unit-compute-pipeline.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx908/1100_compute-unit-compute-pipeline.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx908/1200_lds.yaml b/src/rocprof_compute_soc/analysis_configs/gfx908/1200_lds.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx908/1200_lds.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx908/1200_lds.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx908/1300_instruction-cache.yaml b/src/rocprof_compute_soc/analysis_configs/gfx908/1300_instruction-cache.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx908/1300_instruction-cache.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx908/1300_instruction-cache.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx908/1400_constant-cache.yaml b/src/rocprof_compute_soc/analysis_configs/gfx908/1400_constant-cache.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx908/1400_constant-cache.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx908/1400_constant-cache.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx908/1500_TA_and_TD.yaml b/src/rocprof_compute_soc/analysis_configs/gfx908/1500_TA_and_TD.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx908/1500_TA_and_TD.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx908/1500_TA_and_TD.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx908/1600_L1_cache.yaml b/src/rocprof_compute_soc/analysis_configs/gfx908/1600_L1_cache.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx908/1600_L1_cache.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx908/1600_L1_cache.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx908/1700_L2_cache.yaml b/src/rocprof_compute_soc/analysis_configs/gfx908/1700_L2_cache.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx908/1700_L2_cache.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx908/1700_L2_cache.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx908/1800_L2_cache_per_channel.yaml b/src/rocprof_compute_soc/analysis_configs/gfx908/1800_L2_cache_per_channel.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx908/1800_L2_cache_per_channel.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx908/1800_L2_cache_per_channel.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx90a/0000_top_stats.yaml b/src/rocprof_compute_soc/analysis_configs/gfx90a/0000_top_stats.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx90a/0000_top_stats.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx90a/0000_top_stats.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx90a/0100_system_info.yaml b/src/rocprof_compute_soc/analysis_configs/gfx90a/0100_system_info.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx90a/0100_system_info.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx90a/0100_system_info.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx90a/0200_system-speed-of-light.yaml b/src/rocprof_compute_soc/analysis_configs/gfx90a/0200_system-speed-of-light.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx90a/0200_system-speed-of-light.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx90a/0200_system-speed-of-light.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx90a/0300_mem_chart.yaml b/src/rocprof_compute_soc/analysis_configs/gfx90a/0300_mem_chart.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx90a/0300_mem_chart.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx90a/0300_mem_chart.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx90a/0400_roofline_chart.yaml b/src/rocprof_compute_soc/analysis_configs/gfx90a/0400_roofline_chart.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx90a/0400_roofline_chart.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx90a/0400_roofline_chart.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx90a/0500_command-processor.yaml b/src/rocprof_compute_soc/analysis_configs/gfx90a/0500_command-processor.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx90a/0500_command-processor.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx90a/0500_command-processor.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx90a/0600_shader-processor-input.yaml b/src/rocprof_compute_soc/analysis_configs/gfx90a/0600_shader-processor-input.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx90a/0600_shader-processor-input.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx90a/0600_shader-processor-input.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx90a/0700_wavefront-launch.yaml b/src/rocprof_compute_soc/analysis_configs/gfx90a/0700_wavefront-launch.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx90a/0700_wavefront-launch.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx90a/0700_wavefront-launch.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx90a/1000_compute-unit-instruction-mix.yaml b/src/rocprof_compute_soc/analysis_configs/gfx90a/1000_compute-unit-instruction-mix.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx90a/1000_compute-unit-instruction-mix.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx90a/1000_compute-unit-instruction-mix.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx90a/1100_compute-unit-compute-pipeline.yaml b/src/rocprof_compute_soc/analysis_configs/gfx90a/1100_compute-unit-compute-pipeline.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx90a/1100_compute-unit-compute-pipeline.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx90a/1100_compute-unit-compute-pipeline.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx90a/1200_lds.yaml b/src/rocprof_compute_soc/analysis_configs/gfx90a/1200_lds.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx90a/1200_lds.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx90a/1200_lds.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx90a/1300_instruction-cache.yaml b/src/rocprof_compute_soc/analysis_configs/gfx90a/1300_instruction-cache.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx90a/1300_instruction-cache.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx90a/1300_instruction-cache.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx90a/1400_constant-cache.yaml b/src/rocprof_compute_soc/analysis_configs/gfx90a/1400_constant-cache.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx90a/1400_constant-cache.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx90a/1400_constant-cache.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx90a/1500_TA_and_TD.yaml b/src/rocprof_compute_soc/analysis_configs/gfx90a/1500_TA_and_TD.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx90a/1500_TA_and_TD.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx90a/1500_TA_and_TD.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx90a/1600_L1_cache.yaml b/src/rocprof_compute_soc/analysis_configs/gfx90a/1600_L1_cache.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx90a/1600_L1_cache.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx90a/1600_L1_cache.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx90a/1700_L2_cache.yaml b/src/rocprof_compute_soc/analysis_configs/gfx90a/1700_L2_cache.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx90a/1700_L2_cache.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx90a/1700_L2_cache.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx90a/1800_L2_cache_per_channel.yaml b/src/rocprof_compute_soc/analysis_configs/gfx90a/1800_L2_cache_per_channel.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx90a/1800_L2_cache_per_channel.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx90a/1800_L2_cache_per_channel.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx940/0000_top_stats.yaml b/src/rocprof_compute_soc/analysis_configs/gfx940/0000_top_stats.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx940/0000_top_stats.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx940/0000_top_stats.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx940/0100_system_info.yaml b/src/rocprof_compute_soc/analysis_configs/gfx940/0100_system_info.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx940/0100_system_info.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx940/0100_system_info.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx940/0200_system-speed-of-light.yaml b/src/rocprof_compute_soc/analysis_configs/gfx940/0200_system-speed-of-light.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx940/0200_system-speed-of-light.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx940/0200_system-speed-of-light.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx940/0300_mem_chart.yaml b/src/rocprof_compute_soc/analysis_configs/gfx940/0300_mem_chart.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx940/0300_mem_chart.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx940/0300_mem_chart.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx940/0500_command-processor.yaml b/src/rocprof_compute_soc/analysis_configs/gfx940/0500_command-processor.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx940/0500_command-processor.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx940/0500_command-processor.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx940/0600_shader-processor-input.yaml b/src/rocprof_compute_soc/analysis_configs/gfx940/0600_shader-processor-input.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx940/0600_shader-processor-input.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx940/0600_shader-processor-input.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx940/0700_wavefront-launch.yaml b/src/rocprof_compute_soc/analysis_configs/gfx940/0700_wavefront-launch.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx940/0700_wavefront-launch.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx940/0700_wavefront-launch.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx940/1000_compute-unit-instruction-mix.yaml b/src/rocprof_compute_soc/analysis_configs/gfx940/1000_compute-unit-instruction-mix.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx940/1000_compute-unit-instruction-mix.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx940/1000_compute-unit-instruction-mix.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx940/1100_compute-unit-compute-pipeline.yaml b/src/rocprof_compute_soc/analysis_configs/gfx940/1100_compute-unit-compute-pipeline.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx940/1100_compute-unit-compute-pipeline.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx940/1100_compute-unit-compute-pipeline.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx940/1200_lds.yaml b/src/rocprof_compute_soc/analysis_configs/gfx940/1200_lds.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx940/1200_lds.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx940/1200_lds.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx940/1300_instruction-cache.yaml b/src/rocprof_compute_soc/analysis_configs/gfx940/1300_instruction-cache.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx940/1300_instruction-cache.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx940/1300_instruction-cache.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx940/1400_constant-cache.yaml b/src/rocprof_compute_soc/analysis_configs/gfx940/1400_constant-cache.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx940/1400_constant-cache.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx940/1400_constant-cache.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx940/1500_TA_and_TD.yaml b/src/rocprof_compute_soc/analysis_configs/gfx940/1500_TA_and_TD.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx940/1500_TA_and_TD.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx940/1500_TA_and_TD.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx940/1600_L1_cache.yaml b/src/rocprof_compute_soc/analysis_configs/gfx940/1600_L1_cache.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx940/1600_L1_cache.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx940/1600_L1_cache.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx940/1700_L2_cache.yaml b/src/rocprof_compute_soc/analysis_configs/gfx940/1700_L2_cache.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx940/1700_L2_cache.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx940/1700_L2_cache.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx940/1800_L2_cache_per_channel.yaml b/src/rocprof_compute_soc/analysis_configs/gfx940/1800_L2_cache_per_channel.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx940/1800_L2_cache_per_channel.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx940/1800_L2_cache_per_channel.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx941/0000_top_stats.yaml b/src/rocprof_compute_soc/analysis_configs/gfx941/0000_top_stats.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx941/0000_top_stats.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx941/0000_top_stats.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx941/0100_system_info.yaml b/src/rocprof_compute_soc/analysis_configs/gfx941/0100_system_info.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx941/0100_system_info.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx941/0100_system_info.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx941/0200_system-speed-of-light.yaml b/src/rocprof_compute_soc/analysis_configs/gfx941/0200_system-speed-of-light.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx941/0200_system-speed-of-light.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx941/0200_system-speed-of-light.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx941/0300_mem_chart.yaml b/src/rocprof_compute_soc/analysis_configs/gfx941/0300_mem_chart.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx941/0300_mem_chart.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx941/0300_mem_chart.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx941/0500_command-processor.yaml b/src/rocprof_compute_soc/analysis_configs/gfx941/0500_command-processor.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx941/0500_command-processor.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx941/0500_command-processor.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx941/0600_shader-processor-input.yaml b/src/rocprof_compute_soc/analysis_configs/gfx941/0600_shader-processor-input.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx941/0600_shader-processor-input.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx941/0600_shader-processor-input.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx941/0700_wavefront-launch.yaml b/src/rocprof_compute_soc/analysis_configs/gfx941/0700_wavefront-launch.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx941/0700_wavefront-launch.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx941/0700_wavefront-launch.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx941/1000_compute-unit-instruction-mix.yaml b/src/rocprof_compute_soc/analysis_configs/gfx941/1000_compute-unit-instruction-mix.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx941/1000_compute-unit-instruction-mix.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx941/1000_compute-unit-instruction-mix.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx941/1100_compute-unit-compute-pipeline.yaml b/src/rocprof_compute_soc/analysis_configs/gfx941/1100_compute-unit-compute-pipeline.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx941/1100_compute-unit-compute-pipeline.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx941/1100_compute-unit-compute-pipeline.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx941/1200_lds.yaml b/src/rocprof_compute_soc/analysis_configs/gfx941/1200_lds.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx941/1200_lds.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx941/1200_lds.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx941/1300_instruction-cache.yaml b/src/rocprof_compute_soc/analysis_configs/gfx941/1300_instruction-cache.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx941/1300_instruction-cache.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx941/1300_instruction-cache.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx941/1400_constant-cache.yaml b/src/rocprof_compute_soc/analysis_configs/gfx941/1400_constant-cache.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx941/1400_constant-cache.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx941/1400_constant-cache.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx941/1500_TA_and_TD.yaml b/src/rocprof_compute_soc/analysis_configs/gfx941/1500_TA_and_TD.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx941/1500_TA_and_TD.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx941/1500_TA_and_TD.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx941/1600_L1_cache.yaml b/src/rocprof_compute_soc/analysis_configs/gfx941/1600_L1_cache.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx941/1600_L1_cache.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx941/1600_L1_cache.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx941/1700_L2_cache.yaml b/src/rocprof_compute_soc/analysis_configs/gfx941/1700_L2_cache.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx941/1700_L2_cache.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx941/1700_L2_cache.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx941/1800_L2_cache_per_channel.yaml b/src/rocprof_compute_soc/analysis_configs/gfx941/1800_L2_cache_per_channel.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx941/1800_L2_cache_per_channel.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx941/1800_L2_cache_per_channel.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx942/0000_top_stats.yaml b/src/rocprof_compute_soc/analysis_configs/gfx942/0000_top_stats.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx942/0000_top_stats.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx942/0000_top_stats.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx942/0100_system_info.yaml b/src/rocprof_compute_soc/analysis_configs/gfx942/0100_system_info.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx942/0100_system_info.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx942/0100_system_info.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx942/0200_system-speed-of-light.yaml b/src/rocprof_compute_soc/analysis_configs/gfx942/0200_system-speed-of-light.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx942/0200_system-speed-of-light.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx942/0200_system-speed-of-light.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx942/0300_mem_chart.yaml b/src/rocprof_compute_soc/analysis_configs/gfx942/0300_mem_chart.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx942/0300_mem_chart.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx942/0300_mem_chart.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx942/0500_command-processor.yaml b/src/rocprof_compute_soc/analysis_configs/gfx942/0500_command-processor.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx942/0500_command-processor.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx942/0500_command-processor.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx942/0600_shader-processor-input.yaml b/src/rocprof_compute_soc/analysis_configs/gfx942/0600_shader-processor-input.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx942/0600_shader-processor-input.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx942/0600_shader-processor-input.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx942/0700_wavefront-launch.yaml b/src/rocprof_compute_soc/analysis_configs/gfx942/0700_wavefront-launch.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx942/0700_wavefront-launch.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx942/0700_wavefront-launch.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx942/1000_compute-unit-instruction-mix.yaml b/src/rocprof_compute_soc/analysis_configs/gfx942/1000_compute-unit-instruction-mix.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx942/1000_compute-unit-instruction-mix.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx942/1000_compute-unit-instruction-mix.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx942/1100_compute-unit-compute-pipeline.yaml b/src/rocprof_compute_soc/analysis_configs/gfx942/1100_compute-unit-compute-pipeline.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx942/1100_compute-unit-compute-pipeline.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx942/1100_compute-unit-compute-pipeline.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx942/1200_lds.yaml b/src/rocprof_compute_soc/analysis_configs/gfx942/1200_lds.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx942/1200_lds.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx942/1200_lds.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx942/1300_instruction-cache.yaml b/src/rocprof_compute_soc/analysis_configs/gfx942/1300_instruction-cache.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx942/1300_instruction-cache.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx942/1300_instruction-cache.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx942/1400_constant-cache.yaml b/src/rocprof_compute_soc/analysis_configs/gfx942/1400_constant-cache.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx942/1400_constant-cache.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx942/1400_constant-cache.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx942/1500_TA_and_TD.yaml b/src/rocprof_compute_soc/analysis_configs/gfx942/1500_TA_and_TD.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx942/1500_TA_and_TD.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx942/1500_TA_and_TD.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx942/1600_L1_cache.yaml b/src/rocprof_compute_soc/analysis_configs/gfx942/1600_L1_cache.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx942/1600_L1_cache.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx942/1600_L1_cache.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx942/1700_L2_cache.yaml b/src/rocprof_compute_soc/analysis_configs/gfx942/1700_L2_cache.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx942/1700_L2_cache.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx942/1700_L2_cache.yaml diff --git a/src/omniperf_soc/analysis_configs/gfx942/1800_L2_cache_per_channel.yaml b/src/rocprof_compute_soc/analysis_configs/gfx942/1800_L2_cache_per_channel.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/gfx942/1800_L2_cache_per_channel.yaml rename to src/rocprof_compute_soc/analysis_configs/gfx942/1800_L2_cache_per_channel.yaml diff --git a/src/omniperf_soc/analysis_configs/panel_config_template.yaml b/src/rocprof_compute_soc/analysis_configs/panel_config_template.yaml similarity index 100% rename from src/omniperf_soc/analysis_configs/panel_config_template.yaml rename to src/rocprof_compute_soc/analysis_configs/panel_config_template.yaml diff --git a/src/omniperf_soc/profile_configs/gfx900/pmc_cpc_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx900/pmc_cpc_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx900/pmc_cpc_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx900/pmc_cpc_perf.txt diff --git a/src/omniperf_soc/profile_configs/gfx900/pmc_cpf_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx900/pmc_cpf_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx900/pmc_cpf_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx900/pmc_cpf_perf.txt diff --git a/src/omniperf_soc/profile_configs/gfx900/pmc_spi_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx900/pmc_spi_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx900/pmc_spi_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx900/pmc_spi_perf.txt diff --git a/src/omniperf_soc/profile_configs/gfx900/pmc_sq_perf1.txt b/src/rocprof_compute_soc/profile_configs/gfx900/pmc_sq_perf1.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx900/pmc_sq_perf1.txt rename to src/rocprof_compute_soc/profile_configs/gfx900/pmc_sq_perf1.txt diff --git a/src/omniperf_soc/profile_configs/gfx900/pmc_sq_perf2.txt b/src/rocprof_compute_soc/profile_configs/gfx900/pmc_sq_perf2.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx900/pmc_sq_perf2.txt rename to src/rocprof_compute_soc/profile_configs/gfx900/pmc_sq_perf2.txt diff --git a/src/omniperf_soc/profile_configs/gfx900/pmc_sq_perf3.txt b/src/rocprof_compute_soc/profile_configs/gfx900/pmc_sq_perf3.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx900/pmc_sq_perf3.txt rename to src/rocprof_compute_soc/profile_configs/gfx900/pmc_sq_perf3.txt diff --git a/src/omniperf_soc/profile_configs/gfx900/pmc_sq_perf4.txt b/src/rocprof_compute_soc/profile_configs/gfx900/pmc_sq_perf4.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx900/pmc_sq_perf4.txt rename to src/rocprof_compute_soc/profile_configs/gfx900/pmc_sq_perf4.txt diff --git a/src/omniperf_soc/profile_configs/gfx900/pmc_sq_perf6.txt b/src/rocprof_compute_soc/profile_configs/gfx900/pmc_sq_perf6.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx900/pmc_sq_perf6.txt rename to src/rocprof_compute_soc/profile_configs/gfx900/pmc_sq_perf6.txt diff --git a/src/omniperf_soc/profile_configs/gfx900/pmc_sq_perf8.txt b/src/rocprof_compute_soc/profile_configs/gfx900/pmc_sq_perf8.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx900/pmc_sq_perf8.txt rename to src/rocprof_compute_soc/profile_configs/gfx900/pmc_sq_perf8.txt diff --git a/src/omniperf_soc/profile_configs/gfx900/pmc_sqc_perf1.txt b/src/rocprof_compute_soc/profile_configs/gfx900/pmc_sqc_perf1.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx900/pmc_sqc_perf1.txt rename to src/rocprof_compute_soc/profile_configs/gfx900/pmc_sqc_perf1.txt diff --git a/src/omniperf_soc/profile_configs/gfx900/pmc_ta_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx900/pmc_ta_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx900/pmc_ta_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx900/pmc_ta_perf.txt diff --git a/src/omniperf_soc/profile_configs/gfx900/pmc_tcc2_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx900/pmc_tcc2_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx900/pmc_tcc2_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx900/pmc_tcc2_perf.txt diff --git a/src/omniperf_soc/profile_configs/gfx900/pmc_tcc_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx900/pmc_tcc_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx900/pmc_tcc_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx900/pmc_tcc_perf.txt diff --git a/src/omniperf_soc/profile_configs/gfx900/pmc_tcp_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx900/pmc_tcp_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx900/pmc_tcp_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx900/pmc_tcp_perf.txt diff --git a/src/omniperf_soc/profile_configs/gfx900/pmc_td_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx900/pmc_td_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx900/pmc_td_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx900/pmc_td_perf.txt diff --git a/src/omniperf_soc/profile_configs/gfx906/pmc_cpc_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx906/pmc_cpc_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx906/pmc_cpc_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx906/pmc_cpc_perf.txt diff --git a/src/omniperf_soc/profile_configs/gfx906/pmc_cpf_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx906/pmc_cpf_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx906/pmc_cpf_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx906/pmc_cpf_perf.txt diff --git a/src/omniperf_soc/profile_configs/gfx906/pmc_spi_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx906/pmc_spi_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx906/pmc_spi_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx906/pmc_spi_perf.txt diff --git a/src/omniperf_soc/profile_configs/gfx906/pmc_sq_perf1.txt b/src/rocprof_compute_soc/profile_configs/gfx906/pmc_sq_perf1.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx906/pmc_sq_perf1.txt rename to src/rocprof_compute_soc/profile_configs/gfx906/pmc_sq_perf1.txt diff --git a/src/omniperf_soc/profile_configs/gfx906/pmc_sq_perf2.txt b/src/rocprof_compute_soc/profile_configs/gfx906/pmc_sq_perf2.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx906/pmc_sq_perf2.txt rename to src/rocprof_compute_soc/profile_configs/gfx906/pmc_sq_perf2.txt diff --git a/src/omniperf_soc/profile_configs/gfx906/pmc_sq_perf3.txt b/src/rocprof_compute_soc/profile_configs/gfx906/pmc_sq_perf3.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx906/pmc_sq_perf3.txt rename to src/rocprof_compute_soc/profile_configs/gfx906/pmc_sq_perf3.txt diff --git a/src/omniperf_soc/profile_configs/gfx906/pmc_sq_perf4.txt b/src/rocprof_compute_soc/profile_configs/gfx906/pmc_sq_perf4.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx906/pmc_sq_perf4.txt rename to src/rocprof_compute_soc/profile_configs/gfx906/pmc_sq_perf4.txt diff --git a/src/omniperf_soc/profile_configs/gfx906/pmc_sq_perf6.txt b/src/rocprof_compute_soc/profile_configs/gfx906/pmc_sq_perf6.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx906/pmc_sq_perf6.txt rename to src/rocprof_compute_soc/profile_configs/gfx906/pmc_sq_perf6.txt diff --git a/src/omniperf_soc/profile_configs/gfx906/pmc_sq_perf8.txt b/src/rocprof_compute_soc/profile_configs/gfx906/pmc_sq_perf8.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx906/pmc_sq_perf8.txt rename to src/rocprof_compute_soc/profile_configs/gfx906/pmc_sq_perf8.txt diff --git a/src/omniperf_soc/profile_configs/gfx906/pmc_sqc_perf1.txt b/src/rocprof_compute_soc/profile_configs/gfx906/pmc_sqc_perf1.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx906/pmc_sqc_perf1.txt rename to src/rocprof_compute_soc/profile_configs/gfx906/pmc_sqc_perf1.txt diff --git a/src/omniperf_soc/profile_configs/gfx906/pmc_ta_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx906/pmc_ta_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx906/pmc_ta_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx906/pmc_ta_perf.txt diff --git a/src/omniperf_soc/profile_configs/gfx906/pmc_tcc2_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx906/pmc_tcc2_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx906/pmc_tcc2_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx906/pmc_tcc2_perf.txt diff --git a/src/omniperf_soc/profile_configs/gfx906/pmc_tcc_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx906/pmc_tcc_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx906/pmc_tcc_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx906/pmc_tcc_perf.txt diff --git a/src/omniperf_soc/profile_configs/gfx906/pmc_tcp_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx906/pmc_tcp_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx906/pmc_tcp_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx906/pmc_tcp_perf.txt diff --git a/src/omniperf_soc/profile_configs/gfx906/pmc_td_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx906/pmc_td_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx906/pmc_td_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx906/pmc_td_perf.txt diff --git a/src/omniperf_soc/profile_configs/gfx908/pmc_cpc_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx908/pmc_cpc_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx908/pmc_cpc_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx908/pmc_cpc_perf.txt diff --git a/src/omniperf_soc/profile_configs/gfx908/pmc_cpf_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx908/pmc_cpf_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx908/pmc_cpf_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx908/pmc_cpf_perf.txt diff --git a/src/omniperf_soc/profile_configs/gfx908/pmc_spi_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx908/pmc_spi_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx908/pmc_spi_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx908/pmc_spi_perf.txt diff --git a/src/omniperf_soc/profile_configs/gfx908/pmc_sq_perf1.txt b/src/rocprof_compute_soc/profile_configs/gfx908/pmc_sq_perf1.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx908/pmc_sq_perf1.txt rename to src/rocprof_compute_soc/profile_configs/gfx908/pmc_sq_perf1.txt diff --git a/src/omniperf_soc/profile_configs/gfx908/pmc_sq_perf2.txt b/src/rocprof_compute_soc/profile_configs/gfx908/pmc_sq_perf2.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx908/pmc_sq_perf2.txt rename to src/rocprof_compute_soc/profile_configs/gfx908/pmc_sq_perf2.txt diff --git a/src/omniperf_soc/profile_configs/gfx908/pmc_sq_perf3.txt b/src/rocprof_compute_soc/profile_configs/gfx908/pmc_sq_perf3.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx908/pmc_sq_perf3.txt rename to src/rocprof_compute_soc/profile_configs/gfx908/pmc_sq_perf3.txt diff --git a/src/omniperf_soc/profile_configs/gfx908/pmc_sq_perf4.txt b/src/rocprof_compute_soc/profile_configs/gfx908/pmc_sq_perf4.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx908/pmc_sq_perf4.txt rename to src/rocprof_compute_soc/profile_configs/gfx908/pmc_sq_perf4.txt diff --git a/src/omniperf_soc/profile_configs/gfx908/pmc_sq_perf6.txt b/src/rocprof_compute_soc/profile_configs/gfx908/pmc_sq_perf6.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx908/pmc_sq_perf6.txt rename to src/rocprof_compute_soc/profile_configs/gfx908/pmc_sq_perf6.txt diff --git a/src/omniperf_soc/profile_configs/gfx908/pmc_sq_perf8.txt b/src/rocprof_compute_soc/profile_configs/gfx908/pmc_sq_perf8.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx908/pmc_sq_perf8.txt rename to src/rocprof_compute_soc/profile_configs/gfx908/pmc_sq_perf8.txt diff --git a/src/omniperf_soc/profile_configs/gfx908/pmc_sqc_perf1.txt b/src/rocprof_compute_soc/profile_configs/gfx908/pmc_sqc_perf1.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx908/pmc_sqc_perf1.txt rename to src/rocprof_compute_soc/profile_configs/gfx908/pmc_sqc_perf1.txt diff --git a/src/omniperf_soc/profile_configs/gfx908/pmc_ta_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx908/pmc_ta_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx908/pmc_ta_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx908/pmc_ta_perf.txt diff --git a/src/omniperf_soc/profile_configs/gfx908/pmc_tcc2_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx908/pmc_tcc2_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx908/pmc_tcc2_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx908/pmc_tcc2_perf.txt diff --git a/src/omniperf_soc/profile_configs/gfx908/pmc_tcc_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx908/pmc_tcc_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx908/pmc_tcc_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx908/pmc_tcc_perf.txt diff --git a/src/omniperf_soc/profile_configs/gfx908/pmc_tcp_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx908/pmc_tcp_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx908/pmc_tcp_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx908/pmc_tcp_perf.txt diff --git a/src/omniperf_soc/profile_configs/gfx908/pmc_td_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx908/pmc_td_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx908/pmc_td_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx908/pmc_td_perf.txt diff --git a/src/omniperf_soc/profile_configs/gfx908_metrics.xml b/src/rocprof_compute_soc/profile_configs/gfx908_metrics.xml similarity index 100% rename from src/omniperf_soc/profile_configs/gfx908_metrics.xml rename to src/rocprof_compute_soc/profile_configs/gfx908_metrics.xml diff --git a/src/omniperf_soc/profile_configs/gfx90a/pmc_cpc_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx90a/pmc_cpc_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx90a/pmc_cpc_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx90a/pmc_cpc_perf.txt diff --git a/src/omniperf_soc/profile_configs/gfx90a/pmc_cpf_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx90a/pmc_cpf_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx90a/pmc_cpf_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx90a/pmc_cpf_perf.txt diff --git a/src/omniperf_soc/profile_configs/gfx90a/pmc_spi_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx90a/pmc_spi_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx90a/pmc_spi_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx90a/pmc_spi_perf.txt diff --git a/src/omniperf_soc/profile_configs/gfx90a/pmc_sq_perf1.txt b/src/rocprof_compute_soc/profile_configs/gfx90a/pmc_sq_perf1.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx90a/pmc_sq_perf1.txt rename to src/rocprof_compute_soc/profile_configs/gfx90a/pmc_sq_perf1.txt diff --git a/src/omniperf_soc/profile_configs/gfx90a/pmc_sq_perf2.txt b/src/rocprof_compute_soc/profile_configs/gfx90a/pmc_sq_perf2.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx90a/pmc_sq_perf2.txt rename to src/rocprof_compute_soc/profile_configs/gfx90a/pmc_sq_perf2.txt diff --git a/src/omniperf_soc/profile_configs/gfx90a/pmc_sq_perf3.txt b/src/rocprof_compute_soc/profile_configs/gfx90a/pmc_sq_perf3.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx90a/pmc_sq_perf3.txt rename to src/rocprof_compute_soc/profile_configs/gfx90a/pmc_sq_perf3.txt diff --git a/src/omniperf_soc/profile_configs/gfx90a/pmc_sq_perf4.txt b/src/rocprof_compute_soc/profile_configs/gfx90a/pmc_sq_perf4.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx90a/pmc_sq_perf4.txt rename to src/rocprof_compute_soc/profile_configs/gfx90a/pmc_sq_perf4.txt diff --git a/src/omniperf_soc/profile_configs/gfx90a/pmc_sq_perf6.txt b/src/rocprof_compute_soc/profile_configs/gfx90a/pmc_sq_perf6.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx90a/pmc_sq_perf6.txt rename to src/rocprof_compute_soc/profile_configs/gfx90a/pmc_sq_perf6.txt diff --git a/src/omniperf_soc/profile_configs/gfx90a/pmc_sq_perf8.txt b/src/rocprof_compute_soc/profile_configs/gfx90a/pmc_sq_perf8.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx90a/pmc_sq_perf8.txt rename to src/rocprof_compute_soc/profile_configs/gfx90a/pmc_sq_perf8.txt diff --git a/src/omniperf_soc/profile_configs/gfx90a/pmc_sqc_perf1.txt b/src/rocprof_compute_soc/profile_configs/gfx90a/pmc_sqc_perf1.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx90a/pmc_sqc_perf1.txt rename to src/rocprof_compute_soc/profile_configs/gfx90a/pmc_sqc_perf1.txt diff --git a/src/omniperf_soc/profile_configs/gfx90a/pmc_ta_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx90a/pmc_ta_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx90a/pmc_ta_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx90a/pmc_ta_perf.txt diff --git a/src/omniperf_soc/profile_configs/gfx90a/pmc_tcc2_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx90a/pmc_tcc2_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx90a/pmc_tcc2_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx90a/pmc_tcc2_perf.txt diff --git a/src/omniperf_soc/profile_configs/gfx90a/pmc_tcc_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx90a/pmc_tcc_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx90a/pmc_tcc_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx90a/pmc_tcc_perf.txt diff --git a/src/omniperf_soc/profile_configs/gfx90a/pmc_tcp_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx90a/pmc_tcp_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx90a/pmc_tcp_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx90a/pmc_tcp_perf.txt diff --git a/src/omniperf_soc/profile_configs/gfx90a/pmc_td_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx90a/pmc_td_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx90a/pmc_td_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx90a/pmc_td_perf.txt diff --git a/src/omniperf_soc/profile_configs/gfx90a/roofline/pmc_roof_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx90a/roofline/pmc_roof_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx90a/roofline/pmc_roof_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx90a/roofline/pmc_roof_perf.txt diff --git a/src/omniperf_soc/profile_configs/gfx940/pmc_cpc_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx940/pmc_cpc_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx940/pmc_cpc_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx940/pmc_cpc_perf.txt diff --git a/src/omniperf_soc/profile_configs/gfx940/pmc_cpf_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx940/pmc_cpf_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx940/pmc_cpf_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx940/pmc_cpf_perf.txt diff --git a/src/omniperf_soc/profile_configs/gfx940/pmc_spi_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx940/pmc_spi_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx940/pmc_spi_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx940/pmc_spi_perf.txt diff --git a/src/omniperf_soc/profile_configs/gfx940/pmc_sq_perf1.txt b/src/rocprof_compute_soc/profile_configs/gfx940/pmc_sq_perf1.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx940/pmc_sq_perf1.txt rename to src/rocprof_compute_soc/profile_configs/gfx940/pmc_sq_perf1.txt diff --git a/src/omniperf_soc/profile_configs/gfx940/pmc_sq_perf2.txt b/src/rocprof_compute_soc/profile_configs/gfx940/pmc_sq_perf2.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx940/pmc_sq_perf2.txt rename to src/rocprof_compute_soc/profile_configs/gfx940/pmc_sq_perf2.txt diff --git a/src/omniperf_soc/profile_configs/gfx940/pmc_sq_perf3.txt b/src/rocprof_compute_soc/profile_configs/gfx940/pmc_sq_perf3.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx940/pmc_sq_perf3.txt rename to src/rocprof_compute_soc/profile_configs/gfx940/pmc_sq_perf3.txt diff --git a/src/omniperf_soc/profile_configs/gfx940/pmc_sq_perf4.txt b/src/rocprof_compute_soc/profile_configs/gfx940/pmc_sq_perf4.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx940/pmc_sq_perf4.txt rename to src/rocprof_compute_soc/profile_configs/gfx940/pmc_sq_perf4.txt diff --git a/src/omniperf_soc/profile_configs/gfx940/pmc_sq_perf6.txt b/src/rocprof_compute_soc/profile_configs/gfx940/pmc_sq_perf6.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx940/pmc_sq_perf6.txt rename to src/rocprof_compute_soc/profile_configs/gfx940/pmc_sq_perf6.txt diff --git a/src/omniperf_soc/profile_configs/gfx940/pmc_sq_perf8.txt b/src/rocprof_compute_soc/profile_configs/gfx940/pmc_sq_perf8.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx940/pmc_sq_perf8.txt rename to src/rocprof_compute_soc/profile_configs/gfx940/pmc_sq_perf8.txt diff --git a/src/omniperf_soc/profile_configs/gfx940/pmc_sqc_perf1.txt b/src/rocprof_compute_soc/profile_configs/gfx940/pmc_sqc_perf1.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx940/pmc_sqc_perf1.txt rename to src/rocprof_compute_soc/profile_configs/gfx940/pmc_sqc_perf1.txt diff --git a/src/omniperf_soc/profile_configs/gfx940/pmc_ta_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx940/pmc_ta_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx940/pmc_ta_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx940/pmc_ta_perf.txt diff --git a/src/omniperf_soc/profile_configs/gfx940/pmc_tcc2_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx940/pmc_tcc2_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx940/pmc_tcc2_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx940/pmc_tcc2_perf.txt diff --git a/src/omniperf_soc/profile_configs/gfx940/pmc_tcc_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx940/pmc_tcc_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx940/pmc_tcc_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx940/pmc_tcc_perf.txt diff --git a/src/omniperf_soc/profile_configs/gfx940/pmc_tcp_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx940/pmc_tcp_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx940/pmc_tcp_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx940/pmc_tcp_perf.txt diff --git a/src/omniperf_soc/profile_configs/gfx940/pmc_td_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx940/pmc_td_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx940/pmc_td_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx940/pmc_td_perf.txt diff --git a/src/omniperf_soc/profile_configs/gfx940/roofline/pmc_roof_perf.txt b/src/rocprof_compute_soc/profile_configs/gfx940/roofline/pmc_roof_perf.txt similarity index 100% rename from src/omniperf_soc/profile_configs/gfx940/roofline/pmc_roof_perf.txt rename to src/rocprof_compute_soc/profile_configs/gfx940/roofline/pmc_roof_perf.txt diff --git a/src/omniperf_soc/profile_configs/metrics.xml b/src/rocprof_compute_soc/profile_configs/metrics.xml similarity index 100% rename from src/omniperf_soc/profile_configs/metrics.xml rename to src/rocprof_compute_soc/profile_configs/metrics.xml diff --git a/src/omniperf_soc/soc_base.py b/src/rocprof_compute_soc/soc_base.py similarity index 99% rename from src/omniperf_soc/soc_base.py rename to src/rocprof_compute_soc/soc_base.py index db8ce9a22..a02198f5c 100644 --- a/src/omniperf_soc/soc_base.py +++ b/src/rocprof_compute_soc/soc_base.py @@ -33,8 +33,8 @@ from pathlib import Path from collections import OrderedDict -from omniperf_base import SUPPORTED_ARCHS -from omniperf_base import MI300_CHIP_IDS +from rocprof_compute_base import SUPPORTED_ARCHS +from rocprof_compute_base import MI300_CHIP_IDS class OmniSoC_Base: diff --git a/src/omniperf_soc/soc_gfx906.py b/src/rocprof_compute_soc/soc_gfx906.py similarity index 95% rename from src/omniperf_soc/soc_gfx906.py rename to src/rocprof_compute_soc/soc_gfx906.py index ad7dbbb99..2cba83dda 100644 --- a/src/omniperf_soc/soc_gfx906.py +++ b/src/rocprof_compute_soc/soc_gfx906.py @@ -24,7 +24,7 @@ import os import config -from omniperf_soc.soc_base import OmniSoC_Base +from rocprof_compute_soc.soc_base import OmniSoC_Base from utils.utils import demarcate, console_error @@ -34,8 +34,8 @@ def __init__(self, args, mspec): self.set_arch("gfx906") self.set_perfmon_dir( os.path.join( - str(config.omniperf_home), - "omniperf_soc", + str(config.rocprof_compute_home), + "rocprof_compute_soc", "profile_configs", self.get_arch(), ) diff --git a/src/omniperf_soc/soc_gfx908.py b/src/rocprof_compute_soc/soc_gfx908.py similarity index 95% rename from src/omniperf_soc/soc_gfx908.py rename to src/rocprof_compute_soc/soc_gfx908.py index 4d94edd81..5eb30cc0f 100644 --- a/src/omniperf_soc/soc_gfx908.py +++ b/src/rocprof_compute_soc/soc_gfx908.py @@ -24,7 +24,7 @@ import os import config -from omniperf_soc.soc_base import OmniSoC_Base +from rocprof_compute_soc.soc_base import OmniSoC_Base from utils.utils import demarcate, console_error @@ -34,8 +34,8 @@ def __init__(self, args, mspec): self.set_arch("gfx908") self.set_perfmon_dir( os.path.join( - str(config.omniperf_home), - "omniperf_soc", + str(config.rocprof_compute_home), + "rocprof_compute_soc", "profile_configs", self.get_arch(), ) diff --git a/src/omniperf_soc/soc_gfx90a.py b/src/rocprof_compute_soc/soc_gfx90a.py similarity index 94% rename from src/omniperf_soc/soc_gfx90a.py rename to src/rocprof_compute_soc/soc_gfx90a.py index 022404f74..7d3e12c2f 100644 --- a/src/omniperf_soc/soc_gfx90a.py +++ b/src/rocprof_compute_soc/soc_gfx90a.py @@ -24,7 +24,7 @@ import os import config -from omniperf_soc.soc_base import OmniSoC_Base +from rocprof_compute_soc.soc_base import OmniSoC_Base from utils.utils import demarcate, mibench, console_log from roofline import Roofline @@ -36,8 +36,8 @@ def __init__(self, args, mspec): if hasattr(self.get_args(), "roof_only") and self.get_args().roof_only: self.set_perfmon_dir( os.path.join( - str(config.omniperf_home), - "omniperf_soc", + str(config.rocprof_compute_home), + "rocprof_compute_soc", "profile_configs", self.get_arch(), "roofline", @@ -46,8 +46,8 @@ def __init__(self, args, mspec): else: self.set_perfmon_dir( os.path.join( - str(config.omniperf_home), - "omniperf_soc", + str(config.rocprof_compute_home), + "rocprof_compute_soc", "profile_configs", self.get_arch(), ) diff --git a/src/omniperf_soc/soc_gfx940.py b/src/rocprof_compute_soc/soc_gfx940.py similarity index 92% rename from src/omniperf_soc/soc_gfx940.py rename to src/rocprof_compute_soc/soc_gfx940.py index 77afc0247..b3d61fcbf 100644 --- a/src/omniperf_soc/soc_gfx940.py +++ b/src/rocprof_compute_soc/soc_gfx940.py @@ -24,7 +24,7 @@ import os import config -from omniperf_soc.soc_base import OmniSoC_Base +from rocprof_compute_soc.soc_base import OmniSoC_Base from utils.utils import demarcate, mibench, console_log, console_error from roofline import Roofline @@ -36,8 +36,8 @@ def __init__(self, args, mspec): if hasattr(self.get_args(), "roof_only") and self.get_args().roof_only: self.set_perfmon_dir( os.path.join( - str(config.omniperf_home), - "omniperf_soc", + str(config.rocprof_compute_home), + "rocprof_compute_soc", "profile_configs", "gfx940", "roofline", @@ -47,7 +47,10 @@ def __init__(self, args, mspec): # NB: We're using generalized Mi300 perfmon configs self.set_perfmon_dir( os.path.join( - str(config.omniperf_home), "omniperf_soc", "profile_configs", "gfx940" + str(config.rocprof_compute_home), + "rocprof_compute_soc", + "profile_configs", + "gfx940", ) ) self.set_compatible_profilers(["rocprofv1", "rocprofv2"]) diff --git a/src/omniperf_soc/soc_gfx941.py b/src/rocprof_compute_soc/soc_gfx941.py similarity index 92% rename from src/omniperf_soc/soc_gfx941.py rename to src/rocprof_compute_soc/soc_gfx941.py index c7a74081c..6fe2bd085 100644 --- a/src/omniperf_soc/soc_gfx941.py +++ b/src/rocprof_compute_soc/soc_gfx941.py @@ -24,7 +24,7 @@ import os import config -from omniperf_soc.soc_base import OmniSoC_Base +from rocprof_compute_soc.soc_base import OmniSoC_Base from utils.utils import demarcate, mibench, console_log, console_error from roofline import Roofline @@ -36,8 +36,8 @@ def __init__(self, args, mspec): if hasattr(self.get_args(), "roof_only") and self.get_args().roof_only: self.set_perfmon_dir( os.path.join( - str(config.omniperf_home), - "omniperf_soc", + str(config.rocprof_compute_home), + "rocprof_compute_soc", "profile_configs", "gfx940", "roofline", @@ -47,7 +47,10 @@ def __init__(self, args, mspec): # NB: We're using generalized Mi300 perfmon configs self.set_perfmon_dir( os.path.join( - str(config.omniperf_home), "omniperf_soc", "profile_configs", "gfx940" + str(config.rocprof_compute_home), + "rocprof_compute_soc", + "profile_configs", + "gfx940", ) ) self.set_compatible_profilers(["rocprofv1", "rocprofv2"]) diff --git a/src/omniperf_soc/soc_gfx942.py b/src/rocprof_compute_soc/soc_gfx942.py similarity index 93% rename from src/omniperf_soc/soc_gfx942.py rename to src/rocprof_compute_soc/soc_gfx942.py index d2ad35eb1..7773f0c96 100644 --- a/src/omniperf_soc/soc_gfx942.py +++ b/src/rocprof_compute_soc/soc_gfx942.py @@ -24,7 +24,7 @@ import os import config -from omniperf_soc.soc_base import OmniSoC_Base +from rocprof_compute_soc.soc_base import OmniSoC_Base from utils.utils import demarcate, mibench, console_log, console_error from roofline import Roofline @@ -36,8 +36,8 @@ def __init__(self, args, mspec): if hasattr(self.get_args(), "roof_only") and self.get_args().roof_only: self.set_perfmon_dir( os.path.join( - str(config.omniperf_home), - "omniperf_soc", + str(config.rocprof_compute_home), + "rocprof_compute_soc", "profile_configs", "gfx940", "roofline", @@ -47,7 +47,10 @@ def __init__(self, args, mspec): # NB: We're using generalized Mi300 perfmon configs self.set_perfmon_dir( os.path.join( - str(config.omniperf_home), "omniperf_soc", "profile_configs", "gfx940" + str(config.rocprof_compute_home), + "rocprof_compute_soc", + "profile_configs", + "gfx940", ) ) self.set_compatible_profilers(["rocprofv1", "rocprofv2"]) diff --git a/src/roofline.py b/src/roofline.py index 3efefef74..2ba350fa4 100644 --- a/src/roofline.py +++ b/src/roofline.py @@ -418,7 +418,7 @@ def profile(self): if not self.__args.remaining: console_error( "profiling" - "An is required to run.\nomniperf profile -n test -- " + "An is required to run.\rrocprof-compute profile -n test -- " ) # TODO: Add an equivelent of characterize_app() to run profiling directly out of this module @@ -427,7 +427,7 @@ def profile(self): else: mibench(self.__args, self.__mspec) - # NB: Currently the post_prossesing() method is the only one being used by omniperf, + # NB: Currently the post_prossesing() method is the only one being used by rocprofiler-compute, # we include pre_processing() and profile() methods for those who wish to borrow the roofline module @abstractmethod def post_processing(self): diff --git a/src/utils/db_connector.py b/src/utils/db_connector.py index 195ff6be8..4216e01a3 100644 --- a/src/utils/db_connector.py +++ b/src/utils/db_connector.py @@ -79,7 +79,12 @@ def prep_import(self): ) self.connection_info["db"] = ( - "omniperf_" + str(self.args.team) + "_" + str(name) + "_" + str(soc) + "rocprofiler-compute_" + + str(self.args.team) + + "_" + + str(name) + + "_" + + str(soc) ) @demarcate @@ -157,7 +162,7 @@ def pre_processing(self): is_full_workload_name = self.args.workload.count("_") >= 3 if not is_full_workload_name: console_error( - "-w/--workload is not valid. Please use full workload name as seen in GUI when removing (i.e. omniperf_asw_vcopy_mi200)" + "-w/--workload is not valid. Please use full workload name as seen in GUI when removing (i.e. rocprofiler-compute_asw_vcopy_mi200)" ) if ( self.connection_info["host"] == None diff --git a/src/utils/gui_components/header.py b/src/utils/gui_components/header.py index d8255ae46..7e6a3811a 100644 --- a/src/utils/gui_components/header.py +++ b/src/utils/gui_components/header.py @@ -299,7 +299,7 @@ def get_header(raw_pmc, input_filters, kernel_names): children=[ # Report bug button html.A( - href="https://github.com/ROCm/omniperf/issues", + href="https://github.com/ROCm/rocprofiler-compute/issues", children=[ html.Button( className="report", diff --git a/src/utils/logger.py b/src/utils/logger.py index dae4a7a25..b6285ba00 100644 --- a/src/utils/logger.py +++ b/src/utils/logger.py @@ -83,8 +83,8 @@ def setup_console_handler(): setattr(logging, "trace", trace_logger) color_setting = 1 - if "OMNIPERF_COLOR" in os.environ.keys(): - color_setting = int(os.environ["OMNIPERF_COLOR"]) + if "ROCPROFCOMPUTE_COLOR" in os.environ.keys(): + color_setting = int(os.environ["ROCPROFCOMPUTE_COLOR"]) if color_setting == 0: # non-colored @@ -99,7 +99,7 @@ def setup_console_handler(): # no color or levelname for INFO, other log messages entirely in color formatter = ColoredFormatterAll() else: - print("Unsupported setting for OMNIPERF_COLOR - set to 0, 1, 2 or 3.") + print("Unsupported setting for ROCPROFCOMPUTE_COLOR - set to 0, 1, 2 or 3.") sys.exit(1) console_handler = logging.StreamHandler(sys.stdout) @@ -130,8 +130,8 @@ def setup_logging_priority(verbosity, quietmode, appmode): loglevel = levels[min(verbosity, len(levels) - 1)] # cap to last level index # optional: override of default loglevel via env variable which takes precedence - if "OMNIPERF_LOGLEVEL" in os.environ.keys(): - loglevel = os.environ["OMNIPERF_LOGLEVEL"] + if "ROCPROFCOMPUTE_LOGLEVEL" in os.environ.keys(): + loglevel = os.environ["ROCPROFCOMPUTE_LOGLEVEL"] if loglevel in {"DEBUG", "debug"}: loglevel = logging.DEBUG elif loglevel in {"TRACE", "trace"}: @@ -141,7 +141,7 @@ def setup_logging_priority(verbosity, quietmode, appmode): elif loglevel in {"ERROR", "error"}: loglevel = logging.ERROR else: - print("Ignoring unsupported OMNIPERF_LOGLEVEL setting (%s)" % loglevel) + print("Ignoring unsupported ROCPROFCOMPUTE_LOGLEVEL setting (%s)" % loglevel) sys.exit(1) # update console loglevel based on command-line args/env settings diff --git a/src/utils/mem_chart.py b/src/utils/mem_chart.py index 8a4dcf1f8..0bf922625 100644 --- a/src/utils/mem_chart.py +++ b/src/utils/mem_chart.py @@ -178,7 +178,9 @@ def draw(self, canvas): ) canvas.text(self.x_min + 4.0, self.y_max - 13.0, "LDS Alloc:") canvas.text( - self.x_min + 4.0, self.y_max - 14.0, "{val:>13.0f}".format(val=self.lds_alloc) + self.x_min + 4.0, + self.y_max - 14.0, + "{val:>13.0f}".format(val=self.lds_alloc), ) canvas.rect( diff --git a/src/utils/resources.py b/src/utils/resources.py index 198684261..634174e93 100644 --- a/src/utils/resources.py +++ b/src/utils/resources.py @@ -30,6 +30,6 @@ def get_resource_path(relative_path): rel_path = pathlib.Path(relative_path) dev_base_path = ( pathlib.Path(__file__).resolve().parent.parent.parent.parent - ) # omniperf dir (whereas equiv comd in omniperf.py returns src dir) + ) # rocprof_compute dir (whereas equiv comd in rocprof_compute.py returns src dir) base_path = getattr(sys, "_MEIPASS", dev_base_path) return dev_base_path diff --git a/src/utils/specs.py b/src/utils/specs.py index 07938bcf1..4cbc55e5b 100644 --- a/src/utils/specs.py +++ b/src/utils/specs.py @@ -58,7 +58,7 @@ def detect_arch(_rocminfo): - from omniperf_base import SUPPORTED_ARCHS + from rocprof_compute_base import SUPPORTED_ARCHS for idx1, linetext in enumerate(_rocminfo): gpu_arch = search(r"^\s*Name\s*:\s+ ([a-zA-Z0-9]+)\s*$", linetext) @@ -91,7 +91,7 @@ def generate_machine_specs(args, sysinfo: dict = None): console_error( "Detected mismatch in sysinfo versioning. You need to reprofile to update data." ) - version = get_version(config.omniperf_home)["version"] + version = get_version(config.rocprof_compute_home)["version"] if sysinfo_ver != version[: version.find(".")]: console_error( "Detected mismatch in sysinfo versioning. You need to reprofile to update data." @@ -106,7 +106,7 @@ def generate_machine_specs(args, sysinfo: dict = None): hostname = socket.gethostname() # set specs version - vData = get_version(config.omniperf_home) + vData = get_version(config.rocprof_compute_home) version = vData["version"] # NB: Just taking major as specs version. May want to make this more specific in the future specs_version = version[ @@ -174,7 +174,7 @@ def generate_machine_specs(args, sysinfo: dict = None): ) # Load above SoC specs via module import try: - soc_module = importlib.import_module("omniperf_soc.soc_" + specs.gpu_arch) + soc_module = importlib.import_module("rocprof_compute_soc.soc_" + specs.gpu_arch) except ModuleNotFoundError as e: console_error( "Arch %s marked as supported, but couldn't find class implementation %s." @@ -253,7 +253,8 @@ class MachineSpecs: ## A. Machine Specs ########################################## hostname: str = field( - default=None, metadata={"doc": "The hostname of the machine.", "name": "Hostname"} + default=None, + metadata={"doc": "The hostname of the machine.", "name": "Hostname"}, ) cpu_model: str = field( default=None, @@ -547,7 +548,7 @@ def get_class_members(self): return pd.DataFrame(data, index=[0]) def __repr__(self): - topstr = "Machine Specifications: describing the state of the machine that Omniperf data was collected on.\n" + topstr = "Machine Specifications: describing the state of the machine that ROCm Compute Profiler data was collected on.\n" data = [] for field in fields(self): name = field.name diff --git a/src/utils/utils.py b/src/utils/utils.py index 4175fdab2..c4b26a240 100644 --- a/src/utils/utils.py +++ b/src/utils/utils.py @@ -87,12 +87,12 @@ def trace_logger(message, *args, **kwargs): logging.log(logging.TRACE, message, *args, **kwargs) -def get_version(omniperf_home) -> dict: - """Return Omniperf versioning info""" +def get_version(rocprof_compute_home) -> dict: + """Return ROCm Compute Profiler versioning info""" # symantic version info - note that version file(s) can reside in # two locations depending on development vs formal install - searchDirs = [omniperf_home, omniperf_home.parent] + searchDirs = [rocprof_compute_home, rocprof_compute_home.parent] found = False versionDir = None @@ -110,7 +110,7 @@ def get_version(omniperf_home) -> dict: console_error("Cannot find VERSION file at {}".format(searchDirs)) # git version info - gitDir = os.path.join(omniperf_home.parent, ".git") + gitDir = os.path.join(rocprof_compute_home.parent, ".git") if (shutil.which("git") is not None) and os.path.exists(gitDir): gitQuery = subprocess.run( ["git", "log", "--pretty=format:%h", "-n", "1"], @@ -142,7 +142,7 @@ def get_version_display(version, sha, mode): """Pretty print versioning info""" buf = io.StringIO() print("-" * 40, file=buf) - print("Omniperf version: %s (%s)" % (version, mode), file=buf) + print("rocprofiler-compute version: %s (%s)" % (version, mode), file=buf) print("Git revision: %s" % sha, file=buf) print("-" * 40, file=buf) return buf.getvalue() @@ -400,7 +400,11 @@ def detect_roofline(mspec): rooflineBinary = os.environ["ROOFLINE_BIN"] if os.path.exists(rooflineBinary): console_warning("roofline", "Detected user-supplied binary") - return {"rocm_ver": "override", "distro": "override", "path": rooflineBinary} + return { + "rocm_ver": "override", + "distro": "override", + "path": rooflineBinary, + } else: msg = "user-supplied path to binary not accessible" msg += "--> ROOFLINE_BIN = %s\n" % target_binary @@ -470,8 +474,8 @@ def mibench(args, mspec): # check two potential locations for roofline binaries due to differences in # development usage vs formal install potential_paths = [ - "%s/utils/rooflines/roofline" % config.omniperf_home, - "%s/bin/roofline" % config.omniperf_home.parent.parent, + "%s/utils/rooflines/roofline" % config.rocprof_compute_home, + "%s/bin/roofline" % config.rocprof_compute_home.parent.parent, ] for dir in potential_paths: diff --git a/tests/4gpus.json b/tests/4gpus.json index e2cac33e2..6c59d23c4 100644 --- a/tests/4gpus.json +++ b/tests/4gpus.json @@ -1,24 +1,15 @@ { - "version": { - "major": 1, - "minor": 0 - }, - "local": [ - { - "gpus": [ - { - "id": "0", - }, - { - "id": "1" - }, - { - "id": "2" - }, - { - "id": "3" - } - ] - } - ] + "version": {"major": 1, "minor": 0}, + "local": [ + { + "gpus": [ + { + "id": "0", + }, + {"id": "1"}, + {"id": "2"}, + {"id": "3"}, + ] + } + ], } diff --git a/tests/generate_test_analyze_workloads.py b/tests/generate_test_analyze_workloads.py index 58e2b9f6f..03fe62e78 100644 --- a/tests/generate_test_analyze_workloads.py +++ b/tests/generate_test_analyze_workloads.py @@ -27,11 +27,11 @@ + arch + "():" + "\n\twith pytest.raises(SystemExit) as e:" - + "\n\t\twith patch('sys.argv',['omniperf', 'analyze', '--path', '" + + "\n\t\twith patch('sys.argv',['rocprof-compute', 'analyze', '--path', '" + workload + "/" + arch - + "']):\n\t\t\tomniperf.main()" + + "']):\n\t\t\trocprof_compute.main()" + "\n\tassert e.value.code == 0" ) f.write(test) diff --git a/tests/generate_workloads.sh b/tests/generate_workloads.sh index e57b06b1a..478d4b8e2 100755 --- a/tests/generate_workloads.sh +++ b/tests/generate_workloads.sh @@ -56,6 +56,6 @@ echo "starting" for key in "${!commands[@]}"; do echo profiling $key; command="${commands[$key]}" - echo "$key = ./src/omniperf profile -n $key ${dirs[@]}" - ./src/omniperf profile -n $key $command -p tests/workloads/$key/$soc -- ./tests/vcopy -n 1048576 -b 256 -i 3 ; + echo "$key = ./src/rocprof-compute profile -n $key ${dirs[@]}" + ./src/rocprof-compute profile -n $key $command -p tests/workloads/$key/$soc -- ./tests/vcopy -n 1048576 -b 256 -i 3 ; echo "done" ; done \ No newline at end of file diff --git a/tests/test_analyze_commands.py b/tests/test_analyze_commands.py index 5a0e7aec8..fde43bc50 100644 --- a/tests/test_analyze_commands.py +++ b/tests/test_analyze_commands.py @@ -7,9 +7,9 @@ import pandas as pd import test_utils -omniperf = SourceFileLoader("omniperf", "src/omniperf").load_module() +rocprof_compute = SourceFileLoader("rocprof-compute", "src/rocprof-compute").load_module() -baseline_opts = ["omniperf", "analyze"] +baseline_opts = ["rocprof-compute", "analyze"] config = {} config["cleanup"] = True if "PYTEST_XDIST_WORKER_COUNT" in os.environ else False @@ -29,9 +29,9 @@ def test_valid_path(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", workload_dir], + ["rocprof-compute", "analyze", "--path", workload_dir], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -45,14 +45,14 @@ def test_list_kernels(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, "--list-stats", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -60,8 +60,10 @@ def test_list_kernels(): @pytest.mark.list_metrics def test_list_metrics_gfx90a(): with pytest.raises(SystemExit) as e: - with patch("sys.argv", ["omniperf", "analyze", "--list-metrics", "gfx90a"]): - omniperf.main() + with patch( + "sys.argv", ["rocprof-compute", "analyze", "--list-metrics", "gfx90a"] + ): + rocprof_compute.main() assert e.value.code == 1 for dir in indirs: @@ -70,7 +72,7 @@ def test_list_metrics_gfx90a(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -78,7 +80,7 @@ def test_list_metrics_gfx90a(): "gfx90a", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -87,8 +89,10 @@ def test_list_metrics_gfx90a(): @pytest.mark.list_metrics def test_list_metrics_gfx906(): with pytest.raises(SystemExit) as e: - with patch("sys.argv", ["omniperf", "analyze", "--list-metrics", "gfx906"]): - omniperf.main() + with patch( + "sys.argv", ["rocprof-compute", "analyze", "--list-metrics", "gfx906"] + ): + rocprof_compute.main() assert e.value.code == 1 for dir in indirs: @@ -97,7 +101,7 @@ def test_list_metrics_gfx906(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -105,7 +109,7 @@ def test_list_metrics_gfx906(): "gfx906", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -114,8 +118,10 @@ def test_list_metrics_gfx906(): @pytest.mark.list_metrics def test_list_metrics_gfx908(): with pytest.raises(SystemExit) as e: - with patch("sys.argv", ["omniperf", "analyze", "--list-metrics", "gfx908"]): - omniperf.main() + with patch( + "sys.argv", ["rocprof-compute", "analyze", "--list-metrics", "gfx908"] + ): + rocprof_compute.main() assert e.value.code == 1 for dir in indirs: @@ -124,7 +130,7 @@ def test_list_metrics_gfx908(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -132,7 +138,7 @@ def test_list_metrics_gfx908(): "gfx908", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -146,7 +152,7 @@ def test_filter_block_1(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -154,7 +160,7 @@ def test_filter_block_1(): "1", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -168,7 +174,7 @@ def test_filter_block_2(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -176,7 +182,7 @@ def test_filter_block_2(): "5", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -190,7 +196,7 @@ def test_filter_block_3(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -198,7 +204,7 @@ def test_filter_block_3(): "5.2.2", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -212,7 +218,7 @@ def test_filter_block_4(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -220,7 +226,7 @@ def test_filter_block_4(): "6.1", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -234,7 +240,7 @@ def test_filter_block_5(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -242,7 +248,7 @@ def test_filter_block_5(): "10", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -256,7 +262,7 @@ def test_filter_block_6(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -264,7 +270,7 @@ def test_filter_block_6(): "100", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -278,7 +284,7 @@ def test_filter_kernel_1(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -286,7 +292,7 @@ def test_filter_kernel_1(): "0", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -300,7 +306,7 @@ def test_filter_kernel_2(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -308,7 +314,7 @@ def test_filter_kernel_2(): "1", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 1 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -322,7 +328,7 @@ def test_filter_kernel_3(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -331,7 +337,7 @@ def test_filter_kernel_3(): "1", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 1 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -345,7 +351,7 @@ def test_dispatch_1(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -353,7 +359,7 @@ def test_dispatch_1(): "0", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -367,7 +373,7 @@ def test_dispatch_2(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -375,7 +381,7 @@ def test_dispatch_2(): "1", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -389,7 +395,7 @@ def test_dispatch_3(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -397,7 +403,7 @@ def test_dispatch_3(): "2", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -411,7 +417,7 @@ def test_dispatch_4(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -420,7 +426,7 @@ def test_dispatch_4(): "4", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 1 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -434,7 +440,7 @@ def test_dispatch_5(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -443,7 +449,7 @@ def test_dispatch_5(): "6", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 1 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -457,7 +463,7 @@ def test_gpu_ids(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -465,7 +471,7 @@ def test_gpu_ids(): "2", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -479,7 +485,7 @@ def test_normal_unit_per_wave(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -487,7 +493,7 @@ def test_normal_unit_per_wave(): "per_wave", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -501,7 +507,7 @@ def test_normal_unit_per_cycle(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -509,7 +515,7 @@ def test_normal_unit_per_cycle(): "per_cycle", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -523,7 +529,7 @@ def test_normal_unit_per_second(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -531,7 +537,7 @@ def test_normal_unit_per_second(): "per_second", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -545,7 +551,7 @@ def test_normal_unit_per_kernel(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -553,7 +559,7 @@ def test_normal_unit_per_kernel(): "per_kernel", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -567,7 +573,7 @@ def test_max_stat_num_1(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -575,7 +581,7 @@ def test_max_stat_num_1(): "0", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -589,7 +595,7 @@ def test_max_stat_num_2(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -597,7 +603,7 @@ def test_max_stat_num_2(): "5", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -611,7 +617,7 @@ def test_max_stat_num_3(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -619,7 +625,7 @@ def test_max_stat_num_3(): "10", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -633,7 +639,7 @@ def test_max_stat_num_4(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -641,7 +647,7 @@ def test_max_stat_num_4(): "15", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -655,7 +661,7 @@ def test_time_unit_s(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -663,7 +669,7 @@ def test_time_unit_s(): "s", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -677,7 +683,7 @@ def test_time_unit_ms(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -685,7 +691,7 @@ def test_time_unit_ms(): "ms", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -699,7 +705,7 @@ def test_time_unit_us(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -707,7 +713,7 @@ def test_time_unit_us(): "us", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -721,7 +727,7 @@ def test_time_unit_ns(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -729,7 +735,7 @@ def test_time_unit_ns(): "ns", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -743,7 +749,7 @@ def test_decimal_1(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -751,7 +757,7 @@ def test_decimal_1(): "0", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -765,7 +771,7 @@ def test_decimal_2(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -773,7 +779,7 @@ def test_decimal_2(): "1", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -787,7 +793,7 @@ def test_decimal_3(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -795,7 +801,7 @@ def test_decimal_3(): "4", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -810,7 +816,7 @@ def test_save_dfs(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -818,7 +824,7 @@ def test_save_dfs(): output_path, ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 files_in_workload = os.listdir(output_path) @@ -843,7 +849,7 @@ def test_save_dfs(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -851,7 +857,7 @@ def test_save_dfs(): output_path, ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 files_in_workload = os.listdir(output_path) @@ -872,7 +878,7 @@ def test_col_1(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -880,7 +886,7 @@ def test_col_1(): "0", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -894,7 +900,7 @@ def test_col_2(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -902,7 +908,7 @@ def test_col_2(): "2", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -916,7 +922,7 @@ def test_col_3(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -925,7 +931,7 @@ def test_col_3(): "2", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -939,14 +945,14 @@ def test_g(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, "-g", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -960,7 +966,7 @@ def test_kernel_verbose_0(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -968,7 +974,7 @@ def test_kernel_verbose_0(): "0", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -982,7 +988,7 @@ def test_kernel_verbose_1(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -990,7 +996,7 @@ def test_kernel_verbose_1(): "1", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -1004,7 +1010,7 @@ def test_kernel_verbose_2(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -1012,7 +1018,7 @@ def test_kernel_verbose_2(): "2", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -1026,7 +1032,7 @@ def test_kernel_verbose_3(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -1034,7 +1040,7 @@ def test_kernel_verbose_3(): "3", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -1048,7 +1054,7 @@ def test_kernel_verbose_4(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -1056,7 +1062,7 @@ def test_kernel_verbose_4(): "4", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -1070,7 +1076,7 @@ def test_kernel_verbose_5(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -1078,7 +1084,7 @@ def test_kernel_verbose_5(): "5", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -1092,7 +1098,7 @@ def test_kernel_verbose_6(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, @@ -1100,7 +1106,7 @@ def test_kernel_verbose_6(): "6", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) @@ -1112,7 +1118,7 @@ def test_baseline(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", "tests/workloads/vcopy/MI200", @@ -1120,7 +1126,7 @@ def test_baseline(): "tests/workloads/vcopy/MI100", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 with pytest.raises(SystemExit) as e: @@ -1135,7 +1141,7 @@ def test_baseline(): "tests/workloads/vcopy/MI200", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 1 with pytest.raises(SystemExit) as e: @@ -1150,7 +1156,7 @@ def test_baseline(): "tests/workloads/vcopy/MI100", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 1 @@ -1162,13 +1168,13 @@ def test_dependency_MI100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", workload_dir, "--dependency", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 test_utils.clean_output_dir(config["cleanup"], workload_dir) diff --git a/tests/test_analyze_workloads.py b/tests/test_analyze_workloads.py index 2b3605ed7..c47e59b30 100644 --- a/tests/test_analyze_workloads.py +++ b/tests/test_analyze_workloads.py @@ -10,11 +10,10 @@ import inspect import sys import test_utils -import pytest from unittest.mock import patch from importlib.machinery import SourceFileLoader -omniperf = SourceFileLoader("omniperf", "src/omniperf").load_module() +rocprof_compute = SourceFileLoader("rocprof-compute", "src/rocprof-compute").load_module() ################################################## ## Generated tests ## @@ -24,18 +23,20 @@ def test_analyze_vcopy_MI100(): with pytest.raises(SystemExit) as e: with patch( - "sys.argv", ["omniperf", "analyze", "--path", "tests/workloads/vcopy/MI100"] + "sys.argv", + ["rocprof-compute", "analyze", "--path", "tests/workloads/vcopy/MI100"], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 def test_analyze_vcopy_MI200(): with pytest.raises(SystemExit) as e: with patch( - "sys.argv", ["omniperf", "analyze", "--path", "tests/workloads/vcopy/MI200"] + "sys.argv", + ["rocprof-compute", "analyze", "--path", "tests/workloads/vcopy/MI200"], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -43,9 +44,14 @@ def test_analyze_ipblocks_TCP_MI300X_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_TCP/MI300X_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_TCP/MI300X_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -53,9 +59,14 @@ def test_analyze_ipblocks_TCP_MI100(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_TCP/MI100"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_TCP/MI100", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -63,9 +74,14 @@ def test_analyze_ipblocks_TCP_MI300A_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_TCP/MI300A_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_TCP/MI300A_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -73,9 +89,14 @@ def test_analyze_ipblocks_TCP_MI200(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_TCP/MI200"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_TCP/MI200", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -83,9 +104,14 @@ def test_analyze_ipblocks_SQC_MI300X_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_SQC/MI300X_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_SQC/MI300X_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -93,9 +119,14 @@ def test_analyze_ipblocks_SQC_MI100(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_SQC/MI100"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_SQC/MI100", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -103,9 +134,14 @@ def test_analyze_ipblocks_SQC_MI300A_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_SQC/MI300A_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_SQC/MI300A_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -113,9 +149,14 @@ def test_analyze_ipblocks_SQC_MI200(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_SQC/MI200"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_SQC/MI200", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -123,9 +164,14 @@ def test_analyze_mem_levels_HBM_LDS_MI200(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/mem_levels_HBM_LDS/MI200"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/mem_levels_HBM_LDS/MI200", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -133,9 +179,14 @@ def test_analyze_ipblocks_TCC_MI300X_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_TCC/MI300X_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_TCC/MI300X_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -143,9 +194,14 @@ def test_analyze_ipblocks_TCC_MI100(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_TCC/MI100"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_TCC/MI100", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -153,9 +209,14 @@ def test_analyze_ipblocks_TCC_MI300A_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_TCC/MI300A_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_TCC/MI300A_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -163,9 +224,14 @@ def test_analyze_ipblocks_TCC_MI200(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_TCC/MI200"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_TCC/MI200", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -173,18 +239,24 @@ def test_analyze_no_roof_MI300X_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/no_roof/MI300X_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/no_roof/MI300X_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 def test_analyze_no_roof_MI100(): with pytest.raises(SystemExit) as e: with patch( - "sys.argv", ["omniperf", "analyze", "--path", "tests/workloads/no_roof/MI100"] + "sys.argv", + ["rocprof-compute", "analyze", "--path", "tests/workloads/no_roof/MI100"], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -192,18 +264,24 @@ def test_analyze_no_roof_MI300A_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/no_roof/MI300A_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/no_roof/MI300A_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 def test_analyze_no_roof_MI200(): with pytest.raises(SystemExit) as e: with patch( - "sys.argv", ["omniperf", "analyze", "--path", "tests/workloads/no_roof/MI200"] + "sys.argv", + ["rocprof-compute", "analyze", "--path", "tests/workloads/no_roof/MI200"], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -212,13 +290,13 @@ def test_analyze_ipblocks_SQ_CPC_MI300X_A1(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", "tests/workloads/ipblocks_SQ_CPC/MI300X_A1", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -226,9 +304,14 @@ def test_analyze_ipblocks_SQ_CPC_MI100(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_SQ_CPC/MI100"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_SQ_CPC/MI100", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -237,13 +320,13 @@ def test_analyze_ipblocks_SQ_CPC_MI300A_A1(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", "tests/workloads/ipblocks_SQ_CPC/MI300A_A1", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -251,9 +334,14 @@ def test_analyze_ipblocks_SQ_CPC_MI200(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_SQ_CPC/MI200"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_SQ_CPC/MI200", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -261,9 +349,14 @@ def test_analyze_dispatch_0_MI300X_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/dispatch_0/MI300X_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/dispatch_0/MI300X_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -271,9 +364,14 @@ def test_analyze_dispatch_0_MI100(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/dispatch_0/MI100"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/dispatch_0/MI100", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -281,9 +379,14 @@ def test_analyze_dispatch_0_MI300A_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/dispatch_0/MI300A_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/dispatch_0/MI300A_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -291,9 +394,14 @@ def test_analyze_dispatch_0_MI200(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/dispatch_0/MI200"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/dispatch_0/MI200", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -301,9 +409,14 @@ def test_analyze_join_type_grid_MI300X_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/join_type_grid/MI300X_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/join_type_grid/MI300X_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -311,9 +424,14 @@ def test_analyze_join_type_grid_MI100(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/join_type_grid/MI100"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/join_type_grid/MI100", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -321,9 +439,14 @@ def test_analyze_join_type_grid_MI300A_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/join_type_grid/MI300A_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/join_type_grid/MI300A_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -331,9 +454,14 @@ def test_analyze_join_type_grid_MI200(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/join_type_grid/MI200"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/join_type_grid/MI200", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -341,18 +469,24 @@ def test_analyze_kernel_MI300X_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/kernel/MI300X_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/kernel/MI300X_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 def test_analyze_kernel_MI100(): with pytest.raises(SystemExit) as e: with patch( - "sys.argv", ["omniperf", "analyze", "--path", "tests/workloads/kernel/MI100"] + "sys.argv", + ["rocprof-compute", "analyze", "--path", "tests/workloads/kernel/MI100"], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -360,18 +494,24 @@ def test_analyze_kernel_MI300A_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/kernel/MI300A_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/kernel/MI300A_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 def test_analyze_kernel_MI200(): with pytest.raises(SystemExit) as e: with patch( - "sys.argv", ["omniperf", "analyze", "--path", "tests/workloads/kernel/MI200"] + "sys.argv", + ["rocprof-compute", "analyze", "--path", "tests/workloads/kernel/MI200"], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -379,9 +519,14 @@ def test_analyze_kernel_substr_MI300X_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/kernel_substr/MI300X_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/kernel_substr/MI300X_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -389,9 +534,14 @@ def test_analyze_kernel_substr_MI100(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/kernel_substr/MI100"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/kernel_substr/MI100", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -399,9 +549,14 @@ def test_analyze_kernel_substr_MI300A_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/kernel_substr/MI300A_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/kernel_substr/MI300A_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -409,9 +564,14 @@ def test_analyze_kernel_substr_MI200(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/kernel_substr/MI200"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/kernel_substr/MI200", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -419,9 +579,14 @@ def test_analyze_dispatch_7_MI300X_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/dispatch_7/MI300X_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/dispatch_7/MI300X_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -429,9 +594,14 @@ def test_analyze_dispatch_7_MI100(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/dispatch_7/MI100"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/dispatch_7/MI100", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 1 @@ -439,9 +609,14 @@ def test_analyze_dispatch_7_MI300A_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/dispatch_7/MI300A_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/dispatch_7/MI300A_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -449,9 +624,14 @@ def test_analyze_dispatch_7_MI200(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/dispatch_7/MI200"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/dispatch_7/MI200", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 1 @@ -459,9 +639,14 @@ def test_analyze_kernel_inv_int_MI300X_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/kernel_inv_int/MI300X_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/kernel_inv_int/MI300X_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -469,9 +654,14 @@ def test_analyze_kernel_inv_int_MI100(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/kernel_inv_int/MI100"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/kernel_inv_int/MI100", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 1 @@ -479,9 +669,14 @@ def test_analyze_kernel_inv_int_MI300A_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/kernel_inv_int/MI300A_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/kernel_inv_int/MI300A_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -489,9 +684,14 @@ def test_analyze_kernel_inv_int_MI200(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/kernel_inv_int/MI200"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/kernel_inv_int/MI200", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 1 @@ -499,9 +699,14 @@ def test_analyze_mem_levels_vL1D_MI200(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/mem_levels_vL1D/MI200"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/mem_levels_vL1D/MI200", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -509,9 +714,14 @@ def test_analyze_sort_kernels_MI200(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/sort_kernels/MI200"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/sort_kernels/MI200", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -519,9 +729,14 @@ def test_analyze_kernel_inv_str_MI300X_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/kernel_inv_str/MI300X_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/kernel_inv_str/MI300X_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -529,9 +744,14 @@ def test_analyze_kernel_inv_str_MI100(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/kernel_inv_str/MI100"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/kernel_inv_str/MI100", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 1 @@ -539,9 +759,14 @@ def test_analyze_kernel_inv_str_MI300A_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/kernel_inv_str/MI300A_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/kernel_inv_str/MI300A_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -549,9 +774,14 @@ def test_analyze_kernel_inv_str_MI200(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/kernel_inv_str/MI200"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/kernel_inv_str/MI200", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 1 @@ -560,13 +790,13 @@ def test_analyze_ipblocks_SQ_SPI_MI300X_A1(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", "tests/workloads/ipblocks_SQ_SPI/MI300X_A1", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -574,9 +804,14 @@ def test_analyze_ipblocks_SQ_SPI_MI100(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_SQ_SPI/MI100"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_SQ_SPI/MI100", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -585,13 +820,13 @@ def test_analyze_ipblocks_SQ_SPI_MI300A_A1(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", "tests/workloads/ipblocks_SQ_SPI/MI300A_A1", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -599,9 +834,14 @@ def test_analyze_ipblocks_SQ_SPI_MI200(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_SQ_SPI/MI200"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_SQ_SPI/MI200", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -609,9 +849,14 @@ def test_analyze_dispatch_2_MI300X_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/dispatch_2/MI300X_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/dispatch_2/MI300X_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -619,9 +864,14 @@ def test_analyze_dispatch_2_MI100(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/dispatch_2/MI100"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/dispatch_2/MI100", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -629,9 +879,14 @@ def test_analyze_dispatch_2_MI300A_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/dispatch_2/MI300A_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/dispatch_2/MI300A_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -639,9 +894,14 @@ def test_analyze_dispatch_2_MI200(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/dispatch_2/MI200"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/dispatch_2/MI200", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -649,9 +909,14 @@ def test_analyze_dispatch_0_1_MI300X_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/dispatch_0_1/MI300X_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/dispatch_0_1/MI300X_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -659,9 +924,14 @@ def test_analyze_dispatch_0_1_MI100(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/dispatch_0_1/MI100"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/dispatch_0_1/MI100", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -669,9 +939,14 @@ def test_analyze_dispatch_0_1_MI300A_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/dispatch_0_1/MI300A_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/dispatch_0_1/MI300A_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -679,9 +954,14 @@ def test_analyze_dispatch_0_1_MI200(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/dispatch_0_1/MI200"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/dispatch_0_1/MI200", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -689,9 +969,14 @@ def test_analyze_mem_levels_LDS_MI200(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/mem_levels_LDS/MI200"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/mem_levels_LDS/MI200", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -699,9 +984,14 @@ def test_analyze_ipblocks_TA_MI300X_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_TA/MI300X_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_TA/MI300X_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -709,9 +999,14 @@ def test_analyze_ipblocks_TA_MI100(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_TA/MI100"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_TA/MI100", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -719,9 +1014,14 @@ def test_analyze_ipblocks_TA_MI300A_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_TA/MI300A_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_TA/MI300A_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -729,9 +1029,14 @@ def test_analyze_ipblocks_TA_MI200(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_TA/MI200"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_TA/MI200", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -739,9 +1044,14 @@ def test_analyze_dispatch_6_8_MI300X_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/dispatch_6_8/MI300X_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/dispatch_6_8/MI300X_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -749,9 +1059,14 @@ def test_analyze_dispatch_6_8_MI100(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/dispatch_6_8/MI100"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/dispatch_6_8/MI100", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 1 @@ -759,9 +1074,14 @@ def test_analyze_dispatch_6_8_MI300A_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/dispatch_6_8/MI300A_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/dispatch_6_8/MI300A_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -769,9 +1089,14 @@ def test_analyze_dispatch_6_8_MI200(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/dispatch_6_8/MI200"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/dispatch_6_8/MI200", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 1 @@ -779,9 +1104,14 @@ def test_analyze_device_inv_int_MI300X_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/device_inv_int/MI300X_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/device_inv_int/MI300X_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -789,9 +1119,14 @@ def test_analyze_device_inv_int_MI100(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/device_inv_int/MI100"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/device_inv_int/MI100", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -799,9 +1134,14 @@ def test_analyze_device_inv_int_MI300A_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/device_inv_int/MI300A_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/device_inv_int/MI300A_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -809,9 +1149,14 @@ def test_analyze_device_inv_int_MI200(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/device_inv_int/MI200"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/device_inv_int/MI200", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -819,9 +1164,14 @@ def test_analyze_ipblocks_SQ_TA_MI300X_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_SQ_TA/MI300X_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_SQ_TA/MI300X_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -829,9 +1179,14 @@ def test_analyze_ipblocks_SQ_TA_MI100(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_SQ_TA/MI100"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_SQ_TA/MI100", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -839,9 +1194,14 @@ def test_analyze_ipblocks_SQ_TA_MI300A_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_SQ_TA/MI300A_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_SQ_TA/MI300A_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -849,9 +1209,14 @@ def test_analyze_ipblocks_SQ_TA_MI200(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_SQ_TA/MI200"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_SQ_TA/MI200", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -859,9 +1224,14 @@ def test_analyze_ipblocks_TD_MI300X_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_TD/MI300X_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_TD/MI300X_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -869,9 +1239,14 @@ def test_analyze_ipblocks_TD_MI100(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_TD/MI100"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_TD/MI100", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -879,9 +1254,14 @@ def test_analyze_ipblocks_TD_MI300A_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_TD/MI300A_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_TD/MI300A_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -889,9 +1269,14 @@ def test_analyze_ipblocks_TD_MI200(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_TD/MI200"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_TD/MI200", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -899,9 +1284,14 @@ def test_analyze_device_filter_MI300X_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/device_filter/MI300X_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/device_filter/MI300X_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -909,9 +1299,14 @@ def test_analyze_device_filter_MI100(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/device_filter/MI100"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/device_filter/MI100", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -919,9 +1314,14 @@ def test_analyze_device_filter_MI300A_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/device_filter/MI300A_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/device_filter/MI300A_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -929,9 +1329,14 @@ def test_analyze_device_filter_MI200(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/device_filter/MI200"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/device_filter/MI200", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -940,13 +1345,13 @@ def test_analyze_join_type_kernel_MI300X_A1(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", "tests/workloads/join_type_kernel/MI300X_A1", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -954,9 +1359,14 @@ def test_analyze_join_type_kernel_MI100(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/join_type_kernel/MI100"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/join_type_kernel/MI100", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -965,13 +1375,13 @@ def test_analyze_join_type_kernel_MI300A_A1(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", "tests/workloads/join_type_kernel/MI300A_A1", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -979,9 +1389,14 @@ def test_analyze_join_type_kernel_MI200(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/join_type_kernel/MI200"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/join_type_kernel/MI200", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -990,13 +1405,13 @@ def test_analyze_ipblocks_SQ_SQC_TCP_CPC_MI300X_A1(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", "tests/workloads/ipblocks_SQ_SQC_TCP_CPC/MI300X_A1", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -1005,13 +1420,13 @@ def test_analyze_ipblocks_SQ_SQC_TCP_CPC_MI100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", "tests/workloads/ipblocks_SQ_SQC_TCP_CPC/MI100", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -1020,13 +1435,13 @@ def test_analyze_ipblocks_SQ_SQC_TCP_CPC_MI300A_A1(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", "tests/workloads/ipblocks_SQ_SQC_TCP_CPC/MI300A_A1", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -1035,13 +1450,13 @@ def test_analyze_ipblocks_SQ_SQC_TCP_CPC_MI200(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", "tests/workloads/ipblocks_SQ_SQC_TCP_CPC/MI200", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -1050,13 +1465,13 @@ def test_analyze_mem_levels_L2_vL1d_LDS_MI200(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", "tests/workloads/mem_levels_L2_vL1d_LDS/MI200", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -1064,9 +1479,14 @@ def test_analyze_ipblocks_CPF_MI300X_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_CPF/MI300X_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_CPF/MI300X_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -1074,9 +1494,14 @@ def test_analyze_ipblocks_CPF_MI100(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_CPF/MI100"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_CPF/MI100", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -1084,9 +1509,14 @@ def test_analyze_ipblocks_CPF_MI300A_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_CPF/MI300A_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_CPF/MI300A_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -1094,9 +1524,14 @@ def test_analyze_ipblocks_CPF_MI200(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_CPF/MI200"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_CPF/MI200", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -1104,9 +1539,14 @@ def test_analyze_sort_dispatches_MI200(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/sort_dispatches/MI200"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/sort_dispatches/MI200", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -1114,9 +1554,14 @@ def test_analyze_kernel_names_MI200(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/kernel_names/MI200"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/kernel_names/MI200", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -1125,13 +1570,13 @@ def test_analyze_mem_levels_vL1d_LDS_MI200(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", "tests/workloads/mem_levels_vL1d_LDS/MI200", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -1139,9 +1584,14 @@ def test_analyze_ipblocks_SQ_MI300X_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_SQ/MI300X_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_SQ/MI300X_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -1149,9 +1599,14 @@ def test_analyze_ipblocks_SQ_MI100(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_SQ/MI100"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_SQ/MI100", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -1159,9 +1614,14 @@ def test_analyze_ipblocks_SQ_MI300A_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_SQ/MI300A_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_SQ/MI300A_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -1169,9 +1629,14 @@ def test_analyze_ipblocks_SQ_MI200(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_SQ/MI200"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_SQ/MI200", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -1179,9 +1644,14 @@ def test_analyze_mem_levels_L2_MI200(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/mem_levels_L2/MI200"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/mem_levels_L2/MI200", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -1189,9 +1659,14 @@ def test_analyze_dispatch_inv_MI300X_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/dispatch_inv/MI300X_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/dispatch_inv/MI300X_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -1199,9 +1674,14 @@ def test_analyze_dispatch_inv_MI100(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/dispatch_inv/MI100"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/dispatch_inv/MI100", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -1209,9 +1689,14 @@ def test_analyze_dispatch_inv_MI300A_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/dispatch_inv/MI300A_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/dispatch_inv/MI300A_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -1219,9 +1704,14 @@ def test_analyze_dispatch_inv_MI200(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/dispatch_inv/MI200"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/dispatch_inv/MI200", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -1229,18 +1719,19 @@ def test_analyze_path_MI300X_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/path/MI300X_A1"], + ["rocprof-compute", "analyze", "--path", "tests/workloads/path/MI300X_A1"], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 def test_analyze_path_MI100(): with pytest.raises(SystemExit) as e: with patch( - "sys.argv", ["omniperf", "analyze", "--path", "tests/workloads/path/MI100"] + "sys.argv", + ["rocprof-compute", "analyze", "--path", "tests/workloads/path/MI100"], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -1248,18 +1739,19 @@ def test_analyze_path_MI300A_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/path/MI300A_A1"], + ["rocprof-compute", "analyze", "--path", "tests/workloads/path/MI300A_A1"], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 def test_analyze_path_MI200(): with pytest.raises(SystemExit) as e: with patch( - "sys.argv", ["omniperf", "analyze", "--path", "tests/workloads/path/MI200"] + "sys.argv", + ["rocprof-compute", "analyze", "--path", "tests/workloads/path/MI200"], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -1267,9 +1759,14 @@ def test_analyze_ipblocks_CPC_MI300X_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_CPC/MI300X_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_CPC/MI300X_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -1277,9 +1774,14 @@ def test_analyze_ipblocks_CPC_MI100(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_CPC/MI100"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_CPC/MI100", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -1287,9 +1789,14 @@ def test_analyze_ipblocks_CPC_MI300A_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_CPC/MI300A_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_CPC/MI300A_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -1297,9 +1804,14 @@ def test_analyze_ipblocks_CPC_MI200(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_CPC/MI200"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_CPC/MI200", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -1308,13 +1820,13 @@ def test_analyze_ipblocks_SQ_SPI_TA_TCC_CPF_MI300X_A1(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", "tests/workloads/ipblocks_SQ_SPI_TA_TCC_CPF/MI300X_A1", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -1323,13 +1835,13 @@ def test_analyze_ipblocks_SQ_SPI_TA_TCC_CPF_MI100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", "tests/workloads/ipblocks_SQ_SPI_TA_TCC_CPF/MI100", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -1338,13 +1850,13 @@ def test_analyze_ipblocks_SQ_SPI_TA_TCC_CPF_MI300A_A1(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", "tests/workloads/ipblocks_SQ_SPI_TA_TCC_CPF/MI300A_A1", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -1353,13 +1865,13 @@ def test_analyze_ipblocks_SQ_SPI_TA_TCC_CPF_MI200(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "analyze", "--path", "tests/workloads/ipblocks_SQ_SPI_TA_TCC_CPF/MI200", ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -1367,9 +1879,14 @@ def test_analyze_mem_levels_HBM_MI200(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/mem_levels_HBM/MI200"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/mem_levels_HBM/MI200", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -1377,9 +1894,14 @@ def test_analyze_ipblocks_SPI_MI300X_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_SPI/MI300X_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_SPI/MI300X_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -1387,9 +1909,14 @@ def test_analyze_ipblocks_SPI_MI100(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_SPI/MI100"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_SPI/MI100", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -1397,9 +1924,14 @@ def test_analyze_ipblocks_SPI_MI300A_A1(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_SPI/MI300A_A1"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_SPI/MI300A_A1", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 @@ -1407,7 +1939,12 @@ def test_analyze_ipblocks_SPI_MI200(): with pytest.raises(SystemExit) as e: with patch( "sys.argv", - ["omniperf", "analyze", "--path", "tests/workloads/ipblocks_SPI/MI200"], + [ + "rocprof-compute", + "analyze", + "--path", + "tests/workloads/ipblocks_SPI/MI200", + ], ): - omniperf.main() + rocprof_compute.main() assert e.value.code == 0 diff --git a/tests/test_import_workloads.py b/tests/test_import_workloads.py index 7b169f8a9..32828071b 100644 --- a/tests/test_import_workloads.py +++ b/tests/test_import_workloads.py @@ -2,7 +2,7 @@ from unittest.mock import patch from importlib.machinery import SourceFileLoader -omniperf = SourceFileLoader("omniperf", "src/omniperf").load_module() +rocprof_compute = SourceFileLoader("rocprof-compute", "src/rocprof-compute").load_module() ################################################## ## Generated tests ## @@ -13,7 +13,7 @@ def test_import_D_str_inv1_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -28,14 +28,14 @@ def test_import_D_str_inv1_mi100(): "tests/workloads/D_str_inv1/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_D_str_inv1_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -50,14 +50,14 @@ def test_D_str_inv1_mi100(): "tests/workloads/D_str_inv1/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_dev01p3_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -72,14 +72,14 @@ def test_import_dev01p3_mi100(): "tests/workloads/dev01p3/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_SQC_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -94,14 +94,14 @@ def test_import_SQC_mi100(): "tests/workloads/SQC/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_SQC_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -116,14 +116,14 @@ def test_SQC_mi100(): "tests/workloads/SQC/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_Axes2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -138,14 +138,14 @@ def test_import_Axes2_mi100(): "tests/workloads/Axes2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_Axes2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -160,14 +160,14 @@ def test_Axes2_mi100(): "tests/workloads/Axes2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_SQ_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -182,14 +182,14 @@ def test_import_no_roof_SQ_mi100(): "tests/workloads/no_roof_SQ/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_no_roof_SQ_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -204,14 +204,14 @@ def test_no_roof_SQ_mi100(): "tests/workloads/no_roof_SQ/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_CPF_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -226,14 +226,14 @@ def test_import_CPF_mi100(): "tests/workloads/CPF/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_CPF_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -248,14 +248,14 @@ def test_CPF_mi100(): "tests/workloads/CPF/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_LDS_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -270,14 +270,14 @@ def test_import_no_roof_LDS_mi100(): "tests/workloads/no_roof_LDS/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_no_roof_LDS_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -292,14 +292,14 @@ def test_no_roof_LDS_mi100(): "tests/workloads/no_roof_LDS/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_D_str_inv4_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -314,14 +314,14 @@ def test_import_D_str_inv4_mi100(): "tests/workloads/D_str_inv4/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_D_str_inv4_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -336,14 +336,14 @@ def test_D_str_inv4_mi100(): "tests/workloads/D_str_inv4/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_roof_only_K_int_inv2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -358,14 +358,14 @@ def test_roof_only_K_int_inv2_mi100(): "tests/workloads/roof_only_K_int_inv2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_SPI_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -380,14 +380,14 @@ def test_import_no_roof_SPI_mi100(): "tests/workloads/no_roof_SPI/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_no_roof_SPI_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -402,14 +402,14 @@ def test_no_roof_SPI_mi100(): "tests/workloads/no_roof_SPI/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_K_str_valid_2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -424,14 +424,14 @@ def test_import_no_roof_K_str_valid_2_mi100(): "tests/workloads/no_roof_K_str_valid_2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_no_roof_K_str_valid_2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -446,14 +446,14 @@ def test_no_roof_K_str_valid_2_mi100(): "tests/workloads/no_roof_K_str_valid_2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_mixbench1_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -468,14 +468,14 @@ def test_import_no_roof_mixbench1_mi100(): "tests/workloads/no_roof_mixbench1/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_no_roof_mixbench1_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -490,14 +490,14 @@ def test_no_roof_mixbench1_mi100(): "tests/workloads/no_roof_mixbench1/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_TA_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -512,14 +512,14 @@ def test_import_no_roof_TA_mi100(): "tests/workloads/no_roof_TA/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_no_roof_TA_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -534,14 +534,14 @@ def test_no_roof_TA_mi100(): "tests/workloads/no_roof_TA/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_CPF_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -556,14 +556,14 @@ def test_import_no_roof_CPF_mi100(): "tests/workloads/no_roof_CPF/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_no_roof_CPF_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -578,14 +578,14 @@ def test_no_roof_CPF_mi100(): "tests/workloads/no_roof_CPF/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_CPC_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -600,14 +600,14 @@ def test_import_no_roof_CPC_mi100(): "tests/workloads/no_roof_CPC/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_no_roof_CPC_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -622,14 +622,14 @@ def test_no_roof_CPC_mi100(): "tests/workloads/no_roof_CPC/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_K_str_inv3_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -644,14 +644,14 @@ def test_import_K_str_inv3_mi100(): "tests/workloads/K_str_inv3/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_K_str_inv3_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -666,14 +666,14 @@ def test_K_str_inv3_mi100(): "tests/workloads/K_str_inv3/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_LDS_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -688,14 +688,14 @@ def test_import_LDS_mi100(): "tests/workloads/LDS/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_LDS_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -710,14 +710,14 @@ def test_LDS_mi100(): "tests/workloads/LDS/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_K_str_valid_3_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -732,14 +732,14 @@ def test_import_no_roof_K_str_valid_3_mi100(): "tests/workloads/no_roof_K_str_valid_3/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_roof_only_D_int_inv2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -754,14 +754,14 @@ def test_roof_only_D_int_inv2_mi100(): "tests/workloads/roof_only_D_int_inv2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_roof_only_K_str_inv1_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -776,14 +776,14 @@ def test_roof_only_K_str_inv1_mi100(): "tests/workloads/roof_only_K_str_inv1/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_roof_only_SQC_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -798,14 +798,14 @@ def test_roof_only_SQC_mi100(): "tests/workloads/roof_only_SQC/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_Axes2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -820,14 +820,14 @@ def test_import_no_roof_Axes2_mi100(): "tests/workloads/no_roof_Axes2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_no_roof_Axes2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -842,14 +842,14 @@ def test_no_roof_Axes2_mi100(): "tests/workloads/no_roof_Axes2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_HBM_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -864,14 +864,14 @@ def test_import_HBM_mi100(): "tests/workloads/HBM/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_HBM_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -886,14 +886,14 @@ def test_HBM_mi100(): "tests/workloads/HBM/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_roof_only_TA_CPC_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -908,14 +908,14 @@ def test_roof_only_TA_CPC_mi100(): "tests/workloads/roof_only_TA_CPC/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_roof_only_D_val_int_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -930,14 +930,14 @@ def test_roof_only_D_val_int_mi100(): "tests/workloads/roof_only_D_val_int/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_L2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -952,14 +952,14 @@ def test_import_no_roof_L2_mi100(): "tests/workloads/no_roof_L2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_no_roof_L2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -974,14 +974,14 @@ def test_no_roof_L2_mi100(): "tests/workloads/no_roof_L2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_L2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -996,14 +996,14 @@ def test_import_L2_mi100(): "tests/workloads/L2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_L2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1018,14 +1018,14 @@ def test_L2_mi100(): "tests/workloads/L2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_dev1_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1040,14 +1040,14 @@ def test_import_no_roof_dev1_mi100(): "tests/workloads/no_roof_dev1/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_no_roof_dev1_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1062,14 +1062,14 @@ def test_no_roof_dev1_mi100(): "tests/workloads/no_roof_dev1/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_roof_only_K_str_inv3_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1084,14 +1084,14 @@ def test_roof_only_K_str_inv3_mi100(): "tests/workloads/roof_only_K_str_inv3/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_roof_only_K_str_valid_1_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1106,14 +1106,14 @@ def test_roof_only_K_str_valid_1_mi100(): "tests/workloads/roof_only_K_str_valid_1/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_roof_only_CPC_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1128,14 +1128,14 @@ def test_roof_only_CPC_mi100(): "tests/workloads/roof_only_CPC/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_Axes3_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1150,14 +1150,14 @@ def test_import_no_roof_Axes3_mi100(): "tests/workloads/no_roof_Axes3/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_no_roof_Axes3_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1172,14 +1172,14 @@ def test_no_roof_Axes3_mi100(): "tests/workloads/no_roof_Axes3/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_D_str_inv3_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1194,14 +1194,14 @@ def test_import_no_roof_D_str_inv3_mi100(): "tests/workloads/no_roof_D_str_inv3/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_no_roof_D_str_inv3_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1216,14 +1216,14 @@ def test_no_roof_D_str_inv3_mi100(): "tests/workloads/no_roof_D_str_inv3/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_D_int_inv2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1238,14 +1238,14 @@ def test_import_no_roof_D_int_inv2_mi100(): "tests/workloads/no_roof_D_int_inv2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_no_roof_D_int_inv2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1260,14 +1260,14 @@ def test_no_roof_D_int_inv2_mi100(): "tests/workloads/no_roof_D_int_inv2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_TD_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1282,14 +1282,14 @@ def test_import_TD_mi100(): "tests/workloads/TD/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_TD_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1304,14 +1304,14 @@ def test_TD_mi100(): "tests/workloads/TD/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_roof_only_D_int_inv1_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1326,14 +1326,14 @@ def test_roof_only_D_int_inv1_mi100(): "tests/workloads/roof_only_D_int_inv1/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_D_val_int2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1348,14 +1348,14 @@ def test_import_D_val_int2_mi100(): "tests/workloads/D_val_int2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_D_val_int2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1370,14 +1370,14 @@ def test_D_val_int2_mi100(): "tests/workloads/D_val_int2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_mixbench2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1392,14 +1392,14 @@ def test_import_no_roof_mixbench2_mi100(): "tests/workloads/no_roof_mixbench2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_no_roof_mixbench2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1414,14 +1414,14 @@ def test_no_roof_mixbench2_mi100(): "tests/workloads/no_roof_mixbench2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_roof_only_SPI_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1436,14 +1436,14 @@ def test_roof_only_SPI_mi100(): "tests/workloads/roof_only_SPI/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_D_val_int2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1458,14 +1458,14 @@ def test_import_no_roof_D_val_int2_mi100(): "tests/workloads/no_roof_D_val_int2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_no_roof_D_val_int2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1480,14 +1480,14 @@ def test_no_roof_D_val_int2_mi100(): "tests/workloads/no_roof_D_val_int2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_K_str_inv1_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1502,14 +1502,14 @@ def test_import_K_str_inv1_mi100(): "tests/workloads/K_str_inv1/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_K_str_inv1_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1524,14 +1524,14 @@ def test_K_str_inv1_mi100(): "tests/workloads/K_str_inv1/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_roof_only_TA_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1546,14 +1546,14 @@ def test_roof_only_TA_mi100(): "tests/workloads/roof_only_TA/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_K_str_valid_3_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1568,14 +1568,14 @@ def test_import_K_str_valid_3_mi100(): "tests/workloads/K_str_valid_3/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_SQ_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1590,14 +1590,14 @@ def test_import_SQ_mi100(): "tests/workloads/SQ/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_SQ_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1612,14 +1612,14 @@ def test_SQ_mi100(): "tests/workloads/SQ/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_D_str_inv1_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1634,14 +1634,14 @@ def test_import_no_roof_D_str_inv1_mi100(): "tests/workloads/no_roof_D_str_inv1/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_no_roof_D_str_inv1_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1656,14 +1656,14 @@ def test_no_roof_D_str_inv1_mi100(): "tests/workloads/no_roof_D_str_inv1/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_dev01p3_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1678,14 +1678,14 @@ def test_import_no_roof_dev01p3_mi100(): "tests/workloads/no_roof_dev01p3/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_roof_only_D_val_int2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1700,14 +1700,14 @@ def test_roof_only_D_val_int2_mi100(): "tests/workloads/roof_only_D_val_int2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_D_str_inv4_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1722,14 +1722,14 @@ def test_import_no_roof_D_str_inv4_mi100(): "tests/workloads/no_roof_D_str_inv4/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_no_roof_D_str_inv4_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1744,14 +1744,14 @@ def test_no_roof_D_str_inv4_mi100(): "tests/workloads/no_roof_D_str_inv4/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_roof_only_CPF_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1766,14 +1766,14 @@ def test_roof_only_CPF_mi100(): "tests/workloads/roof_only_CPF/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_mixbench_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1788,14 +1788,14 @@ def test_import_mixbench_mi100(): "tests/workloads/mixbench/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_mixbench_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1810,14 +1810,14 @@ def test_mixbench_mi100(): "tests/workloads/mixbench/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_roof_only_D_str_inv4_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1832,14 +1832,14 @@ def test_roof_only_D_str_inv4_mi100(): "tests/workloads/roof_only_D_str_inv4/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_kernels_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1854,14 +1854,14 @@ def test_import_no_roof_kernels_mi100(): "tests/workloads/no_roof_kernels/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_no_roof_kernels_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1876,14 +1876,14 @@ def test_no_roof_kernels_mi100(): "tests/workloads/no_roof_kernels/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_roof_only_TCC_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1898,14 +1898,14 @@ def test_roof_only_TCC_mi100(): "tests/workloads/roof_only_TCC/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_TA_CPC_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1920,14 +1920,14 @@ def test_import_TA_CPC_mi100(): "tests/workloads/TA_CPC/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_TA_CPC_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1942,14 +1942,14 @@ def test_TA_CPC_mi100(): "tests/workloads/TA_CPC/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_roof_only_SQ_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1964,14 +1964,14 @@ def test_roof_only_SQ_mi100(): "tests/workloads/roof_only_SQ/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_K_int_inv2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -1986,14 +1986,14 @@ def test_import_K_int_inv2_mi100(): "tests/workloads/K_int_inv2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_K_int_inv2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2008,14 +2008,14 @@ def test_K_int_inv2_mi100(): "tests/workloads/K_int_inv2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_roof_only_TCP_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2030,14 +2030,14 @@ def test_roof_only_TCP_mi100(): "tests/workloads/roof_only_TCP/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_roof_only_K_str_valid_2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2052,14 +2052,14 @@ def test_roof_only_K_str_valid_2_mi100(): "tests/workloads/roof_only_K_str_valid_2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_D_int_inv2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2074,14 +2074,14 @@ def test_import_D_int_inv2_mi100(): "tests/workloads/D_int_inv2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_D_int_inv2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2096,14 +2096,14 @@ def test_D_int_inv2_mi100(): "tests/workloads/D_int_inv2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_roof_only_Axes3_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2118,14 +2118,14 @@ def test_roof_only_Axes3_mi100(): "tests/workloads/roof_only_Axes3/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_dev0_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2140,14 +2140,14 @@ def test_import_dev0_mi100(): "tests/workloads/dev0/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_dev0_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2162,14 +2162,14 @@ def test_dev0_mi100(): "tests/workloads/dev0/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_roof_only_K_str_inv2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2184,14 +2184,14 @@ def test_roof_only_K_str_inv2_mi100(): "tests/workloads/roof_only_K_str_inv2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_Axes1_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2206,14 +2206,14 @@ def test_import_Axes1_mi100(): "tests/workloads/Axes1/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_Axes1_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2228,14 +2228,14 @@ def test_Axes1_mi100(): "tests/workloads/Axes1/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_roof_only_HBM_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2250,14 +2250,14 @@ def test_roof_only_HBM_mi100(): "tests/workloads/roof_only_HBM/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_D_val_int_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2272,14 +2272,14 @@ def test_import_D_val_int_mi100(): "tests/workloads/D_val_int/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_D_val_int_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2294,14 +2294,14 @@ def test_D_val_int_mi100(): "tests/workloads/D_val_int/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_TCC_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2316,14 +2316,14 @@ def test_import_no_roof_TCC_mi100(): "tests/workloads/no_roof_TCC/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_no_roof_TCC_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2338,14 +2338,14 @@ def test_no_roof_TCC_mi100(): "tests/workloads/no_roof_TCC/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_SQC_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2360,14 +2360,14 @@ def test_import_no_roof_SQC_mi100(): "tests/workloads/no_roof_SQC/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_no_roof_SQC_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2382,14 +2382,14 @@ def test_no_roof_SQC_mi100(): "tests/workloads/no_roof_SQC/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_roof_only_TD_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2404,14 +2404,14 @@ def test_roof_only_TD_mi100(): "tests/workloads/roof_only_TD/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_K_int_inv1_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2426,14 +2426,14 @@ def test_import_no_roof_K_int_inv1_mi100(): "tests/workloads/no_roof_K_int_inv1/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_no_roof_K_int_inv1_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2448,14 +2448,14 @@ def test_no_roof_K_int_inv1_mi100(): "tests/workloads/no_roof_K_int_inv1/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_Axes1_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2470,14 +2470,14 @@ def test_import_no_roof_Axes1_mi100(): "tests/workloads/no_roof_Axes1/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_no_roof_Axes1_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2492,14 +2492,14 @@ def test_no_roof_Axes1_mi100(): "tests/workloads/no_roof_Axes1/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_SPI_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2514,14 +2514,14 @@ def test_import_SPI_mi100(): "tests/workloads/SPI/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_SPI_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2536,14 +2536,14 @@ def test_SPI_mi100(): "tests/workloads/SPI/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_roof_only_D_str_inv3_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2558,14 +2558,14 @@ def test_roof_only_D_str_inv3_mi100(): "tests/workloads/roof_only_D_str_inv3/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_D_val_int_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2580,14 +2580,14 @@ def test_import_no_roof_D_val_int_mi100(): "tests/workloads/no_roof_D_val_int/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_no_roof_D_val_int_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2602,14 +2602,14 @@ def test_no_roof_D_val_int_mi100(): "tests/workloads/no_roof_D_val_int/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_K_str_inv2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2624,14 +2624,14 @@ def test_import_K_str_inv2_mi100(): "tests/workloads/K_str_inv2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_K_str_inv2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2646,14 +2646,14 @@ def test_K_str_inv2_mi100(): "tests/workloads/K_str_inv2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_CPC_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2668,14 +2668,14 @@ def test_import_CPC_mi100(): "tests/workloads/CPC/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_CPC_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2690,14 +2690,14 @@ def test_CPC_mi100(): "tests/workloads/CPC/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_roof_only_dispatches_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2712,14 +2712,14 @@ def test_roof_only_dispatches_mi100(): "tests/workloads/roof_only_dispatches/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_roof_only_mixbench2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2734,14 +2734,14 @@ def test_roof_only_mixbench2_mi100(): "tests/workloads/roof_only_mixbench2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_Axes4_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2756,14 +2756,14 @@ def test_import_Axes4_mi100(): "tests/workloads/Axes4/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_Axes4_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2778,14 +2778,14 @@ def test_Axes4_mi100(): "tests/workloads/Axes4/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_TCP_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2800,14 +2800,14 @@ def test_import_no_roof_TCP_mi100(): "tests/workloads/no_roof_TCP/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_no_roof_TCP_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2822,14 +2822,14 @@ def test_no_roof_TCP_mi100(): "tests/workloads/no_roof_TCP/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_roof_only_LDS_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2844,14 +2844,14 @@ def test_roof_only_LDS_mi100(): "tests/workloads/roof_only_LDS/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_invdev_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2866,14 +2866,14 @@ def test_import_invdev_mi100(): "tests/workloads/invdev/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_invdev_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2888,14 +2888,14 @@ def test_invdev_mi100(): "tests/workloads/invdev/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_dev0_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2910,14 +2910,14 @@ def test_import_no_roof_dev0_mi100(): "tests/workloads/no_roof_dev0/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_no_roof_dev0_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2932,14 +2932,14 @@ def test_no_roof_dev0_mi100(): "tests/workloads/no_roof_dev0/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_roof_only_Axes1_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2954,14 +2954,14 @@ def test_roof_only_Axes1_mi100(): "tests/workloads/roof_only_Axes1/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_roof_only_invdev_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2976,14 +2976,14 @@ def test_roof_only_invdev_mi100(): "tests/workloads/roof_only_invdev/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_roof_only_D_str_inv2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -2998,14 +2998,14 @@ def test_roof_only_D_str_inv2_mi100(): "tests/workloads/roof_only_D_str_inv2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_K_str_inv3_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3020,14 +3020,14 @@ def test_import_no_roof_K_str_inv3_mi100(): "tests/workloads/no_roof_K_str_inv3/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_no_roof_K_str_inv3_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3042,14 +3042,14 @@ def test_no_roof_K_str_inv3_mi100(): "tests/workloads/no_roof_K_str_inv3/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_K_str_inv2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3064,14 +3064,14 @@ def test_import_no_roof_K_str_inv2_mi100(): "tests/workloads/no_roof_K_str_inv2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_no_roof_K_str_inv2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3086,14 +3086,14 @@ def test_no_roof_K_str_inv2_mi100(): "tests/workloads/no_roof_K_str_inv2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_D_str_inv2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3108,14 +3108,14 @@ def test_import_D_str_inv2_mi100(): "tests/workloads/D_str_inv2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_D_str_inv2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3130,14 +3130,14 @@ def test_D_str_inv2_mi100(): "tests/workloads/D_str_inv2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_kernels_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3152,14 +3152,14 @@ def test_import_kernels_mi100(): "tests/workloads/kernels/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_kernels_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3174,14 +3174,14 @@ def test_kernels_mi100(): "tests/workloads/kernels/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_Axes4_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3196,14 +3196,14 @@ def test_import_no_roof_Axes4_mi100(): "tests/workloads/no_roof_Axes4/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_no_roof_Axes4_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3218,14 +3218,14 @@ def test_no_roof_Axes4_mi100(): "tests/workloads/no_roof_Axes4/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_CMD_INV_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3240,14 +3240,14 @@ def test_import_CMD_INV_mi100(): "tests/workloads/CMD_INV/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_K_int_inv1_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3262,14 +3262,14 @@ def test_import_K_int_inv1_mi100(): "tests/workloads/K_int_inv1/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_K_int_inv1_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3284,14 +3284,14 @@ def test_K_int_inv1_mi100(): "tests/workloads/K_int_inv1/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_mixbench2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3306,14 +3306,14 @@ def test_import_mixbench2_mi100(): "tests/workloads/mixbench2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_mixbench2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3328,14 +3328,14 @@ def test_mixbench2_mi100(): "tests/workloads/mixbench2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_roof_only_Double_N_flag_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3350,14 +3350,14 @@ def test_roof_only_Double_N_flag_mi100(): "tests/workloads/roof_only_Double_N_flag/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_TD_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3372,14 +3372,14 @@ def test_import_no_roof_TD_mi100(): "tests/workloads/no_roof_TD/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_no_roof_TD_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3394,14 +3394,14 @@ def test_no_roof_TD_mi100(): "tests/workloads/no_roof_TD/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_TCC_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3416,14 +3416,14 @@ def test_import_TCC_mi100(): "tests/workloads/TCC/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_TCC_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3438,14 +3438,14 @@ def test_TCC_mi100(): "tests/workloads/TCC/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_roof_only_dev0_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3460,14 +3460,14 @@ def test_roof_only_dev0_mi100(): "tests/workloads/roof_only_dev0/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_D_str_inv2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3482,14 +3482,14 @@ def test_import_no_roof_D_str_inv2_mi100(): "tests/workloads/no_roof_D_str_inv2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_no_roof_D_str_inv2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3504,14 +3504,14 @@ def test_no_roof_D_str_inv2_mi100(): "tests/workloads/no_roof_D_str_inv2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_roof_only_L2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3526,14 +3526,14 @@ def test_roof_only_L2_mi100(): "tests/workloads/roof_only_L2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_TA_CPC_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3548,14 +3548,14 @@ def test_import_no_roof_TA_CPC_mi100(): "tests/workloads/no_roof_TA_CPC/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_no_roof_TA_CPC_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3570,14 +3570,14 @@ def test_no_roof_TA_CPC_mi100(): "tests/workloads/no_roof_TA_CPC/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_Double_N_flag_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3592,14 +3592,14 @@ def test_import_no_roof_Double_N_flag_mi100(): "tests/workloads/no_roof_Double_N_flag/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_no_roof_Double_N_flag_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3614,14 +3614,14 @@ def test_no_roof_Double_N_flag_mi100(): "tests/workloads/no_roof_Double_N_flag/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_Double_N_flag_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3636,14 +3636,14 @@ def test_import_Double_N_flag_mi100(): "tests/workloads/Double_N_flag/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_Double_N_flag_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3658,14 +3658,14 @@ def test_Double_N_flag_mi100(): "tests/workloads/Double_N_flag/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_roof_only_K_int_inv1_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3680,14 +3680,14 @@ def test_roof_only_K_int_inv1_mi100(): "tests/workloads/roof_only_K_int_inv1/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_K_str_valid_1_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3702,14 +3702,14 @@ def test_import_no_roof_K_str_valid_1_mi100(): "tests/workloads/no_roof_K_str_valid_1/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_no_roof_K_str_valid_1_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3724,14 +3724,14 @@ def test_no_roof_K_str_valid_1_mi100(): "tests/workloads/no_roof_K_str_valid_1/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_roof_only_mixbench1_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3746,14 +3746,14 @@ def test_roof_only_mixbench1_mi100(): "tests/workloads/roof_only_mixbench1/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_dev1_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3768,14 +3768,14 @@ def test_import_dev1_mi100(): "tests/workloads/dev1/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_dev1_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3790,14 +3790,14 @@ def test_dev1_mi100(): "tests/workloads/dev1/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_K_str_inv1_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3812,14 +3812,14 @@ def test_import_no_roof_K_str_inv1_mi100(): "tests/workloads/no_roof_K_str_inv1/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_no_roof_K_str_inv1_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3834,14 +3834,14 @@ def test_no_roof_K_str_inv1_mi100(): "tests/workloads/no_roof_K_str_inv1/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_K_str_valid_1_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3856,14 +3856,14 @@ def test_import_K_str_valid_1_mi100(): "tests/workloads/K_str_valid_1/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_K_str_valid_1_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3878,14 +3878,14 @@ def test_K_str_valid_1_mi100(): "tests/workloads/K_str_valid_1/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_mixbench1_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3900,14 +3900,14 @@ def test_import_mixbench1_mi100(): "tests/workloads/mixbench1/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_mixbench1_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3922,14 +3922,14 @@ def test_mixbench1_mi100(): "tests/workloads/mixbench1/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_CMD_INV_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3944,14 +3944,14 @@ def test_import_no_roof_CMD_INV_mi100(): "tests/workloads/no_roof_CMD_INV/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_roof_only_D_str_inv1_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3966,14 +3966,14 @@ def test_roof_only_D_str_inv1_mi100(): "tests/workloads/roof_only_D_str_inv1/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_HBM_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -3988,14 +3988,14 @@ def test_import_no_roof_HBM_mi100(): "tests/workloads/no_roof_HBM/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_no_roof_HBM_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -4010,14 +4010,14 @@ def test_no_roof_HBM_mi100(): "tests/workloads/no_roof_HBM/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_roof_only_kernels_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -4032,14 +4032,14 @@ def test_roof_only_kernels_mi100(): "tests/workloads/roof_only_kernels/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_D_int_inv1_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -4054,14 +4054,14 @@ def test_import_D_int_inv1_mi100(): "tests/workloads/D_int_inv1/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_D_int_inv1_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -4076,14 +4076,14 @@ def test_D_int_inv1_mi100(): "tests/workloads/D_int_inv1/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_K_str_valid_2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -4098,14 +4098,14 @@ def test_import_K_str_valid_2_mi100(): "tests/workloads/K_str_valid_2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_K_str_valid_2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -4120,14 +4120,14 @@ def test_K_str_valid_2_mi100(): "tests/workloads/K_str_valid_2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_TCP_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -4142,14 +4142,14 @@ def test_import_TCP_mi100(): "tests/workloads/TCP/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_TCP_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -4164,14 +4164,14 @@ def test_TCP_mi100(): "tests/workloads/TCP/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_Axes3_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -4186,14 +4186,14 @@ def test_import_Axes3_mi100(): "tests/workloads/Axes3/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_Axes3_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -4208,14 +4208,14 @@ def test_Axes3_mi100(): "tests/workloads/Axes3/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_invdev_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -4230,14 +4230,14 @@ def test_import_no_roof_invdev_mi100(): "tests/workloads/no_roof_invdev/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_no_roof_invdev_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -4252,14 +4252,14 @@ def test_no_roof_invdev_mi100(): "tests/workloads/no_roof_invdev/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_dispatches_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -4274,14 +4274,14 @@ def test_import_no_roof_dispatches_mi100(): "tests/workloads/no_roof_dispatches/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_no_roof_dispatches_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -4296,14 +4296,14 @@ def test_no_roof_dispatches_mi100(): "tests/workloads/no_roof_dispatches/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_D_str_inv3_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -4318,14 +4318,14 @@ def test_import_D_str_inv3_mi100(): "tests/workloads/D_str_inv3/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_D_str_inv3_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -4340,14 +4340,14 @@ def test_D_str_inv3_mi100(): "tests/workloads/D_str_inv3/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_TA_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -4362,14 +4362,14 @@ def test_import_TA_mi100(): "tests/workloads/TA/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_TA_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -4384,14 +4384,14 @@ def test_TA_mi100(): "tests/workloads/TA/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_D_int_inv1_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -4406,14 +4406,14 @@ def test_import_no_roof_D_int_inv1_mi100(): "tests/workloads/no_roof_D_int_inv1/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_no_roof_D_int_inv1_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -4428,14 +4428,14 @@ def test_no_roof_D_int_inv1_mi100(): "tests/workloads/no_roof_D_int_inv1/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_dispatches_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -4450,14 +4450,14 @@ def test_import_dispatches_mi100(): "tests/workloads/dispatches/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_dispatches_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -4472,14 +4472,14 @@ def test_dispatches_mi100(): "tests/workloads/dispatches/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_roof_only_dev1_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -4494,14 +4494,14 @@ def test_roof_only_dev1_mi100(): "tests/workloads/roof_only_dev1/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_import_no_roof_K_int_inv2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -4516,14 +4516,14 @@ def test_import_no_roof_K_int_inv2_mi100(): "tests/workloads/no_roof_K_int_inv2/mi100", ], ): - omniperf.main() + rocprof_compute.main() def test_no_roof_K_int_inv2_mi100(): with patch( "sys.argv", [ - "omniperf", + "rocprof-compute", "database", "--import", "-H", @@ -4538,4 +4538,4 @@ def test_no_roof_K_int_inv2_mi100(): "tests/workloads/no_roof_K_int_inv2/mi100", ], ): - omniperf.main() + rocprof_compute.main() diff --git a/tests/test_profile_general.py b/tests/test_profile_general.py index 28b1e07b3..d6da91c0c 100644 --- a/tests/test_profile_general.py +++ b/tests/test_profile_general.py @@ -24,8 +24,8 @@ def check_arch_override(): - if "OMNIPERF_ARCH_OVERRIDE" in os.environ.keys(): - return os.environ["OMNIPERF_ARCH_OVERRIDE"] + if "ROCPROFCOMPUTE_ARCH_OVERRIDE" in os.environ.keys(): + return os.environ["ROCPROFCOMPUTE_ARCH_OVERRIDE"] return "" @@ -34,7 +34,9 @@ def check_arch_override(): # -- config = {} -config["omniperf"] = SourceFileLoader("omniperf", "src/omniperf").load_module() +config["rocprofiler-compute"] = SourceFileLoader( + "rocprofiler-compute", "src/rocprof-compute" +).load_module() config["kernel_name_1"] = "vecCopy(double*, double*, double*, int, int) [clone .kd]" config["app_1"] = ["./tests/vcopy", "-n", "1048576", "-b", "256", "-i", "3"] config["cleanup"] = True @@ -42,7 +44,7 @@ def check_arch_override(): config["METRIC_COMPARE"] = False config["METRIC_LOGGING"] = False -baseline_opts = ["omniperf", "profile", "-n", "app_1", "-VVV"] +baseline_opts = ["rocprof-compute", "profile", "-n", "app_1", "-VVV"] num_kernels = 3 num_devices = 1 @@ -312,7 +314,7 @@ def gpu_soc(): else: print( "Cannot parse MI300 details from rocminfo. Please verify output or set the arch using (e.g.,) " - 'export OMNIPERF_ARCH_OVERRIDE="MI300A"' + 'export ROCPROFCOMPUTE_ARCH_OVERRIDE="MI300A"' ) assert 0 return gpu_model @@ -364,7 +366,7 @@ def baseline_compare_metric(test_name, workload_dir, args=[]): t = subprocess.Popen( [ sys.executable, - "src/omniperf", + "src/rocprof_compute", "analyze", "--path", Baseline_dir, @@ -503,7 +505,7 @@ def validate(test_name, workload_dir, file_dict, args=[]): def test_path(): options = baseline_opts workload_dir = test_utils.get_output_dir() - test_utils.launch_omniperf(config, options, workload_dir) + test_utils.launch_rocprof_compute(config, options, workload_dir) file_dict = test_utils.check_csv_files(workload_dir, num_devices, num_kernels) @@ -526,7 +528,7 @@ def test_path(): def test_no_roof(): options = baseline_opts + ["--no-roof"] workload_dir = test_utils.get_output_dir() - test_utils.launch_omniperf(config, options, workload_dir) + test_utils.launch_rocprof_compute(config, options, workload_dir) file_dict = test_utils.check_csv_files(workload_dir, num_devices, num_kernels) if soc == "MI100": @@ -554,7 +556,9 @@ def test_no_roof(): def test_kernel_names(): options = baseline_opts + ["--roof-only", "--kernel-names"] workload_dir = test_utils.get_output_dir() - e = test_utils.launch_omniperf(config, options, workload_dir, check_success=False) + e = test_utils.launch_rocprof_compute( + config, options, workload_dir, check_success=False + ) if soc == "MI100" or "MI300" in soc: # assert that it did not run @@ -589,7 +593,7 @@ def test_device_filter(): options = baseline_opts + ["--device", device_id] workload_dir = test_utils.get_output_dir() - test_utils.launch_omniperf(config, options, workload_dir) + test_utils.launch_rocprof_compute(config, options, workload_dir) file_dict = test_utils.check_csv_files(workload_dir, 1, num_kernels) if soc == "MI100": @@ -617,7 +621,7 @@ def test_device_filter(): def test_kernel(): options = baseline_opts + ["--kernel", config["kernel_name_1"]] workload_dir = test_utils.get_output_dir() - test_utils.launch_omniperf(config, options, workload_dir) + test_utils.launch_rocprof_compute(config, options, workload_dir) file_dict = test_utils.check_csv_files(workload_dir, num_devices, num_kernels) if soc == "MI100": @@ -643,7 +647,7 @@ def test_kernel(): def test_block_SQ(): options = baseline_opts + ["--block", "SQ"] workload_dir = test_utils.get_output_dir() - test_utils.launch_omniperf(config, options, workload_dir) + test_utils.launch_rocprof_compute(config, options, workload_dir) file_dict = test_utils.check_csv_files(workload_dir, num_devices, num_kernels) expected_csvs = [ @@ -719,7 +723,7 @@ def test_block_SQ(): def test_block_SQC(): options = baseline_opts + ["--block", "SQC"] workload_dir = test_utils.get_output_dir() - test_utils.launch_omniperf(config, options, workload_dir) + test_utils.launch_rocprof_compute(config, options, workload_dir) file_dict = test_utils.check_csv_files(workload_dir, num_devices, num_kernels) expected_csvs = [ @@ -749,7 +753,7 @@ def test_block_SQC(): def test_block_TA(): options = baseline_opts + ["--block", "TA"] workload_dir = test_utils.get_output_dir() - test_utils.launch_omniperf(config, options, workload_dir) + test_utils.launch_rocprof_compute(config, options, workload_dir) file_dict = test_utils.check_csv_files(workload_dir, num_devices, num_kernels) expected_csvs = [ @@ -783,7 +787,7 @@ def test_block_TA(): def test_block_TD(): options = baseline_opts + ["--block", "TD"] workload_dir = test_utils.get_output_dir() - test_utils.launch_omniperf(config, options, workload_dir) + test_utils.launch_rocprof_compute(config, options, workload_dir) file_dict = test_utils.check_csv_files(workload_dir, num_devices, num_kernels) expected_csvs = [ @@ -831,7 +835,7 @@ def test_block_TD(): def test_block_TCP(): options = baseline_opts + ["--block", "TCP"] workload_dir = test_utils.get_output_dir() - test_utils.launch_omniperf(config, options, workload_dir) + test_utils.launch_rocprof_compute(config, options, workload_dir) file_dict = test_utils.check_csv_files(workload_dir, num_devices, num_kernels) expected_csvs = [ @@ -867,7 +871,7 @@ def test_block_TCP(): def test_block_TCC(): options = baseline_opts + ["--block", "TCC"] workload_dir = test_utils.get_output_dir() - test_utils.launch_omniperf(config, options, workload_dir) + test_utils.launch_rocprof_compute(config, options, workload_dir) file_dict = test_utils.check_csv_files(workload_dir, num_devices, num_kernels) expected_csvs = [ @@ -933,7 +937,7 @@ def test_block_TCC(): def test_block_SPI(): options = baseline_opts + ["--block", "SPI"] workload_dir = test_utils.get_output_dir() - test_utils.launch_omniperf(config, options, workload_dir) + test_utils.launch_rocprof_compute(config, options, workload_dir) file_dict = test_utils.check_csv_files(workload_dir, num_devices, num_kernels) expected_csvs = [ @@ -968,7 +972,7 @@ def test_block_SPI(): def test_block_CPC(): options = baseline_opts + ["--block", "CPC"] workload_dir = test_utils.get_output_dir() - test_utils.launch_omniperf(config, options, workload_dir) + test_utils.launch_rocprof_compute(config, options, workload_dir) file_dict = test_utils.check_csv_files(workload_dir, num_devices, num_kernels) expected_csvs = [ @@ -996,7 +1000,7 @@ def test_block_CPC(): def test_block_CPF(): options = baseline_opts + ["--block", "CPF"] workload_dir = test_utils.get_output_dir() - test_utils.launch_omniperf(config, options, workload_dir) + test_utils.launch_rocprof_compute(config, options, workload_dir) file_dict = test_utils.check_csv_files(workload_dir, num_devices, num_kernels) expected_csvs = [ @@ -1026,7 +1030,7 @@ def test_block_CPF(): def test_block_SQ_CPC(): options = baseline_opts + ["--block", "SQ", "CPC"] workload_dir = test_utils.get_output_dir() - test_utils.launch_omniperf(config, options, workload_dir) + test_utils.launch_rocprof_compute(config, options, workload_dir) file_dict = test_utils.check_csv_files(workload_dir, num_devices, num_kernels) expected_csvs = [ @@ -1102,7 +1106,7 @@ def test_block_SQ_CPC(): def test_block_SQ_TA(): options = baseline_opts + ["--block", "SQ", "TA"] workload_dir = test_utils.get_output_dir() - test_utils.launch_omniperf(config, options, workload_dir) + test_utils.launch_rocprof_compute(config, options, workload_dir) file_dict = test_utils.check_csv_files(workload_dir, num_devices, num_kernels) expected_csvs = [ @@ -1174,7 +1178,7 @@ def test_block_SQ_TA(): def test_block_SQ_SPI(): options = baseline_opts + ["--block", "SQ", "SPI"] workload_dir = test_utils.get_output_dir() - test_utils.launch_omniperf(config, options, workload_dir) + test_utils.launch_rocprof_compute(config, options, workload_dir) file_dict = test_utils.check_csv_files(workload_dir, num_devices, num_kernels) expected_csvs = [ @@ -1249,7 +1253,7 @@ def test_block_SQ_SPI(): def test_block_SQ_SQC_TCP_CPC(): options = baseline_opts + ["--block", "SQ", "SQC", "TCP", "CPC"] workload_dir = test_utils.get_output_dir() - test_utils.launch_omniperf(config, options, workload_dir) + test_utils.launch_rocprof_compute(config, options, workload_dir) file_dict = test_utils.check_csv_files(workload_dir, num_devices, num_kernels) expected_csvs = [ @@ -1321,7 +1325,7 @@ def test_block_SQ_SQC_TCP_CPC(): def test_block_SQ_SPI_TA_TCC_CPF(): options = baseline_opts + ["--block", "SQ", "SPI", "TA", "TCC", "CPF"] workload_dir = test_utils.get_output_dir() - test_utils.launch_omniperf(config, options, workload_dir) + test_utils.launch_rocprof_compute(config, options, workload_dir) file_dict = test_utils.check_csv_files(workload_dir, num_devices, num_kernels) expected_csvs = [ @@ -1397,7 +1401,7 @@ def test_block_SQ_SPI_TA_TCC_CPF(): def test_dispatch_0(): options = baseline_opts + ["--dispatch", "0"] workload_dir = test_utils.get_output_dir() - test_utils.launch_omniperf(config, options, workload_dir) + test_utils.launch_rocprof_compute(config, options, workload_dir) file_dict = test_utils.check_csv_files(workload_dir, num_devices, 1) if soc == "MI100": @@ -1427,7 +1431,7 @@ def test_dispatch_0(): def test_dispatch_0_1(): options = baseline_opts + ["--dispatch", "0:2"] workload_dir = test_utils.get_output_dir() - test_utils.launch_omniperf(config, options, workload_dir) + test_utils.launch_rocprof_compute(config, options, workload_dir) file_dict = test_utils.check_csv_files(workload_dir, num_devices, 2) if soc == "MI100": @@ -1454,7 +1458,7 @@ def test_dispatch_0_1(): def test_dispatch_2(): options = baseline_opts + ["--dispatch", dispatch_id] workload_dir = test_utils.get_output_dir() - test_utils.launch_omniperf(config, options, workload_dir) + test_utils.launch_rocprof_compute(config, options, workload_dir) file_dict = test_utils.check_csv_files(workload_dir, num_devices, 1) if soc == "MI100": @@ -1484,7 +1488,7 @@ def test_dispatch_2(): def test_join_type_grid(): options = baseline_opts + ["--join-type", "grid"] workload_dir = test_utils.get_output_dir() - test_utils.launch_omniperf(config, options, workload_dir) + test_utils.launch_rocprof_compute(config, options, workload_dir) file_dict = test_utils.check_csv_files(workload_dir, num_devices, num_kernels) if soc == "MI100": @@ -1510,7 +1514,7 @@ def test_join_type_grid(): def test_join_type_kernel(): options = baseline_opts + ["--join-type", "kernel"] workload_dir = test_utils.get_output_dir() - test_utils.launch_omniperf(config, options, workload_dir) + test_utils.launch_rocprof_compute(config, options, workload_dir) file_dict = test_utils.check_csv_files(workload_dir, num_devices, num_kernels) @@ -1537,7 +1541,9 @@ def test_join_type_kernel(): def test_sort_dispatches(): options = baseline_opts + ["--roof-only", "--sort", "dispatches"] workload_dir = test_utils.get_output_dir() - e = test_utils.launch_omniperf(config, options, workload_dir, check_success=False) + e = test_utils.launch_rocprof_compute( + config, options, workload_dir, check_success=False + ) if soc == "MI100" or "MI300" in soc: # assert that it did not run @@ -1568,7 +1574,9 @@ def test_sort_dispatches(): def test_sort_kernels(): options = baseline_opts + ["--roof-only", "--sort", "kernels"] workload_dir = test_utils.get_output_dir() - e = test_utils.launch_omniperf(config, options, workload_dir, check_success=False) + e = test_utils.launch_rocprof_compute( + config, options, workload_dir, check_success=False + ) if soc == "MI100" or "MI300" in soc: # assert that it did not run @@ -1598,7 +1606,9 @@ def test_sort_kernels(): def test_mem_levels_HBM(): options = baseline_opts + ["--roof-only", "--mem-level", "HBM"] workload_dir = test_utils.get_output_dir() - e = test_utils.launch_omniperf(config, options, workload_dir, check_success=False) + e = test_utils.launch_rocprof_compute( + config, options, workload_dir, check_success=False + ) if soc == "MI100" or "MI300" in soc: # assert that it did not run @@ -1628,7 +1638,9 @@ def test_mem_levels_HBM(): def test_mem_levels_L2(): options = baseline_opts + ["--roof-only", "--mem-level", "L2"] workload_dir = test_utils.get_output_dir() - e = test_utils.launch_omniperf(config, options, workload_dir, check_success=False) + e = test_utils.launch_rocprof_compute( + config, options, workload_dir, check_success=False + ) if soc == "MI100" or "MI300" in soc: # assert that it did not run @@ -1658,7 +1670,9 @@ def test_mem_levels_L2(): def test_mem_levels_vL1D(): options = baseline_opts + ["--roof-only", "--mem-level", "vL1D"] workload_dir = test_utils.get_output_dir() - e = test_utils.launch_omniperf(config, options, workload_dir, check_success=False) + e = test_utils.launch_rocprof_compute( + config, options, workload_dir, check_success=False + ) if soc == "MI100" or "MI300" in soc: # assert that it did not run @@ -1688,7 +1702,9 @@ def test_mem_levels_vL1D(): def test_mem_levels_LDS(): options = baseline_opts + ["--roof-only", "--mem-level", "LDS"] workload_dir = test_utils.get_output_dir() - e = test_utils.launch_omniperf(config, options, workload_dir, check_success=False) + e = test_utils.launch_rocprof_compute( + config, options, workload_dir, check_success=False + ) if soc == "MI100" or "MI300" in soc: # assert that it did not run @@ -1718,7 +1734,9 @@ def test_mem_levels_LDS(): def test_mem_levels_HBM_LDS(): options = baseline_opts + ["--roof-only", "--mem-level", "HBM", "LDS"] workload_dir = test_utils.get_output_dir() - e = test_utils.launch_omniperf(config, options, workload_dir, check_success=False) + e = test_utils.launch_rocprof_compute( + config, options, workload_dir, check_success=False + ) if soc == "MI100" or "MI300" in soc: # assert that it did not run @@ -1748,7 +1766,9 @@ def test_mem_levels_HBM_LDS(): def test_mem_levels_vL1D_LDS(): options = baseline_opts + ["--roof-only", "--mem-level", "vL1D", "LDS"] workload_dir = test_utils.get_output_dir() - e = test_utils.launch_omniperf(config, options, workload_dir, check_success=False) + e = test_utils.launch_rocprof_compute( + config, options, workload_dir, check_success=False + ) if soc == "MI100" or "MI300" in soc: # assert that it did not run @@ -1778,7 +1798,9 @@ def test_mem_levels_vL1D_LDS(): def test_mem_levels_L2_vL1D_LDS(): options = baseline_opts + ["--roof-only", "--mem-level", "L2", "vL1D", "LDS"] workload_dir = test_utils.get_output_dir() - e = test_utils.launch_omniperf(config, options, workload_dir, check_success=False) + e = test_utils.launch_rocprof_compute( + config, options, workload_dir, check_success=False + ) if soc == "MI100" or "MI300" in soc: # assert that it did not run diff --git a/tests/test_utils.py b/tests/test_utils.py index 6ee8bac42..3d8ccc247 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -142,7 +142,7 @@ def launch_omniperf(config, options, workload_dir, check_success=True): with patch( "sys.argv", options + ["--path", workload_dir, "--"] + config["app_1"] ): - config["omniperf"].main() + config["rocprofiler-compute"].main() # verify run status if check_success: diff --git a/utils/build.sh b/utils/build.sh index 5aebc0f9b..80711889d 100755 --- a/utils/build.sh +++ b/utils/build.sh @@ -1,11 +1,11 @@ #!/usr/bin/env bash -pyinstaller src/omniperf.py \ - --name "omniperf" \ +pyinstaller src/rocprofiler-compute.py \ + --name "rocprofiler-compute" \ --add-data "src/perfmon_pub/*:perfmon_pub" \ --add-data "src/utils/*:utils" \ --add-data "src/soc_params/*.csv:soc_params" \ - --add-data "src/omniperf_analyze/*:omniperf_analyze" \ + --add-data "src/rocprof_compute_analyze/*:rocprof_compute_analyze" \ --hidden-import matplotlib.backends.backend_pdf \ ${@} @@ -53,14 +53,14 @@ echo "(build.sh) Loading dash_svg" # Take care of dash-svg module that isn't detected by PyInstaller dash_info=$(pip3 show dash_svg) dash_loc=$(sed -n '8p' <<<"$dash_info") -cp -r ${dash_loc:10}/dash_svg "$distpath"/omniperf/ +cp -r ${dash_loc:10}/dash_svg "$distpath"/rocprofiler-compute/ echo "(build.sh) Fixing flattened directories" #TODO: Copy orig file structure from over to flattened packaged version -rm -rf "$distpath"/omniperf/omniperf_analyze/ -cp -r src/omniperf_analyze/ "$distpath"/omniperf/ +rm -rf "$distpath"/rocprofiler-compute/rocprof_compute_analyze/ +cp -r src/rocprof_compute_analyze/ "$distpath"/rocprofiler-compute/ -rm -rf "$distpath"/omniperf/perfmon_pub/ -cp -r src/perfmon_pub/ "$distpath"/omniperf/ +rm -rf "$distpath"/rocprofiler-compute/perfmon_pub/ +cp -r src/perfmon_pub/ "$distpath"/rocprofiler-compute/ -rm -rf "$distpath"/omniperf/perfmon/ +rm -rf "$distpath"/rocprofiler-compute/perfmon/