diff --git a/.azuredevops/rocm-ci.yml b/.azuredevops/rocm-ci.yml index dad6d8592..51dddb9cc 100644 --- a/.azuredevops/rocm-ci.yml +++ b/.azuredevops/rocm-ci.yml @@ -43,4 +43,4 @@ pr: drafts: false jobs: - - template: ${{ variables.CI_COMPONENT_PATH }}/omniperf.yml@pipelines_repo + - template: ${{ variables.CI_COMPONENT_PATH }}/rocprofiler-compute.yml@pipelines_repo diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 4dec4e1b1..feff459fd 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -12,7 +12,7 @@ A clear and concise description of what the bug is. **Development Environment:** - Linux Distribution: [e.g. Ubuntu20.04, RHEL8] - - Omniperf Version: [e.g. try `omniperf --version`] + - ROCm Compute Profiler Version: [e.g. try `rocprof-compute --version`] - GPU: [e.g. Mi100, Mi200] - Custer (if applicable): [e.g. Crusher, ] diff --git a/.github/workflows/mi-rhel9.yml b/.github/workflows/mi-rhel9.yml index 4cc54454f..6f594aa00 100644 --- a/.github/workflows/mi-rhel9.yml +++ b/.github/workflows/mi-rhel9.yml @@ -30,7 +30,7 @@ jobs: runs-on: [mi100, rhel9] env: - PYTHONPATH: /home1/ciuser/omniperf_deps + PYTHONPATH: /home1/ciuser/rocprofiler_compute_deps CI_VISIBLE_DEVICES: 1 name: ROCm v${{ matrix.version }} / ${{ matrix.hardware }} / ${{ matrix.profiler }} steps: @@ -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 2b64bbd5d..766ae957f 100644 --- a/.github/workflows/packaging.yml +++ b/.github/workflows/packaging.yml @@ -37,25 +37,25 @@ 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 files: | - build/omniperf-${{github.ref_name}}.tar.gz + build/rocprofiler-compute-${{github.ref_name}}.tar.gz 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 b112cfb7f..9b5218835 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,48 +61,48 @@ 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 -s $INSTALL_DIR/omniperf/share/doc/omniperf/LICENSE + 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 + test -s $INSTALL_DIR/rocprofiler-compute/share/doc/rocprofiler-compute/LICENSE - 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..7200a39a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,38 +1,38 @@ -# 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 +## Omniperf 2.0.1 for ROCm 6.2.1 -### Changes +### Changed - * enable rocprofv1 for MI300 hardware (#391) - * refactoring and updating documemtation (#362, #394, #398, #414, #420) - * branch renaming and workflow updates (#389, #404, #409) - * bug fix for analysis output - * add dependency checks on application launch (#393) - * patch for profiling multi-process/multi-GPU applications (#376, #396) - * packaging updates (#386) - * rename CHANGES to CHANGELOG.md (#410) - * rollback Grafana version in Dockerfile for Angular plugin compatibility (#416) - * enable CI triggers for Azure CI (#426) - * add GPU model distinction for MI300 systems (#423) - * new MAINTAINERS.md guide for omniperf publishing procedures (#402) +* enable rocprofv1 for MI300 hardware (#391) +* refactoring and updating documemtation (#362, #394, #398, #414, #420) +* branch renaming and workflow updates (#389, #404, #409) +* bug fix for analysis output +* add dependency checks on application launch (#393) +* patch for profiling multi-process/multi-GPU applications (#376, #396) +* packaging updates (#386) +* rename CHANGES to CHANGELOG.md (#410) +* rollback Grafana version in Dockerfile for Angular plugin compatibility (#416) +* enable CI triggers for Azure CI (#426) +* add GPU model distinction for MI300 systems (#423) +* new MAINTAINERS.md guide for omniperf publishing procedures (#402) -### Optimizations +### Optimized - * reduced running time of Omniperf when profiling (#384) - * console logging improvements +* reduced running time of Omniperf when profiling (#384) +* console logging improvements ## Omniperf 2.0.1 for ROCm 6.2.0 -### Changes +### Added * new option to force hardware target via `OMNIPERF_ARCH_OVERRIDE` global (#370) * CI/CD support for MI300 hardware (#373) * support for MI308X hardware (#375) -### Optimizations +### Optimized * cmake build improvements (#374) diff --git a/CMakeLists.txt b/CMakeLists.txt index 02ba8e534..b312b6db5 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" ) install( @@ -401,9 +409,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..36d4d7f5d 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,11 +50,11 @@ 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: v3.0.0 (01 November 2024)}, + month = November, year = 2024, publisher = {Zenodo}, - version = {v2.1.0}, + version = {v3.0.0}, doi = {10.5281/zenodo.7314631}, url = {https://doi.org/10.5281/zenodo.7314631} } diff --git a/VERSION b/VERSION index 7ec1d6db4..4a36342fc 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.1.0 +3.0.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/conceptual/command-processor.rst b/docs/conceptual/command-processor.rst index a055768a1..567f7ceec 100644 --- a/docs/conceptual/command-processor.rst +++ b/docs/conceptual/command-processor.rst @@ -1,6 +1,6 @@ .. meta:: - :description: Omniperf performance model: Command processor (CP) - :keywords: Omniperf, ROCm, profiler, tool, Instinct, accelerator, command, processor, fetcher, packet processor, CPF, CPC + :description: ROCm Compute Profiler performance model: Command processor (CP) + :keywords: Omniperf, ROCm Compute Profiler, ROCm, profiler, tool, Instinct, accelerator, command, processor, fetcher, packet processor, CPF, CPC ********************** Command processor (CP) diff --git a/docs/conceptual/compute-unit.rst b/docs/conceptual/compute-unit.rst index e7061c814..3b265d26b 100644 --- a/docs/conceptual/compute-unit.rst +++ b/docs/conceptual/compute-unit.rst @@ -1,6 +1,6 @@ .. meta:: - :description: Omniperf performance model: Compute unit (CU) - :keywords: Omniperf, ROCm, profiler, tool, Instinct, accelerator, GCN, compute, unit, pipeline, workgroup, wavefront, + :description: ROCm Compute Profiler performance model: Compute unit (CU) + :keywords: Omniperf, ROCm Compute Profiler, ROCm, profiler, tool, Instinct, accelerator, GCN, compute, unit, pipeline, workgroup, wavefront, CDNA ***************** @@ -19,7 +19,7 @@ CDNA™-based accelerators. All :ref:`wavefronts ` of a The CU consists of several independent execution pipelines and functional units. The :doc:`/conceptual/pipeline-descriptions` section details the various execution pipelines -- VALU, SALU, LDS, scheduler, and so forth. The metrics -presented by Omniperf for these pipelines are described in +presented by ROCm Compute Profiler for these pipelines are described in :doc:`pipeline-metrics`. The :doc:`vL1D ` cache and :doc:`LDS ` are described in their own sections. diff --git a/docs/conceptual/definitions.rst b/docs/conceptual/definitions.rst index 8ad483094..f0d1e9e0e 100644 --- a/docs/conceptual/definitions.rst +++ b/docs/conceptual/definitions.rst @@ -1,13 +1,13 @@ .. meta:: - :description: Omniperf terminology and definitions - :keywords: Omniperf, ROCm, glossary, definitions, terms, profiler, tool, + :description: ROCm Compute Profiler terminology and definitions + :keywords: Omniperf, ROCm Compute Profiler, ROCm, glossary, definitions, terms, profiler, tool, Instinct, accelerator, AMD *********** Definitions *********** -The following table briefly defines some terminology used in Omniperf interfaces +The following table briefly defines some terminology used in ROCm Compute Profiler interfaces and in this documentation. .. include:: ./includes/terms.rst diff --git a/docs/conceptual/includes/normalization-units.rst b/docs/conceptual/includes/normalization-units.rst index 34961f7e0..365c30c0e 100644 --- a/docs/conceptual/includes/normalization-units.rst +++ b/docs/conceptual/includes/normalization-units.rst @@ -34,7 +34,7 @@ include: that is, the total runtime of the kernel in seconds, as measured by the :doc:`command processor `. -By default, Omniperf uses the ``per_wave`` normalization. +By default, ROCm Compute Profiler uses the ``per_wave`` normalization. .. tip:: diff --git a/docs/conceptual/l2-cache.rst b/docs/conceptual/l2-cache.rst index 2c4b44514..6d0f26c09 100644 --- a/docs/conceptual/l2-cache.rst +++ b/docs/conceptual/l2-cache.rst @@ -1,6 +1,6 @@ .. meta:: - :description: Omniperf performance model: L2 cache (TCC) - :keywords: Omniperf, ROCm, profiler, tool, Instinct, accelerator, L2, cache, infinity fabric, metrics + :description: ROCm Compute Profiler performance model: L2 cache (TCC) + :keywords: Omniperf, ROCm Compute Profiler, ROCm, profiler, tool, Instinct, accelerator, L2, cache, infinity fabric, metrics ************** L2 cache (TCC) @@ -21,7 +21,7 @@ across the L2 channels. Requests that miss in the L2 cache are passed out to :ref:`Infinity Fabric™ ` to be routed to the appropriate memory location. -The L2 cache metrics reported by Omniperf are broken down into four +The L2 cache metrics reported by ROCm Compute Profiler are broken down into four categories: * :ref:`L2 Speed-of-Light ` @@ -299,7 +299,7 @@ accelerator’s memory, or even in the CPU’s memory. Infinity Fabric is responsible for routing these memory requests/data to the correct location and returning any fetched data to the L2 cache. The :ref:`l2-request-flow` describes the flow of these requests through -Infinity Fabric in more detail, as described by Omniperf metrics, +Infinity Fabric in more detail, as described by ROCm Compute Profiler metrics, while :ref:`l2-request-metrics` give detailed definitions of individual metrics. @@ -309,7 +309,7 @@ Request flow ------------ The following is a diagram that illustrates how L2↔Fabric requests are reported -by Omniperf: +by ROCm Compute Profiler: .. figure:: ../data/performance-model/fabric.png :align: center diff --git a/docs/conceptual/local-data-share.rst b/docs/conceptual/local-data-share.rst index c596844dc..8035def62 100644 --- a/docs/conceptual/local-data-share.rst +++ b/docs/conceptual/local-data-share.rst @@ -1,6 +1,6 @@ .. meta:: - :description: Omniperf performance model: Local data share (LDS) - :keywords: Omniperf, ROCm, profiler, tool, Instinct, accelerator, local, data, share, LDS + :description: ROCm Compute Profiler performance model: Local data share (LDS) + :keywords: Omniperf, ROCm Compute Profiler, ROCm, profiler, tool, Instinct, accelerator, local, data, share, LDS ********************** Local data share (LDS) diff --git a/docs/conceptual/performance-model.rst b/docs/conceptual/performance-model.rst index 1a94b3ed6..191a3ca3f 100644 --- a/docs/conceptual/performance-model.rst +++ b/docs/conceptual/performance-model.rst @@ -1,13 +1,13 @@ .. meta:: - :description: Omniperf performance model - :keywords: Omniperf, ROCm, performance, model, profiler, tool, Instinct, + :description: ROCm Compute Profiler performance model + :keywords: Omniperf, ROCm Compute Profiler, ROCm, performance, model, profiler, tool, Instinct, accelerator, AMD ***************** Performance model ***************** -Omniperf makes available an extensive list of metrics to better understand +ROCm Compute Profiler makes available an extensive list of metrics to better understand achieved application performance on AMD Instinct™ MI-series accelerators including Graphics Core Next™ (GCN) GPUs like the AMD Instinct MI50, CDNA™ accelerators like the MI100, and CDNA2 accelerators such as the MI250X, MI250, @@ -18,7 +18,7 @@ hardware blocks of AMD Instinct accelerators. This section describes each hardware block on the accelerator as interacted with by a software developer to give a deeper understanding of the metrics reported by profiling data. Refer to :doc:`/tutorial/profiling-by-example` for more practical examples and details on how -to use Omniperf to optimize your code. +to use ROCm Compute Profiler to optimize your code. .. _mixxx-note: @@ -34,7 +34,7 @@ to use Omniperf to optimize your code. :prod-page:`MI250 `, and :prod-page:`MI210 ` product pages. -In this chapter, the AMD Instinct performance model used by Omniperf is divided into a handful of +In this chapter, the AMD Instinct performance model used by ROCm Compute Profiler is divided into a handful of key hardware blocks, each detailed in the following sections: * :doc:`compute-unit` diff --git a/docs/conceptual/pipeline-descriptions.rst b/docs/conceptual/pipeline-descriptions.rst index 9261421eb..c842747aa 100644 --- a/docs/conceptual/pipeline-descriptions.rst +++ b/docs/conceptual/pipeline-descriptions.rst @@ -1,6 +1,6 @@ .. meta:: - :description: Omniperf performance model: Shader engine (SE) - :keywords: Omniperf, ROCm, profiler, tool, Instinct, accelerator, pipeline, VALU, SALU, VMEM, SMEM, LDS, branch, + :description: ROCm Compute Profiler performance model: Shader engine (SE) + :keywords: Omniperf, ROCm Compute Profiler, ROCm, profiler, tool, Instinct, accelerator, pipeline, VALU, SALU, VMEM, SMEM, LDS, branch, scheduler, MFMA, AGPRs ********************* @@ -101,7 +101,7 @@ coordinate between wavefronts in a workgroup. Performance model of the local data share (LDS) on AMD Instinct MI-series accelerators. -Above is Omniperf's performance model of the LDS on CDNA accelerators (adapted +Above is ROCm Compute Profiler's performance model of the LDS on CDNA accelerators (adapted from :mantor-gcn-pdf:`20`). The SIMDs in the :ref:`VALU ` are connected to the LDS in pairs (see above). Only one SIMD per pair may issue an LDS instruction at a time, but both pairs may issue concurrently. @@ -186,7 +186,7 @@ shadow (see the :ref:`MFMA ` section for more detail). .. note:: - The IPC model used by Omniperf omits the following two complications for + The IPC model used by ROCm Compute Profiler omits the following two complications for clarity. First, CDNA accelerators contain other execution units on the CU that are unused for compute applications. Second, so-called "internal" instructions (see :gcn-crash-course:`29`) are not issued to a functional @@ -237,7 +237,7 @@ various AMD accelerators (including the CDNA line), we recommend the GPRs required for D: 4 GPR alignment requirement: 8 bytes -For the purposes of Omniperf, the MFMA unit is typically treated as a separate +For the purposes of ROCm Compute Profiler, the MFMA unit is typically treated as a separate pipeline from the :ref:`VALU `, as other VALU instructions (along with other execution pipelines such as the :ref:`SALU `) typically can be issued during a portion of the total duration of an MFMA operation. diff --git a/docs/conceptual/pipeline-metrics.rst b/docs/conceptual/pipeline-metrics.rst index f7bb4bcda..5caaa3733 100644 --- a/docs/conceptual/pipeline-metrics.rst +++ b/docs/conceptual/pipeline-metrics.rst @@ -1,13 +1,13 @@ .. meta:: - :description: Omniperf performance model: Pipeline metrics - :keywords: Omniperf, ROCm, profiler, tool, Instinct, accelerator, pipeline, wavefront, metrics, launch, runtime + :description: ROCm Compute Profiler performance model: Pipeline metrics + :keywords: Omniperf, ROCm Compute Profiler, ROCm, profiler, tool, Instinct, accelerator, pipeline, wavefront, metrics, launch, runtime VALU, MFMA, instruction mix, FLOPs, arithmetic, operations **************** Pipeline metrics **************** -In this section, we describe the metrics available in Omniperf to analyze the +In this section, we describe the metrics available in ROCm Compute Profiler to analyze the pipelines discussed in the :doc:`pipeline-descriptions`. .. _wavefront: @@ -233,7 +233,7 @@ Instruction mix The instruction mix panel shows a breakdown of the various types of instructions executed by the user’s kernel, and which pipelines on the -:doc:`CU ` they were executed on. In addition, Omniperf reports +:doc:`CU ` they were executed on. In addition, ROCm Compute Profiler reports further information about the breakdown of operation types for the :ref:`VALU `, vector-memory, and :ref:`MFMA ` instructions. @@ -555,7 +555,7 @@ Compute pipeline FLOP counting conventions ------------------------- -Omniperf’s conventions for VALU FLOP counting are as follows: +ROCm Compute Profiler’s conventions for VALU FLOP counting are as follows: * Addition or multiplication: 1 operation diff --git a/docs/conceptual/references.rst b/docs/conceptual/references.rst index 9f3d32cd8..4ed88dd86 100644 --- a/docs/conceptual/references.rst +++ b/docs/conceptual/references.rst @@ -1,6 +1,6 @@ .. meta:: - :description: Omniperf performance model: References - :keywords: Omniperf, ROCm, profiler, tool, Instinct, accelerator, HIP, GCN, LLVM, docs, documentation, training + :description: ROCm Compute Profiler performance model: References + :keywords: Omniperf, ROCm Compute Profiler, ROCm, profiler, tool, Instinct, accelerator, HIP, GCN, LLVM, docs, documentation, training ********** References diff --git a/docs/conceptual/shader-engine.rst b/docs/conceptual/shader-engine.rst index 8295c4516..75952ad00 100644 --- a/docs/conceptual/shader-engine.rst +++ b/docs/conceptual/shader-engine.rst @@ -1,6 +1,6 @@ .. meta:: - :description: Omniperf performance model: Shader engine (SE) - :keywords: Omniperf, ROCm, profiler, tool, Instinct, accelerator, shader, engine, sL1D, L1I, workgroup manager, SPI + :description: ROCm Compute Profiler performance model: Shader engine (SE) + :keywords: Omniperf, ROCm Compute Profiler, ROCm, profiler, tool, Instinct, accelerator, shader, engine, sL1D, L1I, workgroup manager, SPI ****************** Shader engine (SE) @@ -21,7 +21,7 @@ The number of CUs on a SE varies from chip to chip -- see for example :hip-training-pdf:`20`. In addition, newer accelerators such as the AMD Instinct™ MI 250X have 8 SEs per accelerator. -For the purposes of Omniperf, we consider resources that are shared between +For the purposes of ROCm Compute Profiler, we consider resources that are shared between multiple CUs on a single SE as part of the SE's metrics. These include: @@ -487,7 +487,7 @@ issuing concurrently). .. note:: - Current versions of the profiling libraries underlying Omniperf attempt to + Current versions of the profiling libraries underlying ROCm Compute Profiler attempt to serialize concurrent kernels running on the accelerator, as the performance counters on the device are global (that is, shared between concurrent kernels). This means that these scheduler-pipe utilization metrics are diff --git a/docs/conceptual/system-speed-of-light.rst b/docs/conceptual/system-speed-of-light.rst index f01be4b67..3de2120b3 100644 --- a/docs/conceptual/system-speed-of-light.rst +++ b/docs/conceptual/system-speed-of-light.rst @@ -1,13 +1,13 @@ .. meta:: - :description: Omniperf performance model: System Speed-of-Light - :keywords: Omniperf, ROCm, profiler, tool, Instinct, accelerator, AMD, system, speed of light + :description: ROCm Compute Profiler performance model: System Speed-of-Light + :keywords: Omniperf, ROCm Compute Profiler, ROCm, profiler, tool, Instinct, accelerator, AMD, system, speed of light ********************* System Speed-of-Light ********************* System Speed-of-Light summarizes some of the key metrics from various sections -of Omniperf’s profiling report. +of ROCm Compute Profiler’s profiling report. .. warning:: diff --git a/docs/conceptual/vector-l1-cache.rst b/docs/conceptual/vector-l1-cache.rst index 086c195be..3eb5f9f89 100644 --- a/docs/conceptual/vector-l1-cache.rst +++ b/docs/conceptual/vector-l1-cache.rst @@ -1,6 +1,6 @@ .. meta:: - :description: Omniperf performance model: Vector L1 cache (vL1D) - :keywords: Omniperf, ROCm, profiler, tool, Instinct, accelerator, AMD, vector, l1, cache, vl1d + :description: ROCm Compute Profiler performance model: Vector L1 cache (vL1D) + :keywords: Omniperf, ROCm Compute Profiler, ROCm, profiler, tool, Instinct, accelerator, AMD, vector, l1, cache, vl1d ********************** Vector L1 cache (vL1D) @@ -124,7 +124,7 @@ passes information about the commands (coalescing state, destination SIMD, etc.) to the :ref:`data processing unit ` for use after the requested data has been retrieved. -Omniperf reports several metrics to indicate performance bottlenecks in +ROCm Compute Profiler reports several metrics to indicate performance bottlenecks in the address processing unit, which are broken down into a few categories: @@ -378,7 +378,7 @@ Translation Cache (UTCL1). This cache contains a L1 Translation Lookaside Buffer (TLB) which stores recently translated addresses to reduce the cost of subsequent re-translations. -Omniperf reports the following L1 TLB metrics: +ROCm Compute Profiler reports the following L1 TLB metrics: .. list-table:: :header-rows: 1 @@ -656,7 +656,7 @@ latencies of read/write memory operations to the :doc:`L2 cache `. :ref:`Cache access metrics ` section when evaluating the vL1D hit rate. -.. [#vl1d-activity] Omniperf considers the vL1D to be active when any part of +.. [#vl1d-activity] ROCm Compute Profiler considers the vL1D to be active when any part of the vL1D (excluding the :ref:`address processor ` and :ref:`data return ` units) are active, for example, when performing a translation, waiting for data, accessing the Tag or Cache RAMs, etc. @@ -685,7 +685,7 @@ from the :ref:`VALU `. When data is returned from the :ref:`vL1D cache RAM `, it is matched to this previously stored request data, and returned to the appropriate SIMD. -Omniperf reports the following vL1D data-return path metrics: +ROCm Compute Profiler reports the following vL1D data-return path metrics: .. list-table:: :header-rows: 1 diff --git a/docs/conf.py b/docs/conf.py index f74f95ecd..95c0012cd 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -35,7 +35,7 @@ version_number = match[1] # project info -project = "Omniperf" +project = "ROCm Compute Profiler" author = "Advanced Micro Devices, Inc." copyright = "Copyright (c) 2024 Advanced Micro Devices, Inc. All rights reserved." version = version_number @@ -51,11 +51,14 @@ html_css_files = ["o_custom.css"] external_toc_path = "./sphinx/_toc.yml" -external_projects_current_project = "omniperf" +external_projects_current_project = "rocprofiler-compute" # frequently used external resources extlinks = { - "dev-sample": ("https://github.com/ROCm/omniperf/blob/amd-mainline/sample/%s", "%s"), + "dev-sample": ( + "https://github.com/ROCm/rocprofiler-compute/blob/amd-mainline/sample/%s", + "%s", + ), "prod-page": ( "https://www.amd.com/en/products/accelerators/instinct/%s.html", "%s", diff --git a/docs/data/install/install-decision-tree.png b/docs/data/install/install-decision-tree.png index 1c62fba87..6fe99b01b 100644 Binary files a/docs/data/install/install-decision-tree.png and b/docs/data/install/install-decision-tree.png differ diff --git a/docs/data/unused/install-decision-tree.png b/docs/data/unused/install-decision-tree.png new file mode 100644 index 000000000..1c62fba87 Binary files /dev/null and b/docs/data/unused/install-decision-tree.png differ diff --git a/docs/how-to/analyze/cli.rst b/docs/how-to/analyze/cli.rst index 82185cd41..f73333f37 100644 --- a/docs/how-to/analyze/cli.rst +++ b/docs/how-to/analyze/cli.rst @@ -1,14 +1,14 @@ .. meta:: - :description: Omniperf analysis: CLI analysis - :keywords: Omniperf, ROCm, profiler, tool, Instinct, accelerator, command line, analyze, filtering, metrics, baseline, comparison + :description: ROCm Compute Profiler analysis: CLI analysis + :keywords: ROCm Compute Profiler, ROCm, profiler, tool, Instinct, accelerator, command line, analyze, filtering, metrics, baseline, comparison ************ CLI analysis ************ -This section provides an overview of Omniperf's CLI analysis features. +This section provides an overview of ROCm Compute Profiler's CLI analysis features. -* :ref:`Derived metrics `: All of Omniperf's built-in metrics. +* :ref:`Derived metrics `: All of ROCm Compute Profiler's built-in metrics. * :ref:`Baseline comparison `: Compare multiple runs in a side-by-side manner. @@ -19,28 +19,28 @@ This section provides an overview of Omniperf's CLI analysis features. * :ref:`Filtering `: Hone in on a particular kernel, GPU ID, or dispatch ID via post-process filtering. -Run ``omniperf analyze -h`` for more details. +Run ``rocprof-compute analyze -h`` for more details. .. _cli-walkthrough: Walkthrough =========== -1. To begin, generate a high-level analysis report using Omniperf's ``-b`` (or ``--block``) flag. +1. To begin, generate a high-level analysis report using ROCm Compute Profiler's ``-b`` (or ``--block``) flag. - .. code-block:: shell + .. code-block:: shell-session - $ omniperf analyze -p workloads/vcopy/MI200/ -b 2 + $ rocprof-compute analyze -p workloads/vcopy/MI200/ -b 2 - ___ _ __ - / _ \ _ __ ___ _ __ (_)_ __ ___ _ __ / _| - | | | | '_ ` _ \| '_ \| | '_ \ / _ \ '__| |_ - | |_| | | | | | | | | | | |_) | __/ | | _| - \___/|_| |_| |_|_| |_|_| .__/ \___|_| |_| - |_| + __ _ + _ __ ___ ___ _ __ _ __ ___ / _| ___ ___ _ __ ___ _ __ _ _| |_ ___ + | '__/ _ \ / __| '_ \| '__/ _ \| |_ _____ / __/ _ \| '_ ` _ \| '_ \| | | | __/ _ \ + | | | (_) | (__| |_) | | | (_) | _|_____| (_| (_) | | | | | | |_) | |_| | || __/ + |_| \___/ \___| .__/|_| \___/|_| \___\___/|_| |_| |_| .__/ \__,_|\__\___| + |_| |_| Analysis mode = cli - [analysis] deriving Omniperf metrics... + [analysis] deriving rocprofiler-compute metrics... -------------------------------------------------------------------------------- 0. Top Stats @@ -134,19 +134,19 @@ Walkthrough 2. Use ``--list-metrics`` to generate a list of available metrics for inspection. - .. code-block:: shell + .. code-block:: shell-session - $ omniperf analyze -p workloads/vcopy/MI200/ --list-metrics gfx90a + $ rocprof-compute analyze -p workloads/vcopy/MI200/ --list-metrics gfx90a - ___ _ __ - / _ \ _ __ ___ _ __ (_)_ __ ___ _ __ / _| - | | | | '_ ` _ \| '_ \| | '_ \ / _ \ '__| |_ - | |_| | | | | | | | | | | |_) | __/ | | _| - \___/|_| |_| |_|_| |_|_| .__/ \___|_| |_| - |_| + __ _ + _ __ ___ ___ _ __ _ __ ___ / _| ___ ___ _ __ ___ _ __ _ _| |_ ___ + | '__/ _ \ / __| '_ \| '__/ _ \| |_ _____ / __/ _ \| '_ ` _ \| '_ \| | | | __/ _ \ + | | | (_) | (__| |_) | | | (_) | _|_____| (_| (_) | | | | | | |_) | |_| | || __/ + |_| \___/ \___| .__/|_| \___/|_| \___\___/|_| |_| |_| .__/ \__,_|\__\___| + |_| |_| Analysis mode = cli - [analysis] deriving Omniperf metrics... + [analysis] deriving rocprofiler-compute metrics... 0 -> Top Stats 1 -> System Info 2 -> System Speed-of-Light @@ -186,13 +186,13 @@ 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 `). - .. code-block:: shell + .. code-block:: shell-session - $ omniperf analyze -p workloads/vcopy/MI200/ -b 2 + $ rocprof-compute analyze -p workloads/vcopy/MI200/ -b 2 -------- Analyze @@ -280,7 +280,7 @@ Walkthrough 4. Optimize the application, iterate, and re-profile to inspect performance changes. -5. Redo a comprehensive analysis with Omniperf CLI at any optimization +5. Redo a comprehensive analysis with ROCm Compute Profiler CLI at any optimization milestone. .. _cli-analysis-options: @@ -291,22 +291,22 @@ More analysis options Single run .. code-block:: shell - $ omniperf analyze -p workloads/vcopy/MI200/ + $ rocprof-compute analyze -p workloads/vcopy/MI200/ List top kernels and dispatches .. code-block:: shell - $ omniperf analyze -p workloads/vcopy/MI200/ --list-stats + $ rocprof-compute analyze -p workloads/vcopy/MI200/ --list-stats List metrics .. code-block:: shell - $ omniperf analyze -p workloads/vcopy/MI200/ --list-metrics gfx90a + $ rocprof-compute analyze -p workloads/vcopy/MI200/ --list-metrics gfx90a Show System Speed-of-Light and CS_Busy blocks only .. code-block:: shell - $ omniperf analyze -p workloads/vcopy/MI200/ -b 2 5.1.0 + $ rocprof-compute analyze -p workloads/vcopy/MI200/ -b 2 5.1.0 .. note:: @@ -319,10 +319,10 @@ Filter kernels .. code-block:: - $ omniperf analyze -p workloads/vcopy/MI200/ --list-stats + $ rocprof-compute analyze -p workloads/vcopy/MI200/ --list-stats Analysis mode = cli - [analysis] deriving Omniperf metrics... + [analysis] deriving rocprofiler-compute metrics... -------------------------------------------------------------------------------- Detected Kernels (sorted descending by duration) @@ -344,12 +344,12 @@ Filter kernels ``vecCopy(double*, double*, double*, int, int) [clone .kd]`` at index ``0``. Then, use this index to apply the filter via ``-k`` or ``--kernels``. - .. code-block:: shell + .. code-block:: shell-session - $ omniperf analyze -p workloads/vcopy/MI200/ -k 0 + $ rocprof-compute analyze -p workloads/vcopy/MI200/ -k 0 Analysis mode = cli - [analysis] deriving Omniperf metrics... + [analysis] deriving rocprofiler-compute metrics... -------------------------------------------------------------------------------- 0. Top Stats @@ -369,10 +369,10 @@ Filter kernels Baseline comparison .. code-block:: shell - omniperf analyze -p workload1/path/ -p workload2/path/ + rocprof-compute analyze -p workload1/path/ -p workload2/path/ OR .. code-block:: shell - omniperf analyze -p workload1/path/ -k 0 -p workload2/path/ -k 1 + rocprof-compute analyze -p workload1/path/ -k 0 -p workload2/path/ -k 1 diff --git a/docs/how-to/analyze/grafana-gui.rst b/docs/how-to/analyze/grafana-gui.rst index d5474aefb..110347911 100644 --- a/docs/how-to/analyze/grafana-gui.rst +++ b/docs/how-to/analyze/grafana-gui.rst @@ -1,6 +1,7 @@ .. meta:: - :description: Omniperf analysis: Grafana GUI - :keywords: Omniperf, ROCm, profiler, tool, Instinct, accelerator, Grafana, panels, GUI, import + :description: ROCm Compute Profiler analysis: Grafana GUI + :keywords: Omniperf, ROCm Compute Profiler, ROCm, profiler, tool, + Instinct, accelerator, Grafana, panels, GUI, import ******************** Grafana GUI analysis @@ -8,7 +9,7 @@ Grafana GUI analysis Find setup instructions in :doc:`../../install/grafana-setup`. -The Omniperf Grafana analysis dashboard GUI supports the following features to +The ROCm Compute Profiler Grafana analysis dashboard GUI supports the following features to facilitate MI accelerator performance profiling and analysis: * System and hardware component (hardware block) @@ -40,7 +41,7 @@ facilitate MI accelerator performance profiling and analysis: * L2 Cache (TCC) (both aggregated and per-channel perf info) -See the full list of :ref:`Omniperf's analysis panels `. +See the full list of :ref:`ROCm Compute Profiler's analysis panels `. .. _analysis-sol: @@ -70,14 +71,14 @@ normalizations are available. * ``per_second`` -See :ref:`normalization-units` to learn more about Omniperf normalizations. +See :ref:`normalization-units` to learn more about ROCm Compute Profiler normalizations. .. _analysis-baseline-comparison: Baseline comparison ------------------- -Omniperf enables baseline comparison to allow checking A/B effect. Currently +ROCm Compute Profiler enables baseline comparison to allow checking A/B effect. Currently baseline comparison is limited to the same :ref:`SoC `. Cross comparison between SoCs is in development. @@ -92,14 +93,14 @@ setup the following filters to allow fine grained comparisons: * Dispatch ID filtering (regex filtering) -* Omniperf Panels (multi-selection) +* ROCm Compute Profiler Panels (multi-selection) .. _analysis-regex-dispatch-id: Regex-based dispatch ID filtering --------------------------------- -Omniperf allows filtering via Regular Expressions (regex), a standard Linux +ROCm Compute Profiler allows filtering via Regular Expressions (regex), a standard Linux string matching syntax, based dispatch ID filtering to flexibly choose the kernel invocations. @@ -116,7 +117,7 @@ corresponding regex is : ``(1[7-9]|[23]\d|4[0-8])``. Incremental profiling --------------------- -Omniperf supports incremental profiling to speed up performance analysis. +ROCm Compute Profiler supports incremental profiling to speed up performance analysis. Refer to the :ref:`profiling-hw-component-filtering` section for this command. @@ -145,7 +146,7 @@ Global variables and configurations .. image:: ../../data/analyze/global_variables.png :align: center - :alt: Omniperf global variables and configurations + :alt: ROCm Compute Profiler global variables and configurations :width: 800 .. _grafana-gui-import: @@ -153,7 +154,7 @@ Global variables and configurations Grafana GUI import ------------------ -The Omniperf database ``--import`` option imports the raw profiling data to +The ROCm Compute Profiler database ``--import`` option imports the raw profiling data to Grafana's backend MongoDB database. This step is only required for Grafana GUI-based performance analysis. @@ -169,13 +170,13 @@ convention: .. code-block:: shell - omniperf___ + rocprofiler-compute___ For example: .. code-block:: shell - omniperf_asw_vcopy_mi200 + rocprofiler-compute_asw_vcopy_mi200 When using :ref:`database mode `, be sure to tailor the connection options to the machine hosting your @@ -187,10 +188,10 @@ called ``dummybox``. .. code-block:: shell-session - $ omniperf database --help + $ rocprof-compute database --help usage: - omniperf database [connection options] + rocprof-compute database [connection options] @@ -198,9 +199,9 @@ called ``dummybox``. Examples: - omniperf database --import -H pavii1 -u temp -t asw -w workloads/vcopy/mi200/ + rocprof-compute database --import -H pavii1 -u temp -t asw -w workloads/vcopy/mi200/ - omniperf database --remove -H pavii1 -u temp -w omniperf_asw_sample_mi200 + rocprof-compute database --remove -H pavii1 -u temp -w rocprofiler-compute_asw_sample_mi200 ------------------------------------------------------------------------------- @@ -215,8 +216,8 @@ called ``dummybox``. -s, --specs Print system specs. Interaction Type: - -i, --import Import workload to Omniperf DB - -r, --remove Remove a workload from Omniperf DB + -i, --import Import workload to ROCm Compute Profiler DB + -r, --remove Remove a workload from ROCm Compute Profiler DB Connection Options: -H , --host Name or IP address of the server host. @@ -228,22 +229,22 @@ called ``dummybox``. --kernel-verbose Specify Kernel Name verbose level 1-5. Lower the level, shorter the kernel name. (DEFAULT: 5) (DISABLE: 5) -Omniperf import for vcopy: -^^^^^^^^^^^^^^^^^^^^^^^^^^ +ROCm Compute Profiler import for vcopy: +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -.. code-block:: shell +.. code-block:: shell-session - $ omniperf database --import -H dummybox -u temp -t asw -w workloads/vcopy/mi200/ + $ rocprof-compute database --import -H dummybox -u temp -t asw -w workloads/vcopy/mi200/ - ___ _ __ - / _ \ _ __ ___ _ __ (_)_ __ ___ _ __ / _| - | | | | '_ ` _ \| '_ \| | '_ \ / _ \ '__| |_ - | |_| | | | | | | | | | | |_) | __/ | | _| - \___/|_| |_| |_|_| |_|_| .__/ \___|_| |_| - |_| + __ _ + _ __ ___ ___ _ __ _ __ ___ / _| ___ ___ _ __ ___ _ __ _ _| |_ ___ + | '__/ _ \ / __| '_ \| '__/ _ \| |_ _____ / __/ _ \| '_ ` _ \| '_ \| | | | __/ _ \ + | | | (_) | (__| |_) | | | (_) | _|_____| (_| (_) | | | | | | |_) | |_| | || __/ + |_| \___/ \___| .__/|_| \___/|_| \___\___/|_| |_| |_| .__/ \__,_|\__\___| + |_| |_| - Pulling data from /home/auser/repos/omniperf/sample/workloads/vcopy/MI200 + Pulling data from /home/auser/repos/rocprofiler-compute/sample/workloads/vcopy/MI200 The directory exists Found sysinfo file KernelName shortening enabled @@ -251,15 +252,15 @@ Omniperf import for vcopy: Password: Password received -- Conversion & Upload in Progress -- - 0%| | 0/11 [00:00 @@ -871,7 +872,7 @@ Texture Addresser .. figure:: ../../data/analyze/grafana/ta_panel.png :align: center - :alt: Texture Addresser in Omniperf Grafana + :alt: Texture Addresser in ROCm Compute Profiler Grafana :width: 800 Metric specific to texture addresser (TA) which receives commands (e.g., @@ -889,7 +890,7 @@ Texture Data .. figure:: ../../data/analyze/grafana/td_panel.png :align: center - :alt: Texture Data panel in Omniperf Grafana + :alt: Texture Data panel in ROCm Compute Profiler Grafana :width: 800 Metrics specific to texture data (TD) which routes data back to the @@ -909,7 +910,7 @@ Speed-of-Light .. figure:: ../../data/analyze/grafana/vl1d-sol_panel.png :align: center - :alt: Speed-of-Light (VL1D) panel in Omniperf Grafana + :alt: Speed-of-Light (VL1D) panel in ROCm Compute Profiler Grafana :width: 800 Key metrics of the vector L1 data (vL1D) cache as a comparison with the peak @@ -924,7 +925,7 @@ L1D Cache Stalls .. figure:: ../../data/analyze/grafana/vl1d-cache-stalls_panel.png :align: center - :alt: L1D Cache Stalls panel in Omniperf Grafana + :alt: L1D Cache Stalls panel in ROCm Compute Profiler Grafana :width: 800 More detail on where vector L1 data (vL1D) cache is stalled in the pipeline, @@ -955,7 +956,7 @@ L1D - L2 Transactions .. figure:: ../../data/analyze/grafana/vl1d-l2-transactions_panel.png :align: center - :alt: L1D - L2 Transactions in Omniperf Grafana + :alt: L1D - L2 Transactions in ROCm Compute Profiler Grafana :width: 800 A more granular look at the types of requests made to the L2 cache. @@ -969,7 +970,7 @@ L1D Addr Translation .. figure:: ../../data/analyze/grafana/vl1d-addr-translation_panel.png :align: center - :alt: L1D Addr Translation panel in Omniperf Grafana + :alt: L1D Addr Translation panel in ROCm Compute Profiler Grafana :width: 800 After a vector memory instruction has been processed/coalesced by the address @@ -995,7 +996,7 @@ Speed-of-Light .. figure:: ../../data/analyze/grafana/l2-sol_panel.png :align: center - :alt: Speed-of-Light (L2 cache) panel in Omniperf Grafana + :alt: Speed-of-Light (L2 cache) panel in ROCm Compute Profiler Grafana :width: 800 Key metrics about the performance of the L2 cache, aggregated over all the @@ -1011,7 +1012,7 @@ L2 Cache Accesses .. figure:: ../../data/analyze/grafana/l2-accesses_panel.png :align: center - :alt: L2 Cache Accesses panel in Omniperf Grafana + :alt: L2 Cache Accesses panel in ROCm Compute Profiler Grafana :width: 800 Incoming requests to the L2 cache from the vector L1 data (vL1D) cache and @@ -1026,7 +1027,7 @@ L2 - Fabric Transactions .. figure:: ../../data/analyze/grafana/l2-fabric-transactions_panel.png :align: center - :alt: L2 - Fabric Transactions panel in Omniperf Grafana + :alt: L2 - Fabric Transactions panel in ROCm Compute Profiler Grafana :width: 800 More detail on the flow of requests through Infinity Fabric™. @@ -1040,7 +1041,7 @@ L2 - Fabric Interface Stalls .. figure:: ../../data/analyze/grafana/l2-fabric-interface-stalls_panel.png :align: center - :alt: L2 - Fabric Interface Stalls panel in Omniperf Grafana + :alt: L2 - Fabric Interface Stalls panel in ROCm Compute Profiler Grafana :width: 800 A breakdown of what types of requests in a kernel caused a stall @@ -1065,7 +1066,7 @@ Aggregate Stats .. figure:: ../../data/analyze/grafana/l2-per-channel-agg-stats_panel.png :align: center - :alt: Aggregate Stats (L2 cache per channel) panel in Omniperf Grafana + :alt: Aggregate Stats (L2 cache per channel) panel in ROCm Compute Profiler Grafana :width: 800 L2 Cache per channel performance at a glance. Metrics are aggregated over all available channels. diff --git a/docs/how-to/analyze/mode.rst b/docs/how-to/analyze/mode.rst index b34e1214c..d9f802cdb 100644 --- a/docs/how-to/analyze/mode.rst +++ b/docs/how-to/analyze/mode.rst @@ -1,22 +1,22 @@ .. meta:: - :description: How to use Omniperf's analyze mode - :keywords: Omniperf, ROCm, profiler, tool, Instinct, accelerator, AMD, + :description: How to use ROCm Compute Profiler's analyze mode + :keywords: ROCm Compute Profiler, ROCm, profiler, tool, Instinct, accelerator, AMD, Grafana, analysis, analyze mode ************ Analyze mode ************ -Omniperf offers several ways to interact with the metrics it generates from +ROCm Compute Profiler offers several ways to interact with the metrics it generates from profiling. Your level of familiarity with the profiled application, computing -environment, and experience with Omniperf should inform the analysis method you +environment, and experience with ROCm Compute Profiler should inform the analysis method you choose. -While analyzing with the CLI offers quick and straightforward access to Omniperf +While analyzing with the CLI offers quick and straightforward access to ROCm Compute Profiler metrics from the terminal, Grafana's dashboard GUI adds an extra layer of readability and interactivity you might prefer. -See the following sections to explore Omniperf's analysis and visualization +See the following sections to explore ROCm Compute Profiler's analysis and visualization options. * :doc:`cli` @@ -32,5 +32,5 @@ options. Unless otherwise noted, the performance analysis is done on the :ref:`MI200 platform `. -Learn about profiling with Omniperf in :doc:`../profile/mode`. For an overview of -Omniperf's other modes, see :ref:`modes`. +Learn about profiling with ROCm Compute Profiler in :doc:`../profile/mode`. For an overview of +ROCm Compute Profiler's other modes, see :ref:`modes`. diff --git a/docs/how-to/analyze/standalone-gui.rst b/docs/how-to/analyze/standalone-gui.rst index a6a3e26f3..f138c1124 100644 --- a/docs/how-to/analyze/standalone-gui.rst +++ b/docs/how-to/analyze/standalone-gui.rst @@ -1,15 +1,15 @@ .. meta:: - :description: Omniperf analysis: Standalone GUI + :description: ROCm Compute Profiler analysis: Standalone GUI :keywords: Omniperf, ROCm, profiler, tool, Instinct, accelerator, GUI, standalone, filter *********************** Standalone GUI analysis *********************** -Omniperf's standalone analysis GUI is a lightweight web page that you can +ROCm Compute Profiler's standalone analysis GUI is a lightweight web page that you can generate straight from the command line. The standalone analysis GUI is an alternative to the CLI if you want to explore profiling results visually, but -without the additional setup requirements or server-side overhead of Omniperf's +without the additional setup requirements or server-side overhead of ROCm Compute Profiler's detailed :doc:`Grafana interface ` option. This analysis option is implemented as a simple `Flask `_ application that lets you view results from your preferred web browser. @@ -29,25 +29,25 @@ application that lets you view results from your preferred web browser. Launch the standalone GUI analyzer ---------------------------------- -To launch the Omniperf GUI analyzer, include the ``--gui`` flag with your +To launch the ROCm Compute Profiler GUI analyzer, include the ``--gui`` flag with your desired analysis command. For example: -.. code-block:: shell +.. code-block:: shell-session - $ omniperf analyze -p workloads/vcopy/MI200/ --gui + $ rocprof-compute analyze -p workloads/vcopy/MI200/ --gui - ___ _ __ - / _ \ _ __ ___ _ __ (_)_ __ ___ _ __ / _| - | | | | '_ ` _ \| '_ \| | '_ \ / _ \ '__| |_ - | |_| | | | | | | | | | | |_) | __/ | | _| - \___/|_| |_| |_|_| |_|_| .__/ \___|_| |_| - |_| + __ _ + _ __ ___ ___ _ __ _ __ ___ / _| ___ ___ _ __ ___ _ __ _ _| |_ ___ + | '__/ _ \ / __| '_ \| '__/ _ \| |_ _____ / __/ _ \| '_ ` _ \| '_ \| | | | __/ _ \ + | | | (_) | (__| |_) | | | (_) | _|_____| (_| (_) | | | | | | |_) | |_| | || __/ + |_| \___/ \___| .__/|_| \___/|_| \___\___/|_| |_| |_| .__/ \__,_|\__\___| + |_| |_| Analysis mode = web_ui - [analysis] deriving Omniperf metrics... + [analysis] deriving rocprofiler-compute 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. @@ -62,7 +62,7 @@ At this point, you can launch your web browser of choice and navigate to .. image:: ../../data/analyze/standalone_gui.png :align: center - :alt: Omniperf standalone GUI home screen + :alt: ROCm Compute Profiler standalone GUI home screen :width: 800 .. tip:: @@ -85,5 +85,5 @@ metrics specific to your selected filters. Once a filter is applied, you'll see several additional sections become available with detailed metrics specific to that area of AMD hardware. These -detailed sections mirror the data displayed in Omniperf's +detailed sections mirror the data displayed in ROCm Compute Profiler's :doc:`Grafana interface `. diff --git a/docs/how-to/profile/mode.rst b/docs/how-to/profile/mode.rst index 5bc0ad6a7..1a5472399 100644 --- a/docs/how-to/profile/mode.rst +++ b/docs/how-to/profile/mode.rst @@ -1,27 +1,27 @@ .. meta:: - :description: How to use Omniperf's profile mode - :keywords: Omniperf, ROCm, profiler, tool, Instinct, accelerator, AMD, + :description: How to use ROCm Compute Profiler's profile mode + :keywords: ROCm Compute Profiler, ROCm, profiler, tool, Instinct, accelerator, AMD, profiling, profile mode ************ Profile mode ************ -The following chapter walks you through Omniperf's core profiling features by +The following chapter walks you through ROCm Compute Profiler's core profiling features by example. -Learn about analysis with Omniperf in :doc:`../analyze/mode`. For an overview of -Omniperf's other modes, see :ref:`modes`. +Learn about analysis with ROCm Compute Profiler in :doc:`../analyze/mode`. For an overview of +ROCm Compute Profiler's other modes, see :ref:`modes`. Profiling ========= -Use the ``omniperf`` executable to acquire all necessary performance monitoring +Use the ``rocprof-compute`` executable to acquire all necessary performance monitoring data through analysis of compute workloads. -Profiling with Omniperf yields the following benefits. +Profiling with ROCm Compute Profiler yields the following benefits. -* :ref:`Automate counter collection `: Omniperf handles all +* :ref:`Automate counter collection `: ROCm Compute Profiler handles all of your profiling via pre-configured input files. * :ref:`Filtering `: Apply runtime filters to speed up the profiling @@ -30,7 +30,7 @@ Profiling with Omniperf yields the following benefits. * :ref:`Standalone roofline `: Isolate a subset of built-in metrics or build your own profiling configuration. -Run ``omniperf profile -h`` for more details. See +Run ``rocprof-compute profile -h`` for more details. See :ref:`Basic usage `. .. _profile-example: @@ -38,14 +38,14 @@ Run ``omniperf profile -h`` for more details. See Profiling example ----------------- -The ``__ repository +The ``__ repository includes source code for a sample GPU compute workload, ``vcopy.cpp``. A copy of this file is available in the ``share/sample`` subdirectory after a normal -Omniperf installation, or via the ``$OMNIPERF_SHARE/sample`` directory when +ROCm Compute Profiler installation, or via the ``$ROCPROFCOMPUTE_SHARE/sample`` directory when using the supplied modulefile. The examples in this section use a compiled version of the ``vcopy`` workload to -demonstrate the use of Omniperf in MI accelerator performance analysis. Unless +demonstrate the use of ROCm Compute Profiler in MI accelerator performance analysis. Unless otherwise noted, the performance analysis is done on the :ref:`MI200 platform `. @@ -54,7 +54,7 @@ Workload compilation The following example demonstrates compilation of ``vcopy``. -.. code-block:: shell +.. code-block:: shell-session $ hipcc vcopy.cpp -o vcopy $ ls @@ -74,20 +74,20 @@ The following example demonstrates compilation of ``vcopy``. The following sample command profiles the ``vcopy`` workload. -.. code-block:: shell +.. code-block:: shell-session - $ omniperf profile --name vcopy -- ./vcopy -n 1048576 -b 256 + $ rocprof-compute profile --name vcopy -- ./vcopy -n 1048576 -b 256 - ___ _ __ - / _ \ _ __ ___ _ __ (_)_ __ ___ _ __ / _| - | | | | '_ ` _ \| '_ \| | '_ \ / _ \ '__| |_ - | |_| | | | | | | | | | | |_) | __/ | | _| - \___/|_| |_| |_|_| |_|_| .__/ \___|_| |_| - |_| + __ _ + _ __ ___ ___ _ __ _ __ ___ / _| ___ ___ _ __ ___ _ __ _ _| |_ ___ + | '__/ _ \ / __| '_ \| '__/ _ \| |_ _____ / __/ _ \| '_ ` _ \| '_ \| | | | __/ _ \ + | | | (_) | (__| |_) | | | (_) | _|_____| (_| (_) | | | | | | |_) | |_| | || __/ + |_| \___/ \___| .__/|_| \___/|_| \___\___/|_| |_| |_| .__/ \__,_|\__\___| + |_| |_| - Omniperf version: 2.0.0 + rocprofiler-compute version: 2.0.0 Profiler choice: rocprofv1 - Path: /home/auser/repos/omniperf/sample/workloads/vcopy/MI200 + Path: /home/auser/repos/rocprofiler-compute/sample/workloads/vcopy/MI200 Target: MI200 Command: ./vcopy -n 1048576 -b 256 Kernel Selection: None @@ -98,10 +98,10 @@ The following sample command profiles the ``vcopy`` workload. Collecting Performance Counters ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - [profiling] Current input file: /home/auser/repos/omniperf/sample/workloads/vcopy/MI200/perfmon/SQ_IFETCH_LEVEL.txt - |-> [rocprof] RPL: on '240312_174329' from '/opt/rocm-5.2.1' in '/home/auser/repos/omniperf/src/omniperf' + [profiling] Current input file: /home/auser/repos/rocprofiler-compute/sample/workloads/vcopy/MI200/perfmon/SQ_IFETCH_LEVEL.txt + |-> [rocprof] RPL: on '240312_174329' from '/opt/rocm-5.2.1' in '/home/auser/repos/rocprofiler-compute/src/rocprof-compute' |-> [rocprof] RPL: profiling '""./vcopy -n 1048576 -b 256""' - |-> [rocprof] RPL: input file '/home/auser/repos/omniperf/sample/workloads/vcopy/MI200/perfmon/SQ_IFETCH_LEVEL.txt' + |-> [rocprof] RPL: input file '/home/auser/repos/rocprofiler-compute/sample/workloads/vcopy/MI200/perfmon/SQ_IFETCH_LEVEL.txt' |-> [rocprof] RPL: output dir '/tmp/rpl_data_240312_174329_692890' |-> [rocprof] RPL: result dir '/tmp/rpl_data_240312_174329_692890/input0_results_240312_174329' |-> [rocprof] ROCProfiler: input from "/tmp/rpl_data_240312_174329_692890/input0.xml" @@ -123,13 +123,13 @@ The following sample command profiles the ``vcopy`` workload. |-> [rocprof] Releasing CPU memory |-> [rocprof] |-> [rocprof] ROCPRofiler: 1 contexts collected, output directory /tmp/rpl_data_240312_174329_692890/input0_results_240312_174329 - |-> [rocprof] File '/home/auser/repos/omniperf/sample/workloads/vcopy/MI200/SQ_IFETCH_LEVEL.csv' is generating + |-> [rocprof] File '/home/auser/repos/rocprofiler-compute/sample/workloads/vcopy/MI200/SQ_IFETCH_LEVEL.csv' is generating |-> [rocprof] - [profiling] Current input file: /home/auser/repos/omniperf/sample/workloads/vcopy/MI200/perfmon/SQ_INST_LEVEL_LDS.txt + [profiling] Current input file: /home/auser/repos/rocprofiler-compute/sample/workloads/vcopy/MI200/perfmon/SQ_INST_LEVEL_LDS.txt ... - [roofline] Checking for roofline.csv in /home/auser/repos/omniperf/sample/workloads/vcopy/MI200 + [roofline] Checking for roofline.csv in /home/auser/repos/rocprofiler-compute/sample/workloads/vcopy/MI200 [roofline] No roofline data found. Generating... Empirical Roofline Calculation Copyright © 2022 Advanced Micro Devices, Inc. All rights reserved. @@ -171,9 +171,9 @@ The following sample command profiles the ``vcopy`` workload. .. _profiling-routine: -Notice the two main stages in Omniperf's *default* profiling routine. +Notice the two main stages in ROCm Compute Profiler's *default* profiling routine. -1. The first stage collects all the counters needed for Omniperf analysis +1. The first stage collects all the counters needed for ROCm Compute Profiler analysis (omitting any filters you have provided). 2. The second stage collects data for the roofline analysis (this stage can be @@ -187,7 +187,7 @@ example: * "MI200" for the AMD Instinct MI200 family of accelerators * "MI100" for the AMD Instinct MI100 family of accelerators -The SoC names are generated as a part of Omniperf, and do not *always* +The SoC names are generated as a part of ROCm Compute Profiler, and do not *always* distinguish between different accelerators in the same family; for instance, an Instinct MI210 vs an Instinct MI250. @@ -198,7 +198,7 @@ an Instinct MI210 vs an Instinct MI250. profiling output is stored in ``log.txt``. Roofline-specific benchmark results are stored in ``roofline.csv``. -.. code-block:: shell +.. code-block:: shell-session $ ls workloads/vcopy/MI200/ total 112 @@ -222,8 +222,8 @@ Filtering To reduce profiling time and the counters collected, you should use profiling filters. Profiling filters and their functionality depend on the underlying -profiler being used. While Omniperf is profiler-agnostic, this following is a -detailed description of profiling filters available when using Omniperf with +profiler being used. While ROCm Compute Profiler is profiler-agnostic, this following is a +detailed description of profiling filters available when using ROCm Compute Profiler with :doc:`ROCProfiler `. Filtering options @@ -255,7 +255,7 @@ Hardware component filtering ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ You can profile specific hardware components to speed up the profiling process. -In Omniperf, the term hardware block to refers to a hardware component or a +In ROCm Compute Profiler, the term hardware block to refers to a hardware component or a group of hardware components. All profiling results are accumulated in the same target directory without overwriting those for other hardware components. This enables incremental profiling and analysis. @@ -263,16 +263,16 @@ enables incremental profiling and analysis. The following example only gathers hardware counters for the shader sequencer (SQ) and L2 cache (TCC) components, skipping all other hardware components. -.. code-block:: shell +.. code-block:: shell-session - $ omniperf profile --name vcopy -b SQ TCC -- ./vcopy -n 1048576 -b 256 + $ rocprof-compute profile --name vcopy -b SQ TCC -- ./vcopy -n 1048576 -b 256 - ___ _ __ - / _ \ _ __ ___ _ __ (_)_ __ ___ _ __ / _| - | | | | '_ ` _ \| '_ \| | '_ \ / _ \ '__| |_ - | |_| | | | | | | | | | | |_) | __/ | | _| - \___/|_| |_| |_|_| |_|_| .__/ \___|_| |_| - |_| + __ _ + _ __ ___ ___ _ __ _ __ ___ / _| ___ ___ _ __ ___ _ __ _ _| |_ ___ + | '__/ _ \ / __| '_ \| '__/ _ \| |_ _____ / __/ _ \| '_ ` _ \| '_ \| | | | __/ _ \ + | | | (_) | (__| |_) | | | (_) | _|_____| (_| (_) | | | | | | |_) | |_| | || __/ + |_| \___/ \___| .__/|_| \___/|_| \___\___/|_| |_| |_| .__/ \__,_|\__\___| + |_| |_| fname: pmc_cpc_perf: Skipped fname: pmc_spi_perf: Skipped @@ -289,9 +289,9 @@ The following example only gathers hardware counters for the shader sequencer fname: pmc_sqc_perf1: Skipped fname: pmc_sq_perf6: Added fname: pmc_sq_perf2: Added - Omniperf version: 2.0.0 + rocprofiler-compute version: 2.0.0 Profiler choice: rocprofv1 - Path: /home/auser/repos/omniperf/sample/workloads/vcopy/MI200 + Path: /home/auser/repos/rocprofiler-compute/sample/workloads/vcopy/MI200 Target: MI200 Command: ./vcopy -n 1048576 -b 256 Kernel Selection: None @@ -314,20 +314,20 @@ kernel name substring list to isolate desired kernels. The following example demonstrates profiling isolating the kernel matching substring ``vecCopy``. -.. code-block:: shell +.. code-block:: shell-session - $ omniperf profile --name vcopy -k vecCopy -- ./vcopy -n 1048576 -b 256 + $ rocprof-compute profile --name vcopy -k vecCopy -- ./vcopy -n 1048576 -b 256 - ___ _ __ - / _ \ _ __ ___ _ __ (_)_ __ ___ _ __ / _| - | | | | '_ ` _ \| '_ \| | '_ \ / _ \ '__| |_ - | |_| | | | | | | | | | | |_) | __/ | | _| - \___/|_| |_| |_|_| |_|_| .__/ \___|_| |_| - |_| + __ _ + _ __ ___ ___ _ __ _ __ ___ / _| ___ ___ _ __ ___ _ __ _ _| |_ ___ + | '__/ _ \ / __| '_ \| '__/ _ \| |_ _____ / __/ _ \| '_ ` _ \| '_ \| | | | __/ _ \ + | | | (_) | (__| |_) | | | (_) | _|_____| (_| (_) | | | | | | |_) | |_| | || __/ + |_| \___/ \___| .__/|_| \___/|_| \___\___/|_| |_| |_| .__/ \__,_|\__\___| + |_| |_| - Omniperf version: 2.0.0 + rocprofiler-compute version: 2.0.0 Profiler choice: rocprofv1 - Path: /home/auser/repos/omniperf/sample/workloads/vcopy/MI200 + Path: /home/auser/repos/rocprofiler-compute/sample/workloads/vcopy/MI200 Target: MI200 Command: ./vcopy -n 1048576 -b 256 Kernel Selection: ['vecCopy'] @@ -349,20 +349,20 @@ Dispatch filtering is based on the *global* dispatch index of kernels in a run. The following example profiles only the first kernel dispatch in the execution of the application (note zero-based indexing). -.. code-block:: shell +.. code-block:: shell-session - $ omniperf profile --name vcopy -d 0 -- ./vcopy -n 1048576 -b 256 + $ rocprof-compute profile --name vcopy -d 0 -- ./vcopy -n 1048576 -b 256 - ___ _ __ - / _ \ _ __ ___ _ __ (_)_ __ ___ _ __ / _| - | | | | '_ ` _ \| '_ \| | '_ \ / _ \ '__| |_ - | |_| | | | | | | | | | | |_) | __/ | | _| - \___/|_| |_| |_|_| |_|_| .__/ \___|_| |_| - |_| + __ _ + _ __ ___ ___ _ __ _ __ ___ / _| ___ ___ _ __ ___ _ __ _ _| |_ ___ + | '__/ _ \ / __| '_ \| '__/ _ \| |_ _____ / __/ _ \| '_ ` _ \| '_ \| | | | __/ _ \ + | | | (_) | (__| |_) | | | (_) | _|_____| (_| (_) | | | | | | |_) | |_| | || __/ + |_| \___/ \___| .__/|_| \___/|_| \___\___/|_| |_| |_| .__/ \__,_|\__\___| + |_| |_| - Omniperf version: 2.0.0 + rocprofiler-compute version: 2.0.0 Profiler choice: rocprofv1 - Path: /home/auser/repos/omniperf/sample/workloads/vcopy/MI200 + Path: /home/auser/repos/rocprofiler-compute/sample/workloads/vcopy/MI200 Target: MI200 Command: ./vcopy -n 1048576 -b 256 Kernel Selection: None @@ -408,14 +408,14 @@ Roofline only The following example demonstrates profiling roofline data only: -.. code-block:: shell +.. code-block:: shell-session - $ omniperf profile --name vcopy --roof-only -- ./vcopy -n 1048576 -b 256 + $ rocprof-compute profile --name vcopy --roof-only -- ./vcopy -n 1048576 -b 256 ... - [roofline] Checking for roofline.csv in /home/auser/repos/omniperf/sample/workloads/vcopy/MI200 + [roofline] Checking for roofline.csv in /home/auser/repos/rocprofiler-compute/sample/workloads/vcopy/MI200 [roofline] No roofline data found. Generating... - Checking for roofline.csv in /home/auser/repos/omniperf/sample/workloads/vcopy/MI200 + Checking for roofline.csv in /home/auser/repos/rocprofiler-compute/sample/workloads/vcopy/MI200 Empirical Roofline Calculation Copyright © 2022 Advanced Micro Devices, Inc. All rights reserved. Total detected GPU devices: 4 @@ -427,7 +427,7 @@ The following example demonstrates profiling roofline data only: An inspection of our workload output folder shows ``.pdf`` plots were generated successfully. -.. code-block:: shell +.. code-block:: shell-session $ ls workloads/vcopy/MI200/ total 48 @@ -441,7 +441,7 @@ successfully. .. note:: - Omniperf generates two roofline outputs to organize results and reduce + ROCm Compute Profiler generates two roofline outputs to organize results and reduce clutter. One chart plots FP32/FP64 performance while the other plots I8/FP16 performance. @@ -450,6 +450,6 @@ plot. .. image:: ../../data/profile/sample-roof-plot.png :align: center - :alt: Sample Omniperf roofline output + :alt: Sample ROCm Compute Profiler roofline output :width: 800 diff --git a/docs/how-to/use.rst b/docs/how-to/use.rst index 7377dd9f9..c3ecc9417 100644 --- a/docs/how-to/use.rst +++ b/docs/how-to/use.rst @@ -1,13 +1,13 @@ .. meta:: - :description: Omniperf basic usage - :keywords: Omniperf, ROCm, profiler, tool, Instinct, accelerator, AMD, + :description: ROCm Compute Profiler basic usage + :keywords: ROCm Compute Profiler, ROCm, profiler, tool, Instinct, accelerator, AMD, basics, usage, operations *********** Basic usage *********** -The following section outlines basic Omniperf workflows, modes, options, and +The following section outlines basic ROCm Compute Profiler workflows, modes, options, and operations. Command line profiler @@ -18,7 +18,7 @@ Launch and profile the target application using the command line profiler. The command line profiler launches the target application, calls the ROCProfiler API via the ``rocprof`` binary, and collects profile results for the specified kernels, dispatches, and hardware components. If not -specified, Omniperf defaults to collecting all available counters for all +specified, ROCm Compute Profiler defaults to collecting all available counters for all kernels and dispatches launched by the your executable. To collect the default set of data for all kernels in the target @@ -26,7 +26,7 @@ application, launch, for example: .. code-block:: shell - $ omniperf profile -n vcopy_data -- ./vcopy -n 1048576 -b 256 + $ rocprof-compute profile -n vcopy_data -- ./vcopy -n 1048576 -b 256 This runs the app, launches each kernel, and generates profiling results. By default, results are written to a subdirectory with your accelerator's name; @@ -35,7 +35,7 @@ via the ``-n`` argument. .. note:: - To collect all requested profile information, Omniperf might replay kernels + To collect all requested profile information, ROCm Compute Profiler might replay kernels multiple times. .. _basic-filter-data-collection: @@ -67,7 +67,7 @@ argument: .. code-block:: shell - $ omniperf analyze --list-metrics + $ rocprof-compute analyze --list-metrics .. _basic-analyze-cli: @@ -87,7 +87,7 @@ To interact with profiling results from a different session, provide the workload path. ``-p``, ``--path`` - Enables you to analyze existing profiling data in the Omniperf CLI. + Enables you to analyze existing profiling data in the ROCm Compute Profiler CLI. See :doc:`analyze/cli` for more detailed information. @@ -97,16 +97,16 @@ Analyze in the Grafana GUI -------------------------- To conduct a more in-depth analysis of profiling results, it's suggested to use -a Grafana GUI with Omniperf. To interact with profiling results, import your -data to the MongoDB instance included in the Omniperf Dockerfile. See +a Grafana GUI with ROCm Compute Profiler. To interact with profiling results, import your +data to the MongoDB instance included in the ROCm Compute Profiler Dockerfile. See :doc:`/install/grafana-setup`. -To interact with Grafana data, stored in the Omniperf database, enter +To interact with Grafana data, stored in the ROCm Compute Profiler database, enter ``database`` :ref:`mode `; for example: .. code-block:: shell - $ omniperf database --import [CONNECTION OPTIONS] + $ rocprof-compute database --import [CONNECTION OPTIONS] See :doc:`/how-to/analyze/grafana-gui` for more detailed information. @@ -115,7 +115,7 @@ See :doc:`/how-to/analyze/grafana-gui` for more detailed information. Modes ===== -Modes change the fundamental behavior of the Omniperf command line tool. +Modes change the fundamental behavior of the ROCm Compute Profiler command line tool. Depending on which mode you choose, different command line options become available. @@ -133,10 +133,10 @@ Profile mode .. code-block:: shell - $ omniperf profile --help + $ rocprof-compute profile --help See :doc:`profile/mode` to learn about this mode in depth and to get started -profiling with Omniperf. +profiling with ROCm Compute Profiler. .. _modes-analyze: @@ -144,24 +144,24 @@ Analyze mode ------------ ``analyze`` - Loads profiling data from the ``--path`` (``-p``) directory into the Omniperf + Loads profiling data from the ``--path`` (``-p``) directory into the ROCm Compute Profiler CLI analyzer where you have immediate access to profiling results and generated metrics. It generates metrics from the entirety of your profiled - application or a subset identified through the Omniperf CLI analysis filters. + application or a subset identified through the ROCm Compute Profiler CLI analysis filters. To generate a lightweight GUI interface, you can add the ``--gui`` flag to your analysis command. - This mode is a middle ground to the highly detailed Omniperf Grafana GUI and + This mode is a middle ground to the highly detailed ROCm Compute Profiler Grafana GUI and is great if you want immediate access to a hardware component you’re already familiar with. .. code-block:: shell - $ omniperf analyze --help + $ rocprof-compute analyze --help See :doc:`analyze/mode` to learn about this mode in depth and to get started -with analysis using Omniperf. +with analysis using ROCm Compute Profiler. .. _modes-database: @@ -178,7 +178,7 @@ Database mode .. code-block:: shell - $ omniperf database --help + $ rocprof-compute database --help See :doc:`/install/grafana-setup` to learn about setting up a Grafana server and database instance to make your profiling data more digestible and shareable. @@ -188,11 +188,11 @@ database instance to make your profiling data more digestible and shareable. Global options ============== -The Omniperf command line tool has a set of *global* utility options that are +The ROCm Compute Profiler command line tool has a set of *global* utility options that are available across all modes. ``-v``, ``--version`` - Prints the Omniperf version and exits. + Prints the ROCm Compute Profiler version and exits. ``-V``, ``--verbose`` Increases output verbosity. Use multiple times for higher levels of @@ -206,7 +206,7 @@ available across all modes. .. note:: - Omniperf also recognizes the project variable, ``OMNIPERF_COLOR`` should you + ROCm Compute Profiler also recognizes the project variable, ``ROCPROFCOMPUTE_COLOR`` should you choose to disable colorful output. To disable default colorful behavior, set this variable to ``0``. @@ -215,7 +215,7 @@ available across all modes. Basic operations ================ -The following table lists Omniperf's basic operations, their +The following table lists ROCm Compute Profiler's basic operations, their :ref:`modes `, and required arguments. .. list-table:: diff --git a/docs/index.rst b/docs/index.rst index 1df329e7d..80cd512bb 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -1,34 +1,34 @@ .. meta:: - :description: Omniperf documentation and reference + :description: ROCm Compute Profiler documentation and reference :keywords: Omniperf, ROCm, profiler, tool, Instinct, accelerator, AMD -********************** -Omniperf documentation -********************** +*********************************** +ROCm Compute Profiler documentation +*********************************** -Omniperf documentation provides a comprehensive overview of Omniperf. -In addition to a full deployment guide with installation instructions, this -documentation also explains the ideas motivating the design behind the tool and -its components. +This documentation provides a comprehensive overview of the ROCm Compute +Profiler tool. In addition to a full deployment guide with installation +instructions, this documentation also explains the ideas motivating the design +behind the tool and its components. -If you're new to Omniperf, familiarize yourself with the tool by reviewing the +If you're new to ROCm Compute Profiler, familiarize yourself with the tool by reviewing the chapters that follow and gradually learn its more advanced features. To get -started, see :doc:`What is Omniperf? `. +started, see :doc:`What is ROCm Compute Profiler? `. -Omniperf is open source and hosted at ``__. +ROCm Compute Profiler is open source and hosted at ``__. .. grid:: 2 :gutter: 3 .. grid-item-card:: Install - * :doc:`install/core-install` - * :doc:`Grafana server for Omniperf ` + * :doc:`Installation and deployment ` + * :doc:`Grafana server for ROCm Compute Profiler ` .. grid-item:: -Use the following topics to learn more about the advantages of Omniperf in your -development toolkit, how it aims to model performance, and how to use Omniperf +Use the following topics to learn more about the advantages of ROCm Compute Profiler in your +development toolkit, how it aims to model performance, and how to use ROCm Compute Profiler in practice. .. grid:: 2 diff --git a/docs/install/core-install.rst b/docs/install/core-install.rst index f33b97622..12985b4e9 100644 --- a/docs/install/core-install.rst +++ b/docs/install/core-install.rst @@ -1,15 +1,15 @@ .. meta:: - :description: Omniperf installation and deployment - :keywords: Omniperf, ROCm, profiler, tool, Instinct, accelerator, AMD, + :description: ROCm Compute Profiler installation and deployment + :keywords: Omniperf, ROCm Compute Profiler, ROCm, tool, Instinct, accelerator, AMD, install, deploy, Grafana, client, configuration, modulefiles -********************************* -Installing and deploying Omniperf -********************************* +********************************************** +Installing and deploying ROCm Compute Profiler +********************************************** -Omniperf consists of two installation components. +ROCm Compute Profiler consists of two installation components. -* :ref:`Omniperf core installation ` (client-side) +* :ref:`ROCm Compute Profiler core installation ` (client-side) * Provides the core application profiling capability. * Allows the collection of performance counters, filtering by hardware @@ -17,27 +17,27 @@ Omniperf consists of two installation components. * Provides a CLI-based analysis mode. * Provides a standalone web interface for importing analysis metrics. -* :doc:`Grafana server for Omniperf ` (server-side) (*optional*) +* :doc:`Grafana server for ROCm Compute Profiler ` (server-side) (*optional*) * Hosts the MongoDB backend and Grafana instance. * Is packaged in a Docker container for easy setup. Determine what you need to install based on how you would like to interact with -Omniperf. See the following decision tree to help determine what installation is +ROCm Compute Profiler. See the following decision tree to help determine what installation is right for you. .. image:: ../data/install/install-decision-tree.png :align: center - :alt: Decision tree for installing and deploying Omniperf + :alt: Decision tree for installing and deploying ROCm Compute Profiler :width: 800 .. _core-install: - + Core installation ================= -The core Omniperf application requires the following basic software -dependencies. As of ROCm 6.2, the core Omniperf is included with your ROCm +The core ROCm Compute Profiler application requires the following basic software +dependencies. As of ROCm 6.2, the core ROCm Compute Profiler is included with your ROCm installation. * Python ``>= 3.8`` @@ -46,16 +46,16 @@ installation. .. 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. + ROCm Compute Profiler will use the first version of ``python3`` found in your system's + ``PATH``. If the default version of Python is older than 3.8, you may need to + update your system's ``PATH`` to point to a newer version. -Omniperf depends on a number of Python packages documented in the top-level -``requirements.txt`` file. Install these *before* configuring Omniperf. +ROCm Compute Profiler depends on a number of Python packages documented in the top-level +``requirements.txt`` file. Install these *before* configuring ROCm Compute Profiler. .. tip:: - If looking to build Omniperf as a developer, consider these additional + If looking to build ROCm Compute Profiler as a developer, consider these additional requirements. .. list-table:: @@ -64,23 +64,23 @@ Omniperf depends on a number of Python packages documented in the top-level - Python packages required to build this documentation from source. * - ``requirements-test.txt`` - - Python packages required to run Omniperf's CI suite using PyTest. + - Python packages required to run ROCm Compute Profiler's CI suite using PyTest. -The recommended procedure for Omniperf usage is to install into a shared file +The recommended procedure for ROCm Compute Profiler usage is to install into a shared file system so that multiple users can access the final installation. The following steps illustrate how to install the necessary Python dependencies -using `pip `_ and Omniperf into a +using `pip `_ and ROCm Compute Profiler 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 + To always run ROCm Compute Profiler with a particular version of Python, you can create a + bash alias. For example, to run ROCm Compute Profiler with Python 3.10, you can run the following command: .. code-block:: shell - alias omniperf-mypython="/usr/bin/python3.10 /opt/rocm/bin/omniperf" + alias rocprof-compute-mypython="/usr/bin/python3.10 /opt/rocm/bin/rocprof-compute" .. _core-install-cmake-vars: @@ -97,13 +97,13 @@ follows. - Description * - ``CMAKE_INSTALL_PREFIX`` - - Controls the install path for Omniperf files. + - Controls the install path for ROCm Compute Profiler files. * - ``PYTHON_DEPS`` - Specifies an optional path to resolve Python package dependencies. * - ``MOD_INSTALL_PATH`` - - Specifies an optional path for separate Omniperf modulefile installation. + - Specifies an optional path for separate ROCm Compute Profiler modulefile installation. .. _core-install-steps: @@ -111,20 +111,20 @@ Install from source ------------------- #. A typical install begins by downloading the latest release tarball available - from ``__. From there, untar and + from ``__. From there, untar and navigate into the top-level directory. .. - {{ config.version }} substitutes the Omniperf version in ../conf.py + {{ config.version }} substitutes the ROCm Compute Profiler version in ../conf.py .. datatemplate:nodata:: .. code-block:: shell - tar xfz omniperf-v{{ config.version }}.tar.gz - cd omniperf-v{{ config.version }} + tar xfz rocprofiler-compute-v{{ config.version }}.tar.gz + cd rocprofiler-compute-v{{ config.version }} -#. Next, install Python dependencies and complete the Omniperf configuration and +#. Next, install Python dependencies and complete the ROCm Compute Profiler configuration and install process. .. datatemplate:nodata:: @@ -137,12 +137,12 @@ Install from source # install python deps python3 -m pip install -t ${INSTALL_DIR}/python-libs -r requirements.txt - # configure Omniperf for shared install + # configure ROCm Compute Profiler for shared install mkdir build 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/rocprofiler-compute .. # install make install @@ -169,33 +169,33 @@ Execution using modulefiles The installation process includes the creation of an environment modulefile for use with `Lmod `_. On systems that support Lmod, -you can register the Omniperf modulefile directory and setup your environment -for execution of Omniperf as follows. +you can register the ROCm Compute Profiler modulefile directory and setup your environment +for execution of ROCm Compute Profiler as follows. .. datatemplate:nodata:: .. code-block:: shell $ module use $INSTALL_DIR/modulefiles - $ module load omniperf - $ which omniperf - /opt/apps/omniperf/{{ config.version }}/bin/omniperf + $ module load rocprofiler-compute + $ which rocprof-compute + /opt/apps/rocprofiler-compute/{{ config.version }}/bin/rocprof-compute - $ omniperf --version + $ rocprof-compute --version ROC Profiler: /opt/rocm-5.1.0/bin/rocprof - omniperf (v{{ config.version }}) + rocprofiler-compute (v{{ config.version }}) .. tip:: If you're relying on an Lmod Python module locally, you may wish to customize - the resulting Omniperf modulefile post-installation to include extra + the resulting ROCm Compute Profiler modulefile post-installation to include extra module dependencies. Execution without modulefiles ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -To use Omniperf without the companion modulefile, update your ``PATH`` +To use ROCm Compute Profiler without the companion modulefile, update your ``PATH`` settings to enable access to the command line binary. If you installed Python dependencies in a shared location, also update your ``PYTHONPATH`` configuration. @@ -212,7 +212,7 @@ configuration. Install via package manager --------------------------- -Once ROCm (minimum version 6.2.0) is installed, you can install Omniperf using +Once ROCm (minimum version 6.2.0) is installed, you can install ROCm Compute Profiler using your operating system's native package manager using the following commands. See :doc:`rocm-install-on-linux:index` for guidance on installing the ROCm software stack. @@ -223,38 +223,38 @@ 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 + $ sudo apt install rocprofiler-compute + # Include rocprofiler-compute in your system PATH + $ sudo update-alternatives --install /usr/bin/rocprofiler-compute rocprof-compute /opt/rocm/bin/rocprofiler-compute 0 # Install Python dependencies - $ python3 -m pip install -r /opt/rocm/libexec/omniperf/requirements.txt + $ python3 -m pip install -r /opt/rocm/libexec/rocprofiler-compute/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 + $ sudo dnf install rocprofiler-compute + # Include rocprofiler-compute in your system PATH + $ sudo update-alternatives --install /usr/bin/rocprofiler-compute rocprof-compute /opt/rocm/bin/rocprofiler-compute 0 # Install Python dependencies - $ python3 -m pip install -r /opt/rocm/libexec/omniperf/requirements.txt + $ python3 -m pip install -r /opt/rocm/libexec/rocprofiler-compute/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 + $ sudo zypper install rocprofiler-compute + # Include rocprofiler-compute in your system PATH + $ sudo update-alternatives --install /usr/bin/rocprofiler-compute rocprof-compute /opt/rocm/bin/rocprofiler-compute 0 # Install Python dependencies - $ python3 -m pip install -r /opt/rocm/libexec/omniperf/requirements.txt + $ python3 -m pip install -r /opt/rocm/libexec/rocprofiler-compute/requirements.txt .. _core-install-rocprof-var: ROCProfiler ----------- -Omniperf relies on :doc:`ROCProfiler `'s ``rocprof`` binary +ROCm Compute Profiler relies on :doc:`ROCProfiler `'s ``rocprof`` binary during the profiling process. Normally, the path to this binary is detected automatically, but you can override the path by the setting the optional ``ROCPROF`` environment variable. diff --git a/docs/install/grafana-setup.rst b/docs/install/grafana-setup.rst index a7486d286..4ef28f85b 100644 --- a/docs/install/grafana-setup.rst +++ b/docs/install/grafana-setup.rst @@ -1,26 +1,26 @@ .. meta:: - :description: Omniperf Grafana server installation and deployment - :keywords: Omniperf, ROCm, profiler, tool, Instinct, accelerator, AMD, + :description: ROCm Compute Profiler Grafana server installation and deployment + :keywords: ROCm Compute Profiler, ROCm, profiler, tool, Instinct, accelerator, AMD, install, deploy, Grafana, server, configuration, GUI -**************************************** -Setting up a Grafana server for Omniperf -**************************************** +*************************************************** +Setting up Grafana server for ROCm Compute Profiler +*************************************************** A Grafana server is *not required* to profile or analyze performance data from the CLI. It's a supplementary mechanism to help you import performance data and examine it in a detailed `Grafana `_ dashboard GUI. -Learn about installing and configuring the main Omniperf tool in +Learn about installing and configuring the main ROCm Compute Profiler tool in :ref:`core-install`. -Setting up a Grafana instance for Omniperf requires the following basic software +Setting up a Grafana instance for ROCm Compute Profiler requires the following basic software dependencies. * `Docker Engine `_ -The recommended process for enabling the server-side of Omniperf is to use the +The recommended process for enabling the server-side of ROCm Compute Profiler is to use the provided ``Dockerfile`` to build the Grafana and MongoDB instance. .. _grafana-mongodb-setup: @@ -34,7 +34,7 @@ the following setup instructions. Install MongoDB utilities ------------------------- -Omniperf uses the +ROCm Compute Profiler uses the `mongoimport `_ utility to upload data to your Grafana instance's backend database. @@ -70,7 +70,7 @@ crash or reset. This is called *creating a persistent volume*. Build and launch the Docker container ------------------------------------- -You're now ready to build your ``Dockerfile``. Navigate to your Omniperf install +You're now ready to build your ``Dockerfile``. Navigate to your ROCm Compute Profiler install directory to begin. .. code-block:: bash @@ -79,6 +79,13 @@ 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. @@ -158,12 +165,12 @@ connection is successful. .. _grafana-import-dashboard-file: -Import the Omniperf dashboard file ----------------------------------- +Import the ROCm Compute Profiler dashboard file +----------------------------------------------- From the **Create** → **Import** page, upload the dashboard file, -``/dashboards/Omniperf_v{__VERSION__}_pub.json`` from the -:doc:`Omniperf tarball `. +``/dashboards/RocProfCompute_v{__VERSION__}_pub.json`` from the +:doc:`ROCm Compute Profiler tarball `. Edit both the dashboard **Name** and the **Unique identifier (UID)** fields to uniquely identify the dashboard. Click **Import** to complete the process. @@ -177,21 +184,21 @@ uniquely identify the dashboard. Click **Import** to complete the process. .. _grafana-select-workload: -Select and load the Omniperf workload -------------------------------------- +Select and load the ROCm Compute Profiler workload +-------------------------------------------------- Once you have imported a dashboard you're ready to begin. Start by browsing available dashboards and selecting the dashboard you have just imported. .. figure:: ../data/install/opening_dashboard.png :align: center - :alt: Opening your Omniperf dashboard in Grafana + :alt: Opening your ROCm Compute Profiler dashboard in Grafana :width: 800 - Opening your Omniperf profiling dashboard in Grafana. + Opening your ROCm Compute Profiler profiling dashboard in Grafana. Remember that you need to upload workload data to the MongoDB backend before -analyzing in your Grafana interface. See a detailed example of this in +analyzing in your Grafana interface. See a detailed example of this in :ref:`grafana-gui-import`. After a workload has been successfully uploaded, you should be able to select it @@ -199,10 +206,10 @@ from the workload dropdown located at the top of your Grafana dashboard. .. figure:: ../data/install/grafana_workload_selection.png :align: center - :alt: Omniperf workload selection in Grafana + :alt: ROCm Compute Profiler workload selection in Grafana :width: 800 - Selecting your Omniperf workload in Grafana. + Selecting your ROCm Compute Profiler workload in Grafana. For more information on how to use the Grafana interface for analysis see :doc:`/how-to/analyze/grafana-gui`. diff --git a/docs/license.rst b/docs/license.rst index c423ed34f..b64c89729 100644 --- a/docs/license.rst +++ b/docs/license.rst @@ -1,6 +1,6 @@ .. meta:: - :description: Omniperf license - :keywords: Omniperf, ROCm, profiler, tool, Instinct, accelerator, AMD, + :description: ROCm Compute Profiler license + :keywords: ROCm Compute Profiler, ROCm, profiler, tool, Instinct, accelerator, AMD, license ******* diff --git a/docs/reference/compatible-accelerators.rst b/docs/reference/compatible-accelerators.rst index b93c72032..65a3f70a1 100644 --- a/docs/reference/compatible-accelerators.rst +++ b/docs/reference/compatible-accelerators.rst @@ -1,36 +1,36 @@ .. meta:: - :description: Omniperf support: compatible accelerators and GPUs - :keywords: Omniperf, ROCm, profiler, tool, Instinct, accelerator, AMD, GPU + :description: ROCm Compute Profiler support: compatible accelerators and GPUs + :keywords: Omniperf, compatible, cdna, gcn, gfx, rdna, radeon, hardware, architecture *********************** Compatible accelerators *********************** The following table lists SoCs (System on Chip) tested for compatibility with -Omniperf. See :doc:`rocm:reference/gpu-arch-specs` for full AMD accelerator and +ROCm Compute Profiler. See :doc:`rocm:reference/gpu-arch-specs` for full AMD accelerator and GPU specifications. .. _def-soc: .. note:: - In Omniperf documentation, the term System on Chip (SoC) refers to a + In ROCm Compute Profiler documentation, the term System on Chip (SoC) refers to a particular family of AMD accelerators. .. list-table:: - :header-rows: 1 + :header-rows: 1 - * - Platform - - Status + * - Platform + - Status - * - AMD Instinct™ MI300 - - Supported ✅ + * - AMD Instinct™ MI300 + - Supported ✅ - * - AMD Instinct MI200 - - Supported ✅ + * - AMD Instinct MI200 + - Supported ✅ - * - AMD Instinct MI100 - - Supported ✅ + * - AMD Instinct MI100 + - Supported ✅ - * - AMD Instinct MI50, MI60 (Vega 20) - - No support ❌ + * - AMD Instinct MI50, MI60 (Vega 20) + - No support ❌ diff --git a/docs/reference/faq.rst b/docs/reference/faq.rst index 3cbbe778f..2ec10debf 100644 --- a/docs/reference/faq.rst +++ b/docs/reference/faq.rst @@ -1,6 +1,6 @@ .. meta:: - :description: Omniperf FAQ and troubleshooting - :keywords: Omniperf, FAQ, troubleshooting, ROCm, profiler, tool, Instinct, + :description: ROCm Compute Profiler FAQ and troubleshooting + :keywords: ROCm Compute Profiler, FAQ, troubleshooting, ROCm, profiler, tool, Instinct, accelerator, AMD, SSH, error, version, workaround, help *** @@ -9,8 +9,8 @@ FAQ Frequently asked questions and troubleshooting tips. -How do I export profiling data I have already generated using Omniperf? -======================================================================= +How do I export profiling data I have already generated using ROCm Compute Profiler? +==================================================================================== To interact with the Grafana GUI, you must sync data with the MongoDB backend. You can do this using :ref:`database ` mode. @@ -19,7 +19,7 @@ Pass in the directory of your desired workload as follows. .. code-block:: shell - $ omniperf database --import -w -H -u -t + $ rocprof-compute database --import -w -H -u -t python ast error: 'Constant' object has no attribute 'kind' =========================================================== diff --git a/docs/sphinx/_toc.yml.in b/docs/sphinx/_toc.yml.in index eb863b7a3..7df82fc8b 100644 --- a/docs/sphinx/_toc.yml.in +++ b/docs/sphinx/_toc.yml.in @@ -6,13 +6,14 @@ defaults: root: index subtrees: - entries: - - file: what-is-omniperf.rst + - file: what-is-rocprof-compute.rst - caption: Install entries: - file: install/core-install.rst + title: Installation and deployment - file: install/grafana-setup.rst - title: Grafana server for Omniperf + title: Grafana server setup - caption: How to entries: diff --git a/docs/tutorial/includes/infinity-fabric-transactions.rst b/docs/tutorial/includes/infinity-fabric-transactions.rst index fd510bd49..9e26e59bd 100644 --- a/docs/tutorial/includes/infinity-fabric-transactions.rst +++ b/docs/tutorial/includes/infinity-fabric-transactions.rst @@ -5,7 +5,7 @@ Infinity Fabric transactions For this example, consider the :dev-sample:`Infinity Fabric™ sample ` distributed as a part of - Omniperf. + ROCm Compute Profiler. This following code snippet launches a simple read-only kernel. @@ -36,7 +36,7 @@ is identically false -- and thus we expect no writes. .. note:: - The actual sample included with Omniperf also includes the ability to select + The actual sample included with ROCm Compute Profiler also includes the ability to select different operation types (such as atomics, writes). This abbreviated version is presented here for reference only. @@ -44,13 +44,13 @@ Finally, this sample code lets the user control the :ref:`granularity of an allocation `, the owner of an allocation (local HBM, CPU DRAM or remote HBM), and the size of an allocation (the default is :math:`\sim4`\ GiB) via command line arguments. In doing so, we can explore -the impact of these parameters on the L2-Fabric metrics reported by Omniperf to +the impact of these parameters on the L2-Fabric metrics reported by ROCm Compute Profiler to further understand their meaning. .. note:: All results in this section were generated an a node of Infinity - Fabric connected MI250 accelerators using ROCm version 5.6.0, and Omniperf + Fabric connected MI250 accelerators using ROCm version 5.6.0, and ROCm Compute Profiler version 2.0.0. Although results may vary with ROCm versions and accelerator connectivity, we expect the lessons learned here to be broadly applicable. @@ -64,7 +64,7 @@ In our first experiment, we consider the simplest possible case, a .. code-block:: shell-session - $ omniperf profile -n coarse_grained_local --no-roof -- ./fabric -t 1 -o 0 + $ rocprof-compute profile -n coarse_grained_local --no-roof -- ./fabric -t 1 -o 0 Using: mtype:CoarseGrained mowner:Device @@ -73,7 +73,7 @@ In our first experiment, we consider the simplest possible case, a mdata:Unsigned remoteId:-1 <...> - $ omniperf analyze -p workloads/coarse_grained_local/mi200 -b 17.2.0 17.2.1 17.2.2 17.4.0 17.4.1 17.4.2 17.5.0 17.5.1 17.5.2 17.5.3 17.5.4 -n per_kernel --dispatch 2 + $ rocprof-compute analyze -p workloads/coarse_grained_local/mi200 -b 17.2.0 17.2.1 17.2.2 17.4.0 17.4.1 17.4.2 17.5.0 17.5.1 17.5.2 17.5.3 17.5.4 -n per_kernel --dispatch 2 <...> 17. L2 Cache 17.2 L2 - Fabric Transactions @@ -163,7 +163,7 @@ accelerator. Our code uses the ``hipExtMallocWithFlag`` API with the .. code-block:: shell-session - $ omniperf profile -n fine_grained_local --no-roof -- ./fabric -t 0 -o 0 + $ rocprof-compute profile -n fine_grained_local --no-roof -- ./fabric -t 0 -o 0 Using: mtype:FineGrained mowner:Device @@ -172,7 +172,7 @@ accelerator. Our code uses the ``hipExtMallocWithFlag`` API with the mdata:Unsigned remoteId:-1 <...> - $ omniperf analyze -p workloads/fine_grained_local/mi200 -b 17.2.0 17.2.1 17.2.2 17.2.3 17.4.0 17.4.1 17.4.2 17.5.0 17.5.1 17.5.2 17.5.3 17.5.4 -n per_kernel --dispatch 2 + $ rocprof-compute analyze -p workloads/fine_grained_local/mi200 -b 17.2.0 17.2.1 17.2.2 17.2.3 17.4.0 17.4.1 17.4.2 17.5.0 17.5.1 17.5.2 17.5.3 17.5.4 -n per_kernel --dispatch 2 <...> 17. L2 Cache 17.2 L2 - Fabric Transactions @@ -245,7 +245,7 @@ substantial change in the L2-Fabric metrics: .. code-block:: shell-session - $ omniperf profile -n fine_grained_remote --no-roof -- ./fabric -t 0 -o 2 + $ rocprof-compute profile -n fine_grained_remote --no-roof -- ./fabric -t 0 -o 2 Using: mtype:FineGrained mowner:Remote @@ -254,7 +254,7 @@ substantial change in the L2-Fabric metrics: mdata:Unsigned remoteId:-1 <...> - $ omniperf analyze -p workloads/fine_grained_remote/mi200 -b 17.2.0 17.2.1 17.2.2 17.2.3 17.4.0 17.4.1 17.4.2 17.5.0 17.5.1 17.5.2 17.5.3 17.5.4 -n per_kernel --dispatch 2 + $ rocprof-compute analyze -p workloads/fine_grained_remote/mi200 -b 17.2.0 17.2.1 17.2.2 17.2.3 17.4.0 17.4.1 17.4.2 17.5.0 17.5.1 17.5.2 17.5.3 17.5.4 -n per_kernel --dispatch 2 <...> 17. L2 Cache 17.2 L2 - Fabric Transactions @@ -339,7 +339,7 @@ fine-grained memory using the ``hipHostMalloc`` API: .. code-block:: shell-session - $ omniperf profile -n fine_grained_host --no-roof -- ./fabric -t 0 -o 1 + $ rocprof-compute profile -n fine_grained_host --no-roof -- ./fabric -t 0 -o 1 Using: mtype:FineGrained mowner:Host @@ -348,7 +348,7 @@ fine-grained memory using the ``hipHostMalloc`` API: mdata:Unsigned remoteId:-1 <...> - $ omniperf analyze -p workloads/fine_grained_host/mi200 -b 17.2.0 17.2.1 17.2.2 17.2.3 17.4.0 17.4.1 17.4.2 17.5.0 17.5.1 17.5.2 17.5.3 17.5.4 -n per_kernel --dispatch 2 + $ rocprof-compute analyze -p workloads/fine_grained_host/mi200 -b 17.2.0 17.2.1 17.2.2 17.2.3 17.4.0 17.4.1 17.4.2 17.5.0 17.5.1 17.5.2 17.5.3 17.5.4 -n per_kernel --dispatch 2 <...> 17. L2 Cache 17.2 L2 - Fabric Transactions @@ -416,7 +416,7 @@ allocation as coarse-grained: .. code-block:: shell-session - $ omniperf profile -n coarse_grained_host --no-roof -- ./fabric -t 1 -o 1 + $ rocprof-compute profile -n coarse_grained_host --no-roof -- ./fabric -t 1 -o 1 Using: mtype:CoarseGrained mowner:Host @@ -425,7 +425,7 @@ allocation as coarse-grained: mdata:Unsigned remoteId:-1 <...> - $ omniperf analyze -p workloads/coarse_grained_host/mi200 -b 17.2.0 17.2.1 17.2.2 17.2.3 17.4.0 17.4.1 17.4.2 17.5.0 17.5.1 17.5.2 17.5.3 17.5.4 -n per_kernel --dispatch 2 + $ rocprof-compute analyze -p workloads/coarse_grained_host/mi200 -b 17.2.0 17.2.1 17.2.2 17.2.3 17.4.0 17.4.1 17.4.2 17.5.0 17.5.1 17.5.2 17.5.3 17.5.4 -n per_kernel --dispatch 2 <...> 17. L2 Cache 17.2 L2 - Fabric Transactions @@ -484,7 +484,7 @@ operations to fine-grained memory allocated on the host: .. code-block:: shell-session - $ omniperf profile -n fine_grained_host_write --no-roof -- ./fabric -t 0 -o 1 -p 1 + $ rocprof-compute profile -n fine_grained_host_write --no-roof -- ./fabric -t 0 -o 1 -p 1 Using: mtype:FineGrained mowner:Host @@ -493,7 +493,7 @@ operations to fine-grained memory allocated on the host: mdata:Unsigned remoteId:-1 <...> - $ omniperf analyze -p workloads/fine_grained_host_writes/mi200 -b 17.2.4 17.2.5 17.2.6 17.2.7 17.2.8 17.4.3 17.4.4 17.4.5 17.4.6 17.5.5 17.5.6 17.5.7 17.5.8 17.5.9 17.5.10 -n per_kernel --dispatch 2 + $ rocprof-compute analyze -p workloads/fine_grained_host_writes/mi200 -b 17.2.4 17.2.5 17.2.6 17.2.7 17.2.8 17.4.3 17.4.4 17.4.5 17.4.6 17.5.5 17.5.6 17.5.7 17.5.8 17.5.9 17.5.10 -n per_kernel --dispatch 2 <...> 17. L2 Cache 17.2 L2 - Fabric Transactions @@ -576,7 +576,7 @@ operations to the CPU’s DRAM. .. code-block:: shell-session - $ omniperf profile -n fine_grained_host_add --no-roof -- ./fabric -t 0 -o 1 -p 2 + $ rocprof-compute profile -n fine_grained_host_add --no-roof -- ./fabric -t 0 -o 1 -p 2 Using: mtype:FineGrained mowner:Host @@ -585,7 +585,7 @@ operations to the CPU’s DRAM. mdata:Unsigned remoteId:-1 <...> - $ omniperf analyze -p workloads/fine_grained_host_add/mi200 -b 17.2.4 17.2.5 17.2.6 17.2.7 17.2.8 17.4.3 17.4.4 17.4.5 17.4.6 17.5.5 17.5.6 17.5.7 17.5.8 17.5.9 17.5.10 -n per_kernel --dispatch 2 + $ rocprof-compute analyze -p workloads/fine_grained_host_add/mi200 -b 17.2.4 17.2.5 17.2.6 17.2.7 17.2.8 17.4.3 17.4.4 17.4.5 17.4.6 17.5.5 17.5.6 17.5.7 17.5.8 17.5.9 17.5.10 -n per_kernel --dispatch 2 <...> 17. L2 Cache 17.2 L2 - Fabric Transactions diff --git a/docs/tutorial/includes/instructions-per-cycle-and-utilizations.rst b/docs/tutorial/includes/instructions-per-cycle-and-utilizations.rst index dcbf37266..c9efe8502 100644 --- a/docs/tutorial/includes/instructions-per-cycle-and-utilizations.rst +++ b/docs/tutorial/includes/instructions-per-cycle-and-utilizations.rst @@ -5,7 +5,7 @@ Instructions-per-cycle and utilizations example For this example, consider the :dev-sample:`instructions-per-cycle (IPC) example ` included with -Omniperf. +ROCm Compute Profiler. This example is compiled using ``c++17`` support: @@ -17,7 +17,7 @@ and was run on an MI250 CDNA2 accelerator: .. code-block:: shell - $ omniperf profile -n ipc --no-roof -- ./ipc + $ rocprof-compute profile -n ipc --no-roof -- ./ipc The results shown in this section are *generally* applicable to CDNA accelerators, but may vary between generations and specific products. @@ -64,11 +64,11 @@ operation, i.e., a ``v_mov_b32`` instruction, e.g.: This instruction simply copies the contents from the source register (``v1``) to the destination register (``v0``). Investigating this kernel -with Omniperf, we see: +with ROCm Compute Profiler, we see: .. code-block:: shell-session - $ omniperf analyze -p workloads/ipc/mi200/ --dispatch 7 -b 11.2 + $ rocprof-compute analyze -p workloads/ipc/mi200/ --dispatch 7 -b 11.2 <...> -------------------------------------------------------------------------------- 0. Top Stat @@ -172,7 +172,7 @@ in the IPC example: .. code-block:: shell - $ omniperf analyze -p workloads/ipc/mi200/ --dispatch 8 -b 11.2 --decimal 4 + $ rocprof-compute analyze -p workloads/ipc/mi200/ --dispatch 8 -b 11.2 --decimal 4 <...> -------------------------------------------------------------------------------- 0. Top Stat @@ -240,7 +240,7 @@ instructions executed over the total There are further complications of the Issued IPC metric (**11.2.1**) that make its use more complicated. We will be explore that in the :ref:`following section `. For these reasons, - Omniperf typically promotes use of the regular IPC metric (**11.2.0**), e.g., in + ROCm Compute Profiler typically promotes use of the regular IPC metric (**11.2.0**), e.g., in the top-level Speed-of-Light chart. .. _ipc-internal-instructions: @@ -261,11 +261,11 @@ Here we choose to use the following no-op to make our point: s_nop 0x0 -Running this kernel through Omniperf yields: +Running this kernel through ROCm Compute Profiler yields: .. code-block:: shell-session - $ omniperf analyze -p workloads/ipc/mi200/ --dispatch 9 -b 11.2 + $ rocprof-compute analyze -p workloads/ipc/mi200/ --dispatch 9 -b 11.2 <...> -------------------------------------------------------------------------------- 0. Top Stat @@ -362,11 +362,11 @@ operation, for instance: which, in analogue to our :ref:`v_mov ` example, copies the contents of the source scalar register (``s1``) to the destination -scalar register (``s0``). Running this kernel through Omniperf yields: +scalar register (``s0``). Running this kernel through ROCm Compute Profiler yields: .. code-block:: shell-session - $ omniperf analyze -p workloads/ipc/mi200/ --dispatch 10 -b 11.2 + $ rocprof-compute analyze -p workloads/ipc/mi200/ --dispatch 10 -b 11.2 <...> -------------------------------------------------------------------------------- 0. Top Stat @@ -426,11 +426,11 @@ of our :ref:`v_mov ` example: That is, we wrap our :ref:`VALU ` operation inside a conditional where only one lane in our wavefront is active. Running this kernel -through Omniperf yields: +through ROCm Compute Profiler yields: .. code-block:: shell-session - $ omniperf analyze -p workloads/ipc/mi200/ --dispatch 11 -b 11.2 + $ rocprof-compute analyze -p workloads/ipc/mi200/ --dispatch 11 -b 11.2 <...> -------------------------------------------------------------------------------- 0. Top Stat diff --git a/docs/tutorial/includes/lds-examples.rst b/docs/tutorial/includes/lds-examples.rst index f6cff7b72..8d1b7b1a9 100644 --- a/docs/tutorial/includes/lds-examples.rst +++ b/docs/tutorial/includes/lds-examples.rst @@ -4,22 +4,22 @@ LDS examples ============ For this example, consider the -:dev-sample:`LDS sample ` distributed as a part of Omniperf. This +:dev-sample:`LDS sample ` distributed as a part of ROCm Compute Profiler. This code contains two kernels to explore how both :doc:`LDS ` bandwidth and -bank conflicts are calculated in Omniperf. +bank conflicts are calculated in ROCm Compute Profiler. This example was compiled and run on an MI250 accelerator using ROCm -v5.6.0, and Omniperf v2.0.0. +v5.6.0, and ROCm Compute Profiler v2.0.0. .. code-block:: shell-session $ hipcc -O3 lds.hip -o lds -Finally, we generate our ``omniperf profile`` as: +Finally, we generate our ``rocprof-compute profile`` as: .. code-block:: shell-session - $ omniperf profile -n lds --no-roof -- ./lds + $ rocprof-compute profile -n lds --no-roof -- ./lds .. _lds-bandwidth: @@ -71,7 +71,7 @@ Next, let’s analyze the first of our bandwidth kernel dispatches: .. code-block:: shell - $ omniperf analyze -p workloads/lds/mi200/ -b 12.2.1 --dispatch 0 -n per_kernel + $ rocprof-compute analyze -p workloads/lds/mi200/ -b 12.2.1 --dispatch 0 -n per_kernel <...> 12. Local Data Share (LDS) 12.2 LDS Stats @@ -93,7 +93,7 @@ Recall our definition of this metric: Here we see that this instruction *could* have loaded up to 256 bytes of data (4 bytes for each work-item in the wavefront), and therefore this -is the expected value for this metric in Omniperf, hence why this metric +is the expected value for this metric in ROCm Compute Profiler, hence why this metric is named the “theoretical” bandwidth. To further illustrate this point we plot the relationship of the @@ -104,11 +104,11 @@ launched from 1 to 256: .. figure:: ../data/profiling-by-example/ldsbandwidth.png :align: center :alt: Comparison of effective bandwidth versus the theoretical bandwidth - metric in Omniperf for our simple example. + metric in ROCm Compute Profiler for our simple example. :width: 800 Comparison of effective bandwidth versus the theoretical bandwidth - metric in Omniperf for our simple example. + metric in ROCm Compute Profiler for our simple example. Here we see that the theoretical bandwidth metric follows a step-function. It increases only when another wavefront issues an LDS instruction for up to 256 @@ -172,7 +172,7 @@ see: .. code-block:: shell - $ omniperf analyze -p workloads/lds/mi200/ -b 12.2.4 12.2.6 --dispatch 256 -n per_kernel + $ rocprof-compute analyze -p workloads/lds/mi200/ -b 12.2.4 12.2.6 --dispatch 256 -n per_kernel <...> -------------------------------------------------------------------------------- 12. Local Data Share (LDS) @@ -196,7 +196,7 @@ Looking at the next ``conflicts`` dispatch (i.e., two work-items) yields: .. code-block:: shell - $ omniperf analyze -p workloads/lds/mi200/ -b 12.2.4 12.2.6 --dispatch 257 -n per_kernel + $ rocprof-compute analyze -p workloads/lds/mi200/ -b 12.2.4 12.2.6 --dispatch 257 -n per_kernel <...> -------------------------------------------------------------------------------- 12. Local Data Share (LDS) diff --git a/docs/tutorial/includes/occupancy-limiters-example.rst b/docs/tutorial/includes/occupancy-limiters-example.rst index bd8129d12..dcbd6a61b 100644 --- a/docs/tutorial/includes/occupancy-limiters-example.rst +++ b/docs/tutorial/includes/occupancy-limiters-example.rst @@ -4,15 +4,15 @@ Occupancy limiters example ========================== For this example, consider the -:dev-sample:`occupancy ` included with Omniperf. We will +:dev-sample:`occupancy ` included with ROCm Compute Profiler. We will investigate the use of the resource allocation panel in the :ref:`Workgroup Manager `’s metrics section to determine occupancy limiters. This code contains several kernels to explore how both various kernel resources impact achieved occupancy, and how this is reported in -Omniperf. +ROCm Compute Profiler. This example was compiled and run on a MI250 accelerator using ROCm -v5.6.0, and Omniperf v2.0.0: +v5.6.0, and ROCm Compute Profiler v2.0.0: .. code-block:: shell @@ -21,11 +21,11 @@ v5.6.0, and Omniperf v2.0.0: We have again included the ``--save-temps`` flag to get the corresponding assembly. -Finally, we generate our Omniperf profile as: +Finally, we generate our ROCm Compute Profiler profile as: .. code-block:: shell - $ omniperf profile -n occupancy --no-roof -- ./occupancy + $ rocprof-compute profile -n occupancy --no-roof -- ./occupancy .. _occupancy-experiment-design: @@ -88,7 +88,7 @@ depend on the exact ROCm/compiler version. We will use various permutations of this kernel to limit occupancy, and more importantly for the purposes of this example, demonstrate how this -is reported in Omniperf. +is reported in ROCm Compute Profiler. .. _vgpr-occupancy: @@ -101,7 +101,7 @@ the analyze step on this kernel: .. code-block:: shell - $ omniperf analyze -p workloads/occupancy/mi200/ -b 2.1.15 6.2 7.1.5 7.1.6 7.1.7 --dispatch 1 + $ rocprof-compute analyze -p workloads/occupancy/mi200/ -b 2.1.15 6.2 7.1.5 7.1.6 7.1.7 --dispatch 1 <...> -------------------------------------------------------------------------------- 0. Top Stat @@ -226,7 +226,7 @@ Analyzing this: .. code-block:: shell - $ omniperf analyze -p workloads/occupancy/mi200/ -b 2.1.15 6.2 7.1.5 7.1.6 7.1.7 7.1.8 --dispatch 3 + $ rocprof-compute analyze -p workloads/occupancy/mi200/ -b 2.1.15 6.2 7.1.5 7.1.6 7.1.7 7.1.8 --dispatch 3 <...> -------------------------------------------------------------------------------- 2. System Speed-of-Light @@ -351,7 +351,7 @@ Analyzing this workload yields: .. code-block:: shell-session - $ omniperf analyze -p workloads/occupancy/mi200/ -b 2.1.15 6.2 7.1.5 7.1.6 7.1.7 7.1.8 7.1.9 --dispatch 5 + $ rocprof-compute analyze -p workloads/occupancy/mi200/ -b 2.1.15 6.2 7.1.5 7.1.6 7.1.7 7.1.8 7.1.9 --dispatch 5 <...> -------------------------------------------------------------------------------- 0. Top Stat diff --git a/docs/tutorial/includes/valu-arithmetic-instruction-mix.rst b/docs/tutorial/includes/valu-arithmetic-instruction-mix.rst index 785fc6ecf..dcdb46ac4 100644 --- a/docs/tutorial/includes/valu-arithmetic-instruction-mix.rst +++ b/docs/tutorial/includes/valu-arithmetic-instruction-mix.rst @@ -5,7 +5,7 @@ VALU arithmetic instruction mix For this example, consider the :dev-sample:`instruction mix sample ` distributed as a part - of Omniperf. + of ROCm Compute Profiler. .. note:: @@ -55,7 +55,7 @@ Instruction mix ^^^^^^^^^^^^^^^ This example was compiled and run on a MI250 accelerator using ROCm - v5.6.0, and Omniperf v2.0.0. + v5.6.0, and ROCm Compute Profiler v2.0.0. .. code-block:: shell @@ -65,13 +65,13 @@ Generate the profile for this example using the following command. .. code-block:: shell - $ omniperf profile -n instmix --no-roof -- ./instmix + $ rocprof-compute profile -n instmix --no-roof -- ./instmix Analyze the instruction mix section. .. code-block:: shell - $ omniperf analyze -p workloads/instmix/mi200/ -b 10.2 + $ rocprof-compute analyze -p workloads/instmix/mi200/ -b 10.2 <...> 10. Compute Units - Instruction Mix 10.2 VALU Arithmetic Instr Mix diff --git a/docs/tutorial/includes/vector-memory-operation-counting.rst b/docs/tutorial/includes/vector-memory-operation-counting.rst index 2797ed8f2..4cfb875f4 100644 --- a/docs/tutorial/includes/vector-memory-operation-counting.rst +++ b/docs/tutorial/includes/vector-memory-operation-counting.rst @@ -10,7 +10,7 @@ Global / Generic (FLAT) For this example, consider the :dev-sample:`vector memory sample ` distributed as a part of -Omniperf. This code launches many different versions of a simple +ROCm Compute Profiler. This code launches many different versions of a simple read/write/atomic-only kernels targeting various address spaces. For example, below is our simple ``global_write`` kernel: @@ -24,7 +24,7 @@ below is our simple ``global_write`` kernel: .. note:: This example was compiled and run on an MI250 accelerator using ROCm - v5.6.0, and Omniperf v2.0.0. + v5.6.0, and ROCm Compute Profiler v2.0.0. .. code-block:: shell-session @@ -34,11 +34,11 @@ We have also chosen to include the ``--save-temps`` flag to save the compiler temporary files, such as the generated CDNA assembly code, for inspection. -Finally, we generate our ``omniperf profile`` as follows. +Finally, we generate our ``rocprof-compute profile`` as follows. .. code-block:: shell-session - $ omniperf profile -n vmem --no-roof -- ./vmem + $ rocprof-compute profile -n vmem --no-roof -- ./vmem .. _flat-experiment-design: @@ -94,7 +94,7 @@ First, we demonstrate our simple ``global_write`` kernel: .. code-block:: shell-session - $ omniperf analyze -p workloads/vmem/mi200/ --dispatch 1 -b 10.3 15.1.4 15.1.5 15.1.6 15.1.7 15.1.8 15.1.9 15.1.10 15.1.11 -n per_kernel + $ rocprof-compute analyze -p workloads/vmem/mi200/ --dispatch 1 -b 10.3 15.1.4 15.1.5 15.1.6 15.1.7 15.1.8 15.1.9 15.1.10 15.1.11 -n per_kernel <...> -------------------------------------------------------------------------------- 0. Top Stat @@ -208,7 +208,7 @@ Examining this kernel in the VMEM Instruction Mix table yields: .. code-block:: shell-session - $ omniperf analyze -p workloads/vmem/mi200/ --dispatch 2 -b 10.3 -n per_kernel + $ rocprof-compute analyze -p workloads/vmem/mi200/ --dispatch 2 -b 10.3 -n per_kernel <...> 0. Top Stat ╒════╤══════════════════════════════════════════╤═════════╤═══════════╤════════════╤══════════════╤════════╕ @@ -264,7 +264,7 @@ access. .. code-block:: shell-session - $ omniperf analyze -p workloads/vmem/mi200/ --dispatch 2 -b 12.2.0 -n per_kernel + $ rocprof-compute analyze -p workloads/vmem/mi200/ --dispatch 2 -b 12.2.0 -n per_kernel <...> 12. Local Data Share (LDS) 12.2 LDS Stats @@ -304,11 +304,11 @@ Here we observe a now familiar pattern: the compiler to statically eliminate, but is identically false. In this case, our ``main()`` function initializes the data in ``ptr`` to zero. -Running Omniperf on this kernel yields: +Running ROCm Compute Profiler on this kernel yields: .. code-block:: shell-session - $ omniperf analyze -p workloads/vmem/mi200/ --dispatch 3 -b 10.3 -n per_kernel + $ rocprof-compute analyze -p workloads/vmem/mi200/ --dispatch 3 -b 10.3 -n per_kernel <...> 0. Top Stat ╒════╤════════════════════════════════════╤═════════╤═══════════╤════════════╤══════════════╤════════╕ @@ -383,11 +383,11 @@ false conditional (both ``zero`` and ``filter`` are set to zero in the kernel launch). Note that this is a *different* conditional from our pointer assignment (to avoid combination of the two). -Running Omniperf on this kernel reports: +Running ROCm Compute Profiler on this kernel reports: .. code-block:: shell-session - $ omniperf analyze -p workloads/vmem/mi200/ --dispatch 4 -b 10.3 12.2.0 16.3.10 -n per_kernel + $ rocprof-compute analyze -p workloads/vmem/mi200/ --dispatch 4 -b 10.3 12.2.0 16.3.10 -n per_kernel <...> 0. Top Stat ╒════╤══════════════════════════════════════════╤═════════╤═══════════╤════════════╤══════════════╤════════╕ @@ -468,11 +468,11 @@ to a pointer. } -Running Omniperf on this kernel yields: +Running ROCm Compute Profiler on this kernel yields: .. code-block:: shell-session - $ omniperf analyze -p workloads/vmem/mi200/ --dispatch 5 -b 10.3 16.3.12 -n per_kernel + $ rocprof-compute analyze -p workloads/vmem/mi200/ --dispatch 5 -b 10.3 16.3.12 -n per_kernel <...> 0. Top Stat ╒════╤══════════════════════════════════════╤═════════╤═══════════╤════════════╤══════════════╤════════╕ @@ -537,11 +537,11 @@ operation targets both LDS and global memory: This assigns every other work-item to atomically update global memory or local memory. -Running this kernel through Omniperf shows: +Running this kernel through ROCm Compute Profiler shows: .. code-block:: shell-session - $ omniperf analyze -p workloads/vmem/mi200/ --dispatch 6 -b 10.3 12.2.0 16.3.12 -n per_kernel + $ rocprof-compute analyze -p workloads/vmem/mi200/ --dispatch 6 -b 10.3 12.2.0 16.3.12 -n per_kernel <...> 0. Top Stat ╒════╤══════════════════════════════════════════╤═════════╤═══════════╤════════════╤══════════════╤════════╕ @@ -623,7 +623,7 @@ manner. See for further reading on this instruction type. We develop a `simple -kernel `__ +kernel `__ that uses stack memory: .. code-block:: cpp @@ -647,19 +647,19 @@ Our strategy here is to: to global memory to prevent the compiler from optimizing it out. This example was compiled and run on an MI250 accelerator using ROCm v5.6.0, and -Omniperf v2.0.0. +ROCm Compute Profiler v2.0.0. .. code-block:: shell-session $ hipcc -O3 stack.hip -o stack.hip -And profiled using Omniperf: +And profiled using ROCm Compute Profiler: .. code-block:: shell-session - $ omniperf profile -n stack --no-roof -- ./stack + $ rocprof-compute profile -n stack --no-roof -- ./stack <...> - $ omniperf analyze -p workloads/stack/mi200/ -b 10.3 16.3.11 -n per_kernel + $ rocprof-compute analyze -p workloads/stack/mi200/ -b 10.3 16.3.11 -n per_kernel <...> 10. Compute Units - Instruction Mix 10.3 VMEM Instr Mix diff --git a/docs/tutorial/learning-resources.rst b/docs/tutorial/learning-resources.rst index 931f1f7f1..7766e08dd 100644 --- a/docs/tutorial/learning-resources.rst +++ b/docs/tutorial/learning-resources.rst @@ -1,20 +1,22 @@ .. meta:: - :description: Omniperf external training resources - :keywords: Omniperf, ROCm, profiler, tool, Instinct, accelerator, AMD, - training, examples + :description: ROCm Compute Profiler external training resources + :keywords: Omniperf, examples, tutorials, videos, lesson, lessons, how ****************** Learning resources ****************** -This section is a catalog of external resources and third-party content that -can help you learn Omniperf. Some areas of the following content might be -outdated. +This section provides a curated list of external resources and third-party +content to support learning the ROCm Compute Profiler. Some information in +these materials may be outdated. -Introduction to Omniperf +ROCm Compute Profiler was previously known as Omniperf. Some of the following +resources use the earlier name. + +Introduction to ROCm Compute Profiler :fab:`youtube` `AMD profiling workshop (Pawsey Supercomputing Research Centre) `_ -Omniperf example exercises +ROCm Compute Profiler example exercises ``__ AMD Instinct™ tuning guides diff --git a/docs/tutorial/profiling-by-example.rst b/docs/tutorial/profiling-by-example.rst index e39239b9d..faa00b5ec 100644 --- a/docs/tutorial/profiling-by-example.rst +++ b/docs/tutorial/profiling-by-example.rst @@ -1,14 +1,14 @@ .. meta:: - :description: Omniperf: Profiling by example - :keywords: Omniperf, ROCm, profiler, tool, Instinct, accelerator, AMD + :description: ROCm Compute Profiler: Profiling by example + :keywords: ROCm Compute Profiler, ROCm, profiler, tool, Instinct, accelerator, AMD ******************** Profiling by example ******************** The following examples refer to sample :doc:`HIP ` code located in -:fab:`github` :dev-sample:`ROCm/omniperf/blob/amd-mainline/sample <>` and distributed -as part of Omniperf. +:fab:`github` :dev-sample:`ROCm/rocprofiler-compute/blob/amd-mainline/sample <>` +and distributed as part of ROCm Compute Profiler. .. include:: ./includes/valu-arithmetic-instruction-mix.rst diff --git a/docs/what-is-omniperf.rst b/docs/what-is-rocprof-compute.rst similarity index 70% rename from docs/what-is-omniperf.rst rename to docs/what-is-rocprof-compute.rst index 473be896f..6c660097d 100644 --- a/docs/what-is-omniperf.rst +++ b/docs/what-is-rocprof-compute.rst @@ -1,33 +1,33 @@ .. meta:: - :description: What is Omniperf? + :description: What is ROCm Compute Profiler? :keywords: Omniperf, ROCm, profiler, tool, Instinct, accelerator, AMD -***************** -What is Omniperf? -***************** +****************************** +What is ROCm Compute Profiler? +****************************** -Omniperf is a kernel-level profiling tool for machine learning and high +ROCm Compute Profiler is a kernel-level profiling tool for machine learning and high performance computing (HPC) workloads running on AMD Instinct™ accelerators. AMD Instinct MI-series accelerators are data center-class GPUs designed for -compute and have some graphics capabilities disabled or removed. Omniperf -primarily targets use with +compute and have some graphics capabilities disabled or removed. +ROCm Compute Profiler primarily targets use with :doc:`accelerators in the MI300, MI200, and MI100 families `. Development is in progress to support Radeon™ (RDNA) GPUs. -Omniperf is built on top of :doc:`ROCProfiler ` to +ROCm Compute Profiler is built on top of :doc:`ROCProfiler ` to monitor hardware performance counters. .. _high-level-design: -High-level design of Omniperf -============================= +High-level design +================= -The architecture of Omniperf consists of three major components shown in the +The architecture of ROCm Compute Profiler consists of three major components shown in the following diagram. -Core Omniperf profiler ----------------------- +Core ROCm Compute Profiler +-------------------------- Acquires raw performance counters via application replay using ``rocprof``. Counters are stored in a comma-separated-values format for further @@ -35,43 +35,43 @@ Counters are stored in a comma-separated-values format for further micro-benchmarks to acquire hierarchical roofline data. The roofline model is not available on accelerators pre-MI200. -Grafana server for Omniperf ---------------------------- +Grafana server for ROCm Compute Profiler +---------------------------------------- * **Grafana database import**: All raw performance counters are imported into a :ref:`backend MongoDB database ` to support analysis and visualization in the Grafana GUI. Compatibility with - previously generated data using older Omniperf versions is not guaranteed. + previously generated data using older ROCm Compute Profiler versions is not guaranteed. * **Grafana analysis dashboard GUI**: The :doc:`Grafana dashboard ` retrieves the raw counters information from the backend database. It displays the relevant performance metrics and visualization. -Omniperf standalone GUI analyzer --------------------------------- +ROCm Compute Profiler standalone GUI analyzer +--------------------------------------------- -Omniperf provides a :doc:`standalone GUI ` to +ROCm Compute Profiler provides a :doc:`standalone GUI ` to enable basic performance analysis without the need to import data into a database instance. Find setup instructions in :doc:`install/grafana-setup` .. image:: data/install/omniperf_server_vs_client_install.png :align: center - :alt: Architectural design of Omniperf + :alt: Architectural design of ROCm Compute Profiler :width: 800 -Omniperf features -================= +Features +======== -Omniperf offers comprehensive profiling based on all available hardware counters +ROCm Compute Profiler offers comprehensive profiling based on all available hardware counters for the target accelerator. It delivers advanced performance analysis features, such as system Speed-of-Light (SOL) and hardware block-level SOL evaluations. -Additionally, Omniperf provides in-depth memory chart analysis, roofline +Additionally, ROCm Compute Profiler provides in-depth memory chart analysis, roofline analysis, baseline comparisons, and more, ensuring a thorough understanding of system performance. -Omniperf supports analysis through both the :doc:`command line ` or a -:doc:`GUI `. The following list describes Omniperf's features at a +ROCm Compute Profiler supports analysis through both the :doc:`command line ` or a +:doc:`GUI `. The following list describes ROCm Compute Profiler's features at a high level. * :doc:`Support for AMD Instinct MI300, MI200, and MI100 accelerators ` @@ -107,8 +107,8 @@ high level. * :ref:`Scalar L1D Cache panel ` - * :ref:`L1 Address Processing Unit, or, Texture Addresser (TA) ` - and :ref:`L1 Backend Data Processing Unit, or, Texture Data (TD) ` panels + * :ref:`L1 Address Processing Unit or Texture Addresser (TA) `; + and :ref:`L1 Backend Data Processing Unit or Texture Data (TD) ` panels * :ref:`Vector L1D Cache panel ` @@ -127,3 +127,4 @@ high level. * :ref:`Baseline comparisons ` * :ref:`Multiple normalizations ` + 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/RocProfCompute_v1.0.3_pub.json similarity index 99% rename from grafana/dashboards/Omniperf_v1.0.3_pub.json rename to grafana/dashboards/RocProfCompute_v1.0.3_pub.json index 5e4c480cc..270366cbe 100644 --- a/grafana/dashboards/Omniperf_v1.0.3_pub.json +++ b/grafana/dashboards/RocProfCompute_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/RocProfCompute_v1.0.5_pub.json similarity index 99% rename from grafana/dashboards/Omniperf_v1.0.5_pub.json rename to grafana/dashboards/RocProfCompute_v1.0.5_pub.json index 4cbfd4a8e..d04333113 100644 --- a/grafana/dashboards/Omniperf_v1.0.5_pub.json +++ b/grafana/dashboards/RocProfCompute_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/RocProfCompute_v1.0.7_pub.json similarity index 99% rename from grafana/dashboards/Omniperf_v1.0.7_pub.json rename to grafana/dashboards/RocProfCompute_v1.0.7_pub.json index c4b089979..80e544f3a 100644 --- a/grafana/dashboards/Omniperf_v1.0.7_pub.json +++ b/grafana/dashboards/RocProfCompute_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/RocProfCompute_v1.0.8_pub.json similarity index 99% rename from grafana/dashboards/Omniperf_v1.0.8_pub.json rename to grafana/dashboards/RocProfCompute_v1.0.8_pub.json index 72df97ef3..570ad3110 100644 --- a/grafana/dashboards/Omniperf_v1.0.8_pub.json +++ b/grafana/dashboards/RocProfCompute_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/RocProfCompute_v2.0.0_pub.json similarity index 99% rename from grafana/dashboards/Omniperf_v2.0.0_pub.json rename to grafana/dashboards/RocProfCompute_v2.0.0_pub.json index 603d52ed7..1e0cd46ee 100644 --- a/grafana/dashboards/Omniperf_v2.0.0_pub.json +++ b/grafana/dashboards/RocProfCompute_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 1e02a849f..7d45e6eb8 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 similarity index 89% rename from src/omniperf rename to src/rocprof-compute index 1acff5f07..c8d2d0ee6 100755 --- 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 98% rename from src/omniperf_analyze/analysis_webui.py rename to src/rocprof_compute_analyze/analysis_webui.py index 54645cbbb..883763237 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 @@ -37,10 +37,15 @@ from dash.dependencies import Input, Output, State +PROJECT_NAME = "rocprofiler-compute" + + class webui_analysis(OmniAnalyze_Base): def __init__(self, args, supported_archs): super().__init__(args, supported_archs) - self.app = dash.Dash(__name__, external_stylesheets=[dbc.themes.CYBORG]) + self.app = dash.Dash( + __name__, title=PROJECT_NAME, external_stylesheets=[dbc.themes.CYBORG] + ) self.dest_dir = os.path.abspath(args.path[0][0]) self.arch = None 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/rocprof_compute_analyze/assets/favicon.ico b/src/rocprof_compute_analyze/assets/favicon.ico new file mode 100644 index 000000000..3f148e32b Binary files /dev/null and b/src/rocprof_compute_analyze/assets/favicon.ico differ 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 8a4808726..376cd28e7 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..2ea0b64bb 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,9 +91,9 @@ 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( + console_warning( "Detected mismatch in sysinfo versioning. You need to reprofile to update data." ) return MachineSpecs(**sysinfo) @@ -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 a4b1a10b3..825ec4c97 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() @@ -396,7 +396,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 @@ -466,8 +470,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..650c53324 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -86,7 +86,7 @@ def setup_workload_dir(input_dir, suffix="_tmp", clean_existing=True): def clean_output_dir(cleanup, output_dir): - """Remove output directory generated from omniperf execution + """Remove output directory generated from rocprof-compute execution Args: cleanup (boolean): flag to enable/disable directory cleanup @@ -126,12 +126,12 @@ def check_csv_files(output_dir, num_devices, num_kernels): return file_dict -def launch_omniperf(config, options, workload_dir, check_success=True): - """Launch Omniperf with command-line optoins +def launch_rocprof_compute(config, options, workload_dir, check_success=True): + """Launch rocprof-compute with command-line options Args: config (list): runtime configuration settings - options (list): command line options to provide to omniperf + options (list): command line options to provide to rocprof-compute workload_dir (string): desired output directory check_success (bool, optional): Whether to verify successful exit condition. Defaults to True. @@ -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/