2
0

Update to use rocprofiler-sdk (#55)

- Renames the CMake option "ROCPROFSYS_USE_HIP" to "ROCPROFSYS_USE_ROCM"
- Remove the "ROCPROFSYS_USE_ROCM_SMI option. Controlled with the "ROCPROFSYS_USE_ROCM" option, instead.
   - Runtime configuration can still toggle ROCPROFSYS_USE_ROCM_SMI to disable the sampling.
- Rename ROCPROFSYS_HIP_VERSION macro to ROCPROFSYS_ROCM_VERSION and remove blocks for `ROCPROFSYS_ROCM_VERSION < 60000`
- Remove ROCPROFSYS_USE_ROCTRACER and ROCPROFSYS_USE_ROCPROFILER
- Update test cases
- Update docker files and workflows to install cmake 3.21, which is required for the rocprofiler-sdk findPackage script.
- Removed rocm-6.2 from workflows due to a rocprofiler-sdk API change.
Este cometimento está contido em:
David Galiffi
2024-12-13 18:48:39 -05:00
cometido por GitHub
ascendente d3725df816
cometimento 88aa2d3cbe
87 ficheiros modificados com 3842 adições e 6261 eliminações
+1 -1
Ver ficheiro
@@ -25,7 +25,7 @@ RUN zypper --non-interactive update -y && \
zypper --non-interactive install -y -t pattern devel_basis && \
zypper --non-interactive install -y binutils-gold cmake curl dpkg-devel \
gcc-c++ git libnuma-devel openmpi3-devel python3-pip rpm-build wget && \
python3 -m pip install 'cmake==3.18.4'
python3 -m pip install 'cmake==3.21'
ARG ROCM_VERSION=0.0
ARG AMDGPU_RPM=6.2/sle/15.6/amdgpu-install-6.2.60200-1.noarch.rpm
+1 -1
Ver ficheiro
@@ -31,7 +31,7 @@ RUN zypper --non-interactive update -y && \
gcc-c++ git libnuma-devel openmpi3-devel papi-devel python3-pip \
rpm-build wget && \
zypper --non-interactive clean --all && \
python3 -m pip install 'cmake==3.18.4'
python3 -m pip install 'cmake==3.21'
COPY ./dyninst-source /tmp/dyninst
+1 -1
Ver ficheiro
@@ -18,7 +18,7 @@ RUN yum groupinstall -y "Development Tools" && \
yum install -y --allowerasing cmake curl dpkg-devel numactl-devel openmpi-devel \
papi-devel python3-pip texinfo wget which zlib-devel && \
yum clean all && \
python3 -m pip install 'cmake==3.18.4'
python3 -m pip install 'cmake==3.21'
ARG ROCM_VERSION=0.0
ARG AMDGPU_RPM=6.2/rhel/9.4/amdgpu-install-6.2.60202-1.el9.noarch.rpm
+1 -1
Ver ficheiro
@@ -22,7 +22,7 @@ RUN yum groupinstall -y "Development Tools" && \
yum install -y --allowerasing cmake curl dpkg-devel numactl-devel \
openmpi-devel papi-devel python3-pip texinfo wget which zlib-devel && \
yum clean all && \
python3 -m pip install 'cmake==3.18.4'
python3 -m pip install 'cmake==3.21'
COPY ./dyninst-source /tmp/dyninst
+2 -2
Ver ficheiro
@@ -30,9 +30,9 @@ RUN apt-get update && \
python3-pip rpm texinfo wget && \
OS_VERSION=$(cat /etc/os-release | grep VERSION_ID | sed 's/=/ /'1 | awk '{print $NF}' | sed 's/"//g') && \
if [ "${OS_VERSION}" == "24.04" ]; then \
python3 -m pip install --break-system-packages 'cmake==3.18.4'; \
python3 -m pip install --break-system-packages 'cmake==3.21'; \
else \
python3 -m pip install 'cmake==3.18.4'; \
python3 -m pip install 'cmake==3.21'; \
fi
RUN if [ "${ROCM_VERSION}" != "0.0" ]; then \
+2 -2
Ver ficheiro
@@ -31,9 +31,9 @@ RUN apt-get update && \
python3-pip texinfo unzip wget zip zlib1g-dev && \
apt-get autoclean && \
if [ "${OS_VERSION}" == "24.04" ]; then \
python3 -m pip install --break-system-packages 'cmake==3.18.4' \
python3 -m pip install --break-system-packages 'cmake==3.21' \
else \
python3 -m pip install 'cmake==3.18.4'; \
python3 -m pip install 'cmake==3.21'; \
fi
COPY ./dyninst-source /tmp/dyninst