Skip to content

Commit

Permalink
Promote amd-staging to amd-mainline (#7)
Browse files Browse the repository at this point in the history
* Prepare for branch renaming.  (#367)

* Add `amd-staging` and `amd-mainline` to workflow
* Update links in documentation to use amd-mainline

---------

Signed-off-by: David Galiffi <[email protected]>

* Update VERSION to 1.12.0 (#387)

Bumping version since rocm-rel-6.3.0.1 branched.

* Add rocm tag to cpack.yml (#389)

* Add rocm tag to cpack.yml
* Update softprops/action-gh-release to v2

* Include note about known issue with Perfetto v47.0 and above. (#391)

* Reference "Known Issue" next to references of Perfetto. (#393)

* And provide workaround link to Perfetto v46.0

Co-authored-by: Peter Park <[email protected]>

* Rename to ROCm Systems Profiler (rocprof-sys) (#1)

Rename to ROCm Systems Profiler (rocprof-sys)

* Update documentation requirements (#402) (#5)

* Bump rocm-docs-core to 1.8.2

* Remove empty package-ecosystem in dependabot

Co-authored-by: Sam Wu <[email protected]>

* Rename Omnitrace to ROCm Systems Profiler (#4)

The Omnitrace program is being renamed. 

Full name: "ROCm Systems Profiler"
Package name: "rocprofiler-systems"
Binary / Library names: "rocprof-sys-*"

---------
Co-authored-by: Xuan Chen <[email protected]>
Signed-off-by: David Galiffi <[email protected]>

* External CI: enable CI triggers (#6)

---------

Signed-off-by: David Galiffi <[email protected]>
Co-authored-by: Peter Park <[email protected]>
Co-authored-by: Sam Wu <[email protected]>
Co-authored-by: Daniel Su <[email protected]>
  • Loading branch information
4 people authored Oct 16, 2024
1 parent 7838aa2 commit 1567085
Show file tree
Hide file tree
Showing 424 changed files with 10,567 additions and 10,024 deletions.
44 changes: 44 additions & 0 deletions .azuredevops/rocm-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
resources:
repositories:
- repository: pipelines_repo
type: github
endpoint: ROCm
name: ROCm/ROCm

variables:
- group: common
- template: /.azuredevops/variables-global.yml@pipelines_repo

trigger:
batch: true
branches:
include:
- amd-staging
- amd-mainline
paths:
exclude:
- .github
- docs
- '.*.y*ml'
- '*.md'
- LICENSE
- VERSION

pr:
autoCancel: true
branches:
include:
- amd-staging
- amd-mainline
paths:
exclude:
- .github
- docs
- '.*.y*ml'
- '*.md'
- LICENSE
- VERSION
drafts: false

jobs:
- template: ${{ variables.CI_COMPONENT_PATH }}/rocprofiler-systems.yml@pipelines_repo
36 changes: 18 additions & 18 deletions .cmake-format.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
parse:
additional_commands:
omnitrace_checkout_git_submodule:
rocprofiler_systems_checkout_git_submodule:
flags:
- RECURSIVE
kwargs:
Expand All @@ -10,15 +10,15 @@ parse:
REPO_URL: '*'
REPO_BRANCH: '*'
ADDITIONAL_COMMANDS: '*'
omnitrace_save_variables:
rocprofiler_systems_save_variables:
kwargs:
VARIABLES: '*'
CONDITION: '*'
omnitrace_restore_variables:
rocprofiler_systems_restore_variables:
kwargs:
VARIABLES: '*'
CONDITION: '*'
omnitrace_add_test:
rocprofiler_systems_add_test:
flags:
- SKIP_BASELINE
- SKIP_SAMPLING
Expand Down Expand Up @@ -50,7 +50,7 @@ parse:
BASELINE_FAIL_REGEX: '*'
REWRITE_RUN_PASS_REGEX: '*'
REWRITE_RUN_FAIL_REGEX: '*'
omnitrace_add_causal_test:
rocprofiler_systems_add_causal_test:
flags:
- SKIP_BASELINE
kwargs:
Expand All @@ -72,12 +72,12 @@ parse:
BASELINE_FAIL_REGEX: '*'
CAUSAL_VALIDATE_PASS_REGEX: '*'
CAUSAL_VALIDATE_FAIL_REGEX: '*'
omnitrace_target_compile_definitions:
rocprofiler_systems_target_compile_definitions:
kwargs:
PUBLIC: '*'
PRIVATE: '*'
INTERFACE: '*'
omnitrace_add_bin_test:
rocprofiler_systems_add_bin_test:
flags:
- WILL_FAIL
kwargs:
Expand All @@ -94,7 +94,7 @@ parse:
PASS_REGEX: '*'
FAIL_REGEX: '*'
SKIP_REGEX: '*'
omnitrace_add_python_test:
rocprofiler_systems_add_python_test:
flags:
- STANDALONE
kwargs:
Expand All @@ -113,7 +113,7 @@ parse:
PASS_REGEX: '*'
FAIL_REGEX: '*'
SKIP_REGEX: '*'
omnitrace_add_python_validation_test:
rocprofiler_systems_add_python_validation_test:
kwargs:
NAME: '*'
ARGS: '*'
Expand All @@ -128,19 +128,19 @@ parse:
- SEND_ERROR
- FATAL_ERROR
- AUTHOR_WARNING
omnitrace_find_python:
rocprofiler_systems_find_python:
flags:
- REQUIRED
- QUIET
kwargs:
VERSION: '*'
ROOT_DIR: '*'
COMPONENTS: '*'
omnitrace_python_console_script:
rocprofiler_systems_python_console_script:
kwargs:
VERSION: '*'
ROOT_DIR: '*'
omnitrace_pybind11_add_module:
rocprofiler_systems_pybind11_add_module:
flags:
- MODULE
- SHARED
Expand All @@ -153,7 +153,7 @@ parse:
PYTHON_VERSION: '*'
CXX_STANDARD: '*'
VISIBILITY: '*'
omnitrace_directory:
rocprofiler_systems_directory:
flags:
- MKDIR
- FAIL
Expand All @@ -162,14 +162,14 @@ parse:
OUTPUT_VARIABLE: '*'
WORKING_DIRECTORY: '*'
PATHS: '*'
omnitrace_check_python_dirs_and_versions:
rocprofiler_systems_check_python_dirs_and_versions:
flags:
- UNSET
- FAIL
kwargs:
RESULT_VARIABLE: '*'
OUTPUT_VARIABLE: '*'
omnitrace_find_static_library:
rocprofiler_systems_find_static_library:
flags:
- NO_CACHE
- REQUIRED
Expand All @@ -188,7 +188,7 @@ parse:
PATHS: '*'
PATH_SUFFIXES: '*'
DOC: '*'
omnitrace_find_shared_library:
rocprofiler_systems_find_shared_library:
flags:
- NO_CACHE
- REQUIRED
Expand All @@ -207,14 +207,14 @@ parse:
PATHS: '*'
PATH_SUFFIXES: '*'
DOC: '*'
omnitrace_causal_example_executable:
rocprofiler_systems_causal_example_executable:
kwargs:
TAG: '*'
SOURCES: '*'
DEFINITIONS: '*'
LINK_LIBRARIES: '*'
INCLUDE_DIRECTORIES: '*'
omnitrace_add_validation_test:
rocprofiler_systems_add_validation_test:
kwargs:
NAME: '*'
ARGS: '*'
Expand Down
5 changes: 0 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@

version: 2
updates:
- package-ecosystem: "" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"

- package-ecosystem: "pip" # See documentation for possible values
directory: "/docs/sphinx" # Location of package manifests
open-pull-requests-limit: 10
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ env:
GIT_DISCOVERY_ACROSS_FILESYSTEM: 1

jobs:
omnitrace-ci:
rocprofiler-systemss-ci:
if: github.repository == 'ROCm/omnitrace'

runs-on: ubuntu-20.04
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
./build-docker-ci.sh --distro ${{ matrix.distro }} --versions ${{ matrix.version }} --user ${{ secrets.DOCKERHUB_USERNAME }} --push --jobs 2 --elfutils-version 0.186 --boost-version 1.79.0
popd
omnitrace-release:
rocprofiler-systems-release:
if: github.repository == 'ROCm/omnitrace'

runs-on: ubuntu-20.04
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/cpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ jobs:
timeout-minutes: 10
uses: actions/upload-artifact@v4
with:
name: omnitrace-stgz-${{ matrix.os-distro }}-${{ matrix.os-version }}-rocm-${{ matrix.rocm-version }}-installer
name: rocprofiler-systems-stgz-${{ matrix.os-distro }}-${{ matrix.os-version }}-rocm-${{ matrix.rocm-version }}-installer
path: |
build-release/stgz/*.sh
Expand All @@ -297,13 +297,13 @@ jobs:
shopt -s nullglob
for i in $(find build-release -type f | egrep '/(stgz|deb|rpm)/.*\.(sh|deb|rpm)$'); do mv ${i} ./; done
sudo rm -rf build-release
sudo rm -rf /opt/omnitrace
sudo rm -rf /opt/rocprofiler-systems
- name: Test STGZ Install
timeout-minutes: 20
run: |
set -v
for i in omnitrace-*.sh
for i in rocprofiler-systems-*.sh
do
./docker/test-docker-release.sh --distro ${{ matrix.os-distro }} --versions ${{ matrix.os-version }} --rocm-versions ${{ matrix.rocm-version }} -- --stgz ${i}
done
Expand All @@ -314,4 +314,4 @@ jobs:
with:
fail_on_unmatched_files: True
files: |
omnitrace-*.sh
rocprofiler-systems-*.sh
74 changes: 37 additions & 37 deletions .github/workflows/opensuse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ concurrency:
cancel-in-progress: true

env:
OMNITRACE_CI: ON
OMNITRACE_TMPDIR: "%env{PWD}%/testing-tmp"
ROCPROFSYS_CI: ON
ROCPROFSYS_TMPDIR: "%env{PWD}%/testing-tmp"

jobs:
opensuse:
Expand Down Expand Up @@ -69,8 +69,8 @@ jobs:
run:
echo "CC=$(echo '${{ matrix.compiler }}' | sed 's/+/c/g')" >> $GITHUB_ENV &&
echo "CXX=${{ matrix.compiler }}" >> $GITHUB_ENV &&
echo "/opt/omnitrace/bin:${HOME}/.local/bin" >> $GITHUB_PATH &&
echo "LD_LIBRARY_PATH=/opt/omnitrace/lib:${LD_LIBRARY_PATH}" >> $GITHUB_ENV
echo "/opt/rocprofiler-systems/bin:${HOME}/.local/bin" >> $GITHUB_PATH &&
echo "LD_LIBRARY_PATH=/opt/rocprofiler-systems/lib:${LD_LIBRARY_PATH}" >> $GITHUB_ENV

- name: Configure, Build, and Test
timeout-minutes: 115
Expand All @@ -86,20 +86,20 @@ jobs:
-DCMAKE_C_COMPILER=$(echo '${{ matrix.compiler }}' | sed 's/+/c/g')
-DCMAKE_CXX_COMPILER=${{ matrix.compiler }}
-DCMAKE_BUILD_TYPE=${{ matrix.build-type }}
-DCMAKE_INSTALL_PREFIX=/opt/omnitrace
-DOMNITRACE_BUILD_TESTING=ON
-DOMNITRACE_USE_MPI=OFF
-DOMNITRACE_USE_HIP=OFF
-DOMNITRACE_USE_OMPT=OFF
-DOMNITRACE_USE_PYTHON=ON
-DOMNITRACE_INSTALL_PERFETTO_TOOLS=OFF
-DOMNITRACE_USE_MPI_HEADERS=ON
-DOMNITRACE_PYTHON_PREFIX=/opt/conda/envs
-DOMNITRACE_PYTHON_ENVS="py3.6;py3.7;py3.8;py3.9;py3.10;py3.11"
-DOMNITRACE_CI_MPI_RUN_AS_ROOT=ON
-DOMNITRACE_MAX_THREADS=64
-DOMNITRACE_DISABLE_EXAMPLES="transpose;rccl"
-DOMNITRACE_BUILD_NUMBER=${{ github.run_attempt }}
-DCMAKE_INSTALL_PREFIX=/opt/rocprofiler-systems
-DROCPROFSYS_BUILD_TESTING=ON
-DROCPROFSYS_USE_MPI=OFF
-DROCPROFSYS_USE_HIP=OFF
-DROCPROFSYS_USE_OMPT=OFF
-DROCPROFSYS_USE_PYTHON=ON
-DROCPROFSYS_INSTALL_PERFETTO_TOOLS=OFF
-DROCPROFSYS_USE_MPI_HEADERS=ON
-DROCPROFSYS_PYTHON_PREFIX=/opt/conda/envs
-DROCPROFSYS_PYTHON_ENVS="py3.6;py3.7;py3.8;py3.9;py3.10;py3.11"
-DROCPROFSYS_CI_MPI_RUN_AS_ROOT=ON
-DROCPROFSYS_MAX_THREADS=64
-DROCPROFSYS_DISABLE_EXAMPLES="transpose;rccl"
-DROCPROFSYS_BUILD_NUMBER=${{ github.run_attempt }}

- name: Install
timeout-minutes: 10
Expand All @@ -110,27 +110,27 @@ jobs:
timeout-minutes: 10
run: |
set -v
export OMNITRACE_DEBUG=ON
which omnitrace-avail
ldd $(which omnitrace-avail)
omnitrace-avail --help
omnitrace-avail -a
which omnitrace
ldd $(which omnitrace)
omnitrace-instrument --help
omnitrace-instrument -e -v 1 -o ls.inst --simulate -- ls
for i in $(find omnitrace-ls.inst-output -type f); do echo -e "\n\n --> ${i} \n\n"; cat ${i}; done
omnitrace-instrument -e -v 1 -o ls.inst -- ls
omnitrace-run -- ./ls.inst
omnitrace-instrument -e -v 1 --simulate -- ls
for i in $(find omnitrace-ls-output -type f); do echo -e "\n\n --> ${i} \n\n"; cat ${i}; done
omnitrace-instrument -e -v 1 -- ls
export ROCPROFSYS_DEBUG=ON
which rocprof-sys-avail
ldd $(which rocprof-sys-avail)
rocprof-sys-avail --help
rocprof-sys-avail -a
which rocprof-sys-instrument
ldd $(which rocprof-sys-instrument)
rocprof-sys-instrument --help
rocprof-sys-instrument -e -v 1 -o ls.inst --simulate -- ls
for i in $(find rocprofsys-ls.inst-output -type f); do echo -e "\n\n --> ${i} \n\n"; cat ${i}; done
rocprof-sys-instrument -e -v 1 -o ls.inst -- ls
rocprof-sys-run -- ./ls.inst
rocprof-sys-instrument -e -v 1 --simulate -- ls
for i in $(find rocprofsys-ls-output -type f); do echo -e "\n\n --> ${i} \n\n"; cat ${i}; done
rocprof-sys-instrument -e -v 1 -- ls
- name: Test User API
timeout-minutes: 10
run: |
set -v
./scripts/test-find-package.sh --install-dir /opt/omnitrace
./scripts/test-find-package.sh --install-dir /opt/rocprofiler-systems
- name: CTest Artifacts
if: failure()
Expand All @@ -148,9 +148,9 @@ jobs:
with:
name: data-${{ github.job }}-${{ strategy.job-index }}-files
path: |
build/omnitrace-tests-config/*.cfg
build/omnitrace-tests-output/**/*.txt
build/omnitrace-tests-output/**/*-instr*.json
build/rocprofsys-tests-config/*.cfg
build/rocprofsys-tests-output/**/*.txt
build/rocprofsys-tests-output/**/*-instr*.json
- name: Kill Perfetto
if: success() || failure()
Expand Down
Loading

0 comments on commit 1567085

Please sign in to comment.