Skip to content

Commit

Permalink
Merge branch 'rocprof-compute_branding_update' of github.com:xuchen-a…
Browse files Browse the repository at this point in the history
…md/omniperf into rocprof-compute_branding_update
  • Loading branch information
xuchen-amd committed Oct 16, 2024
2 parents 04f5760 + 7390afb commit 1a08443
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 19 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ jobs:
cd build
make package_source
- name: Rename tarball
run: mv build/rocprof-compute-*.tar.gz build/rocprof-compute-${{github.ref_name}}.tar.gz
run: mv build/rocprof-compute-*.tar.gz build/rocprofiler-compute-${{github.ref_name}}.tar.gz
- name: Archive tarball
uses: actions/upload-artifact@v4
with:
name: rocprof-compute-${{github.ref_name}}.tar.gz
path: build/rocprof-compute-${{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
Expand All @@ -60,6 +60,6 @@ jobs:
generate_release_notes: True
draft: False # toggle for debugging
files: |
build/rocprof-compute-${{github.ref_name}}.tar.gz
build/rocprofiler-compute-${{github.ref_name}}.tar.gz
name: ${{ env.RELEASE_NAME }}

26 changes: 13 additions & 13 deletions .github/workflows/tarball.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: tarball-testing
path: build/rocprof-compute-*.tar.gz
path: build/rocprofiler-compute-*.tar.gz
retention-days: 3
disttest:
runs-on: ubuntu-latest
Expand All @@ -61,7 +61,7 @@ jobs:
with:
name: tarball-testing
- name: Expand
run: tar xfz rocprof-compute-*.tar.gz; rm rocprof-compute-*.tar.gz
run: tar xfz rocprofiler-compute-*.tar.gz; rm rocprofiler-compute-*.tar.gz
- name: Python dependency installs
run: |
cd rocprof-compute-*
Expand All @@ -82,15 +82,15 @@ jobs:
run: |
# find $INSTALL_DIR
test -d $INSTALL_DIR/rocprof-compute
test -x $INSTALL_DIR/rocprof-compute/bin/rocprof-compute
test -s $INSTALL_DIR/rocprof-compute/libexec/rocprof-compute/VERSION
test -s $INSTALL_DIR/rocprof-compute/libexec/rocprof-compute/VERSION.sha
test -d $INSTALL_DIR/rocprof-compute/libexec/rocprof-compute/rocprof_compute_analyze
test -d $INSTALL_DIR/rocprof-compute/libexec/rocprof-compute/rocprof_compute_profile
test -d $INSTALL_DIR/rocprof-compute/libexec/rocprof-compute/rocprof_compute_soc
test -d $INSTALL_DIR/rocprof-compute/libexec/rocprof-compute/utils
test -s $INSTALL_DIR/rocprof-compute/share/rocprof-compute/sample/vcopy.cpp
test -d $INSTALL_DIR/rocprof-compute/share/rocprof-compute/modulefiles
test -x $INSTALL_DIR/rocprof-compute/bin/rocprofiler-compute
test -s $INSTALL_DIR/rocprof-compute/libexec/rocprofiler-compute/VERSION
test -s $INSTALL_DIR/rocprof-compute/libexec/rocprofiler-compute/VERSION.sha
test -d $INSTALL_DIR/rocprof-compute/libexec/rocprofiler-compute/rocprof_compute_analyze
test -d $INSTALL_DIR/rocprof-compute/libexec/rocprofiler-compute/rocprof_compute_profile
test -d $INSTALL_DIR/rocprof-compute/libexec/rocprofiler-compute/rocprof_compute_soc
test -d $INSTALL_DIR/rocprof-compute/libexec/rocprofiler-compute/utils
test -s $INSTALL_DIR/rocprof-compute/share/rocprofiler-compute/sample/vcopy.cpp
test -d $INSTALL_DIR/rocprof-compute/share/rocprofiler-compute/modulefiles
- name: Query version (setting PYTHONPATH by hand)
run: |
export PYTHONPATH=${INSTALL_DIR}/python-libs:$PYTHONPATH
Expand All @@ -100,8 +100,8 @@ jobs:
- name: Access rocprof-compute using modulefile
run: |
. /etc/profile.d/lmod.sh
module use $INSTALL_DIR/rocprof-compute/share/rocprof-compute/modulefiles
module load rocprof-compute
module use $INSTALL_DIR/rocprof-compute/share/rocprofiler-compute/modulefiles
module load rocprofiler-compute
module list
rocprof-compute --version
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ string(REGEX REPLACE "([0-9]+)\.([0-9]+)\.([0-9]+)(.*)" "\\1.\\2.\\3" OMNIPERF_V
# string(REGEX REPLACE "^\\." "" OMNIPERF_VERSION_TWEAK "${OMNIPERF_VERSION_TWEAK}")

project(
rocprofcompute
rocprofiler-compute
VERSION ${OMNIPERF_VERSION}
LANGUAGES C
DESCRIPTION
Expand Down
2 changes: 1 addition & 1 deletion cmake/omniperf.lua.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Version @OMNIPERF_FULL_VERSION@

help(help_message,"\n")

whatis("Name: rocprof-compute")
whatis("Name: @PROJECT_NAME@")
whatis("Version: @OMNIPERF_FULL_VERSION@")
whatis("Keywords: Profiling, Performance, GPU")
whatis("Description: tool for GPU performance profiling")
Expand Down

0 comments on commit 1a08443

Please sign in to comment.