Skip to content
Merged
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
d441c00
Updated Trigger Conditions for Code_Coverage
Jul 24, 2025
04df37a
Updated Runner information for all Workflos
Jul 24, 2025
d2ee399
Refactored RocProfiler-SDK CodeQL
Jul 24, 2025
519f956
Added Sparse Checkout
Jul 24, 2025
d2932cb
Grab submodules from rocprofiler-sdk
Jul 24, 2025
a413ba9
Update Submodules
Jul 24, 2025
3032583
Moved gitmodules to root
Jul 24, 2025
02ceb6d
Update the submodule path of fmt
Jul 24, 2025
866cfc4
Remove fetch for submodules
Jul 24, 2025
86c7d01
Added fmt to gitmodules
Jul 24, 2025
c75cefc
Added glog to submodules
Jul 24, 2025
e819aab
Added remaining submodules for rocprofiler-sdk
Jul 24, 2025
31a8f82
Added Filesystem to Submodules
Jul 24, 2025
62553a0
Added remaining submodules
Jul 24, 2025
3efdf53
Update Requirements File
Jul 24, 2025
f8d6fd0
Updated docs.yml
Jul 25, 2025
b285076
Added Workflows to Sparse Checkout
Jul 25, 2025
a7114d4
Fixed Sparse Checkout
Jul 25, 2025
a04cdeb
Removed Workflows from checkout
Jul 25, 2025
c013787
Checkout specific actions files
Jul 25, 2025
7856bc7
Refactored docs.yml
Jul 25, 2025
c1809fe
Update rocprofiler-sdk-docs.yml
Jul 25, 2025
91fefe2
Removed Unnecessary Workflows
Jul 28, 2025
55ef356
Added RocProfiler-SDK Restrictions
Jul 28, 2025
4cff19c
Added rocprofiler-sdk Code Coverage
Jul 28, 2025
b2a0a97
Added rocprofiler-sdk CI Workflow
Jul 28, 2025
86ab671
Update rocprofiler-sdk-continuous_integration.yml
ammarwa Jul 28, 2025
53a95f7
Merge pull request #10 from ROCm/amd/aelwazir/sdk_runners_update
ammarwa Jul 28, 2025
78188a2
Update rocprofiler-sdk-continuous_integration.yml
Jul 28, 2025
b578aed
Merge branch 'amd/hsivasun/modify-workflows' of https://github.com/RO…
Jul 28, 2025
1b54be6
Added the pipe operator to fix breaks
Jul 28, 2025
ee96516
Updated Working Directories
Jul 28, 2025
76a818e
Added KWS Caller Workflow
Jul 29, 2025
124bd9e
Added AqlProfile CodeQL
Jul 29, 2025
9f5b2f0
Added permissions to the KWS
Jul 29, 2025
ad9d748
Added ROCm-CI Caller
Jul 29, 2025
60b3c8d
Added RocProfiler Rocm CI Caller
Jul 29, 2025
b6c66b6
Added Python Linting Workflows
Jul 29, 2025
4755be2
Added ROCm Release Compatibility Workflow
Jul 29, 2025
a909e31
Fix Typo For Python Linting
Jul 29, 2025
62853d5
Added Path to trigger Python Linting for Rocprofiler-Systems
Jul 29, 2025
05783b2
Added rocprofiler-systems Formatting
Jul 30, 2025
e005532
Added Formatting to Main Workflows
Jul 30, 2025
0f3611b
Removed Python 3.7 from rocprofiler-systems
Jul 30, 2025
e57e491
Updated ROCm release compatibility workflow
Jul 30, 2025
9bea091
Fixed path in Install Step
Jul 30, 2025
c3b9935
Change Safe Dir in CI Workflow
Jul 30, 2025
ea8a8dc
Added CI Workflow for rocprofiler-register
Jul 30, 2025
bd9641a
Added Containers Workflow
Jul 30, 2025
1d8e07d
Fix compute docs
Jul 30, 2025
d288365
Changing Runners
ammarwa Jul 30, 2025
b50dbed
Added Workflows to Project Subfolders
Jul 30, 2025
c3ae8d7
Update rocprofiler-sdk-continuous_integration.yml
Jul 30, 2025
4689af8
Merge branch 'amd/hsivasun/modify-workflows' into amd/aelwazir/updati…
ammarwa Jul 30, 2025
12ab109
Merge pull request #12 from ROCm/amd/aelwazir/updating-runners
ammarwa Jul 30, 2025
1f42414
Update rocprofiler-sdk-continuous_integration.yml
ammarwa Jul 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
name: "CodeQL Advanced Analysis"
name: "RocProfiler-SDK CodeQL Advanced Analysis"

on:
workflow_dispatch:
pull_request:
branches:
- amd-staging
paths-ignore:
- '*.md'
- 'source/docs/**'
- 'CODEOWNERS'
paths:
- 'projects/rocprofiler-sdk/**'
- '!projects/rocprofiler-sdk/CODEOWNERS'
- '!projects/rocprofiler-sdk/source/docs/**'
- '!projects/rocprofiler-sdk/*.md'

push:
branches:
- amd-staging
paths-ignore:
- '*.md'
- 'source/docs/**'
- 'CODEOWNERS'
paths:
- 'projects/rocprofiler-sdk/**'
- '!projects/rocprofiler-sdk/CODEOWNERS'
- '!projects/rocprofiler-sdk/source/docs/**'
- '!projects/rocprofiler-sdk/*.md'

env:
ROCM_PATH: "/opt/rocm"
Expand All @@ -33,7 +31,7 @@ jobs:
# - https://gh.io/supported-runners-and-hardware-resources
# - https://gh.io/using-larger-runners (GitHub.com only)
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
runs-on: AMD-ROCm-Internal-dev1
runs-on: ubuntu-latest

container: rocm/dev-ubuntu-22.04:latest
permissions:
Expand Down Expand Up @@ -75,6 +73,10 @@ jobs:

- uses: actions/checkout@v4
with:
sparse-checkout: |
projects/rocprofiler-sdk
.github/workflows/rocprofiler-sdk-codeql.yml
.github/workflows/rocprofiler-sdk-formatting.yml
submodules: 'true'

# Initializes the CodeQL tools for scanning.
Expand All @@ -89,6 +91,7 @@ jobs:
timeout-minutes: 30
shell: bash
run: |
cd projects/rocprofiler-sdk
python3 -m pip install -r requirements.txt
cmake -B /tmp/build -DCMAKE_PREFIX_PATH=/opt/rocm ${{ env.GLOBAL_CMAKE_OPTIONS }} -DPython3_EXECUTABLE=$(which python3) .
cmake --build /tmp/build --target all --parallel 16
Expand Down
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
name: Documentation
name: RocProfiler-SDK Documentation

on:
workflow_dispatch:
push:
branches: [ amd-staging, amd-mainline ]
paths:
- '*.md'
- 'VERSION'
- 'source/docs/**'
- 'source/scripts/update-docs.sh'
- 'source/include/rocprofiler-sdk/**'
- '.github/workflows/docs.yml'
- 'projects/rocprofiler-sdk/*.md'
- 'projects/rocprofiler-sdk/VERSION'
- 'projects/rocprofiler-sdk/source/docs/**'
- 'projects/rocprofiler-sdk/source/scripts/update-docs.sh'
- 'projects/rocprofiler-sdk/source/include/rocprofiler-sdk/**'
- 'projects/rocprofiler-sdk/.github/workflows/docs.yml'
pull_request:
paths:
- '*.md'
- 'VERSION'
- 'source/docs/**'
- 'source/scripts/update-docs.sh'
- 'source/include/rocprofiler-sdk/**'
- '.github/workflows/docs.yml'
- 'projects/rocprofiler-sdk/*.md'
- 'projects/rocprofiler-sdk/VERSION'
- 'projects/rocprofiler-sdk/source/docs/**'
- 'projects/rocprofiler-sdk/source/scripts/update-docs.sh'
- 'projects/rocprofiler-sdk/source/include/rocprofiler-sdk/**'
- 'projects/rocprofiler-sdk/.github/workflows/docs.yml'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -29,7 +28,7 @@ env:

jobs:
build-docs:
runs-on: AMD-ROCm-Internal-dev1
runs-on: ubuntu-latest
container: continuumio/miniconda3
permissions:
contents: read
Expand All @@ -39,14 +38,15 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
sparse-checkout: projects/rocprofiler-sdk
submodules: true
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Create Docs Directory
run: |
git config --global --add safe.directory '*'
mkdir -p docs/_doxygen/rocprofiler-sdk
mkdir -p docs/_doxygen/roctx
mkdir -p projects/rocprofiler-sdk/docs/_doxygen/rocprofiler-sdk
mkdir -p projects/rocprofiler-sdk/docs/_doxygen/roctx
- name: Install documentation dependencies
timeout-minutes: 10
shell: bash
Expand All @@ -55,7 +55,7 @@ jobs:
apt-get install -y doxygen graphviz build-essential cmake
- name: Build Docs
shell: bash -el {0}
working-directory: source/docs
working-directory: projects/rocprofiler-sdk/source/docs
run: |
conda init
conda env create -n rocprofiler-docs -f environment.yml
Expand All @@ -68,11 +68,11 @@ jobs:
if: ${{ github.event_name == 'workflow_dispatch' }}
uses: actions/upload-pages-artifact@v3
with:
path: ./docs
path: projects/rocprofiler-sdk/docs

deploy-docs:
if: github.ref == 'refs/heads/amd-mainline'
runs-on: AMD-ROCm-Internal-dev1
runs-on: ubuntu-latest
needs: build-docs
permissions:
contents: read
Expand All @@ -87,7 +87,7 @@ jobs:
uses: actions/deploy-pages@v4

build-docs-from-source:
runs-on: AMD-ROCm-Internal-dev1
runs-on: ubuntu-latest
container: rocm/dev-ubuntu-22.04:latest
steps:
- name: Install os essentials
Expand All @@ -102,15 +102,17 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
sparse-checkout: projects/rocprofiler-sdk
submodules: true
- name: Create Docs Directory
run: |
git config --global --add safe.directory '*'
mkdir -p source/docs/_doxygen/rocprofiler-sdk
mkdir -p source/docs/_doxygen/roctx
mkdir -p projects/rocprofiler-sdk/source/docs/_doxygen/rocprofiler-sdk
mkdir -p projects/rocprofiler-sdk/source/docs/_doxygen/roctx
- name: Install requirements
timeout-minutes: 10
shell: bash
working-directory: projects/rocprofiler-sdk/
run: |
git config --global --add safe.directory '*'
sudo apt-get update
Expand All @@ -120,6 +122,7 @@ jobs:
- name: Configure, Build, Install, and Package
timeout-minutes: 60
shell: bash
working-directory: projects/rocprofiler-sdk/
run:
git config --global --add safe.directory '*';
export CMAKE_PREFIX_PATH=/opt/rocm:${CMAKE_PREFIX_PATH};
Expand Down
78 changes: 78 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
[submodule "projects/rocprofiler/perfetto"]
path = projects/rocprofiler/plugin/perfetto/perfetto
url = https://github.com/google/perfetto.git
branch = releases/v44.x
[submodule "projects/rocprofiler-sdk/external/googletest"]
path = projects/rocprofiler-sdk/external/googletest
url = https://github.com/google/googletest.git
[submodule "projects/rocprofiler-register/external/glog"]
path = projects/rocprofiler-register/external/glog
url = https://github.com/google/glog.git
[submodule "projects/rocprofiler-sdk/external/glog"]
path = projects/rocprofiler-sdk/external/glog
url = https://github.com/google/glog.git
[submodule "projects/rocprofiler-sdk/external/fmt"]
path = projects/rocprofiler-sdk/external/fmt
url = https://github.com/fmtlib/fmt.git
[submodule "projects/rocprofiler-register/external/fmt"]
path = projects/rocprofiler-register/external/fmt
url = https://github.com/fmtlib/fmt.git
[submodule "projects/rocprofiler-sdk/source/docs/doxygen-awesome-css"]
path = projects/rocprofiler-sdk/external/doxygen-awesome-css
url = https://github.com/jothepro/doxygen-awesome-css.git
[submodule "projects/rocprofiler-sdk/external/ptl"]
path = projects/rocprofiler-sdk/external/ptl
url = https://github.com/jrmadsen/PTL
[submodule "projects/rocprofiler-sdk/external/cereal"]
path = projects/rocprofiler-sdk/external/cereal
url = https://github.com/jrmadsen/cereal.git
[submodule "projects/rocprofiler-sdk/external/filesystem"]
path = projects/rocprofiler-sdk/external/filesystem
url = https://github.com/gulrak/filesystem.git
[submodule "projects/rocprofiler-sdk/external/perfetto"]
path = projects/rocprofiler-sdk/external/perfetto
url = https://github.com/google/perfetto
[submodule "projects/rocprofiler-sdk/external/elfio"]
path = projects/rocprofiler-sdk/external/elfio
url = https://github.com/serge1/ELFIO.git
[submodule "projects/rocprofiler-sdk/external/yaml-cpp"]
path = projects/rocprofiler-sdk/external/yaml-cpp
url = https://github.com/jbeder/yaml-cpp.git
[submodule "projects/rocprofiler-sdk/external/json"]
path = projects/rocprofiler-sdk/external/json
url = https://github.com/nlohmann/json.git
[submodule "projects/rocprofiler-sdk/external/sqlite"]
path = projects/rocprofiler-sdk/external/sqlite
url = https://github.com/sqlite/sqlite
[submodule "projects/rocprofiler-sdk/external/pybind11"]
path = projects/rocprofiler-sdk/external/pybind11
url = https://github.com/pybind/pybind11.git
[submodule "projects/rocprofiler-sdk/external/gotcha"]
path = projects/rocprofiler-sdk/external/gotcha
url = https://jrmadsen@github.com/jrmadsen/GOTCHA
[submodule "projects/rocprofiler-systems/external/timemory"]
path = projects/rocprofiler-systems/external/timemory
url = https://github.com/ROCm/timemory.git
branch = rocprofiler-systems
[submodule "projects/rocprofiler-systems/external/perfetto"]
path = projects/rocprofiler-systems/external/perfetto
url = https://github.com/google/perfetto.git
[submodule "projects/rocprofiler-systems/external/elfio"]
path = projects/rocprofiler-systems/external/elfio
url = https://github.com/jrmadsen/ELFIO.git
[submodule "projects/rocprofiler-systems/external/dyninst"]
path = projects/rocprofiler-systems/external/dyninst
url = https://github.com/ROCm/dyninst.git
branch = dyninst_13
[submodule "projects/rocprofiler-systems/external/PTL"]
path = projects/rocprofiler-systems/external/PTL
url = https://github.com/jrmadsen/PTL.git
[submodule "projects/rocprofiler-systems/external/kokkos"]
path = projects/rocprofiler-systems/examples/lulesh/external/kokkos
url = https://github.com/kokkos/kokkos.git
[submodule "external/papi"]
path = projects/rocprofiler-systems/external/papi
url = https://github.com/icl-utk-edu/papi.git
[submodule "projects/rocprofiler-systems/external/pybind11"]
path = projects/rocprofiler-systems/external/pybind11
url = https://github.com/jrmadsen/pybind11.git
2 changes: 1 addition & 1 deletion projects/aqlprofile/.github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
# - https://gh.io/supported-runners-and-hardware-resources
# - https://gh.io/using-larger-runners (GitHub.com only)
# Consider using larger runners or machines with greater resources for possible analysis time improvements.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems you have CodeQL in the parent Directory, if so and if it checks for CPP, Actions and Python then no need for this file as well

runs-on: AMD-ROCm-Internal-dev1
runs-on: ubuntu-latest
container: rocm/dev-ubuntu-22.04:latest
permissions:
# required for all workflows
Expand Down
2 changes: 1 addition & 1 deletion projects/aqlprofile/.github/workflows/sync-mainline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
git-mirror:
runs-on: AMD-ROCm-Internal-dev1

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need for this file

runs-on: ubuntu-latest
steps:
- name: git-sync
uses: AMD-ROCm-Internal/rocprofiler-github-actions@git-sync-v3
Expand Down
2 changes: 1 addition & 1 deletion projects/aqlprofile/.github/workflows/sync-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
git-mirror:
runs-on: AMD-ROCm-Internal-dev1

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need for this file

runs-on: ubuntu-latest
steps:
- name: git-sync
uses: AMD-ROCm-Internal/rocprofiler-github-actions@git-sync-v3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ concurrency:

jobs:
cmake:
runs-on: AMD-ROCm-Internal-dev1
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
fi

source:
runs-on: AMD-ROCm-Internal-dev1
runs-on: ubuntu-latest
container: rocm/dev-ubuntu-22.04:latest

steps:
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
fi

python:
runs-on: AMD-ROCm-Internal-dev1
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
git-mirror:
runs-on: AMD-ROCm-Internal-dev1
runs-on: ubuntu-latest

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need for this file

steps:
- name: git-sync
uses: AMD-ROCm-Internal/rocprofiler-github-actions@git-sync-v3
Expand Down
25 changes: 13 additions & 12 deletions projects/rocprofiler-sdk/.github/workflows/code_coverage.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Code Coverage
name: RocProfiler-SDK Code Coverage

permissions:
contents: read
Expand All @@ -7,18 +7,19 @@ permissions:
on:
workflow_dispatch:
push:
branches: [ amd-staging, amd-mainline ]
paths-ignore:
- '*.md'
- '**/README.md'
- 'source/docs/**'
- 'CODEOWNERS'
paths:
- 'projects/rocprofiler-sdk/**'
- '!projects/rocprofiler-sdk/CODEOWNERS'
- '!projects/rocprofiler-sdk/source/docs/**'
- '!projects/rocprofiler-sdk/*.md'
- '!projects/rocprofiler-sdk/**/README.md'
pull_request:
paths-ignore:
- '*.md'
- '**/README.md'
- 'source/docs/**'
- 'CODEOWNERS'
paths:
- 'projects/rocprofiler-sdk/**'
- '!projects/rocprofiler-sdk/CODEOWNERS'
- '!projects/rocprofiler-sdk/source/docs/**'
- '!projects/rocprofiler-sdk/*.md'
- '!projects/rocprofiler-sdk/**/README.md'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
2 changes: 1 addition & 1 deletion projects/rocprofiler-sdk/.github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ concurrency:

jobs:
linting:
runs-on: AMD-ROCm-Internal-dev1
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.10', '3.12']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ concurrency:

jobs:
regex:
runs-on: AMD-ROCm-Internal-dev1
runs-on: ubuntu-latest
env:
FOLDERS: "source/lib/common source/lib/rocprofiler-sdk source/lib/rocprofiler-sdk-roctx"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
os: ['ubuntu-22.04']
build-type: ['Release']

runs-on: AMD-ROCm-Internal-dev1
runs-on: ubuntu-latest
container:
image: rocm/dev-${{ matrix.os }}:${{ matrix.rocm-release }}

Expand Down
Loading