diff --git a/README.md b/README.md index 669a070af..044024773 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -AOMP - V 11.11-2 +AOMP - V 11.12-0 ============== This is README.md for https://github.com/ROCM-Developer-Tools/aomp. @@ -8,8 +8,8 @@ This is the base repository for AOMP. Use this github repository for documentation, and [examples](https://github.com/ROCm-Developer-Tools/aomp/tree/master/examples). -The last [release is AOMP 11.11-2](https://github.com/ROCm-Developer-Tools/aomp/releases). -Currently AOMP 11.12-0 is under development. +The last [release is AOMP 11.12-0](https://github.com/ROCm-Developer-Tools/aomp/releases). +Currently AOMP 11.12-1 is under development. Attention Users! Please use this repository for [issues](https://github.com/ROCm-Developer-Tools/aomp/issues). Do not put issues in any of the source code repositories. diff --git a/bin/aomp_common_vars b/bin/aomp_common_vars index ac11c4ac5..6a64eae6b 100644 --- a/bin/aomp_common_vars +++ b/bin/aomp_common_vars @@ -170,11 +170,11 @@ elif [ "$AOMP_VERSION" == "13.0" ] ; then else GITPROJECT=$GITROCDEV AOMP_PROJECT_REPO_NAME=${AOMP_PROJECT_REPO_NAME:-amd-llvm-project} - AOMP_PROJECT_REPO_BRANCH=${AOMP_PROJECT_REPO_BRANCH:-aomp11} + AOMP_PROJECT_REPO_BRANCH=${AOMP_PROJECT_REPO_BRANCH:-aomp_11.12-0} AOMP_EXTRAS_REPO_NAME=${AOMP_EXTRAS_REPO_NAME:-aomp-extras} - AOMP_EXTRAS_REPO_BRANCH=${AOMP_EXTRAS_REPO_BRANCH:-aomp11} + AOMP_EXTRAS_REPO_BRANCH=${AOMP_EXTRAS_REPO_BRANCH:-aomp_11.12-0} AOMP_FLANG_REPO_NAME=${AOMP_FLANG_REPO_NAME:-flang} - AOMP_FLANG_REPO_BRANCH=${AOMP_FLANG_REPO_BRANCH:-aomp11} + AOMP_FLANG_REPO_BRANCH=${AOMP_FLANG_REPO_BRANCH:-aomp_11.12-0} fi # FIXME: In the near future, we will remove the _BRANCH variables and use a # manifest file to determine which branch to build each component. @@ -192,7 +192,7 @@ fi # These aomp development repositories AOMP_REPO_NAME=${AOMP_REPO_NAME:-aomp} -AOMP_REPO_BRANCH=${AOMP_REPO_BRANCH:-amd-stg-openmp} +AOMP_REPO_BRANCH=${AOMP_REPO_BRANCH:-rel_11.12-0} # These extra repositories are needed but we cannot update them AOMP_ROCT_REPO_NAME=${AOMP_ROCT_REPO_NAME:-roct-thunk-interface} @@ -219,7 +219,7 @@ AOMP_COMGR_REPO_SHA=${AOMP_COMGR_REPO_SHA:-4b689d6} fi AOMP_RINFO_REPO_NAME=${AOMP_RINFO_REPO_NAME:-rocminfo} AOMP_RINFO_REPO_BRANCH=${AOMP_RINFO_REPO_BRANCH:-master} -#AOMP_RINFO_REPO_SHA=${AOMP_RINFO_REPO_SHA:-605b3a5} +AOMP_RINFO_REPO_SHA=${AOMP_RINFO_REPO_SHA:-605b3a5} # These are repos we will use when we switch to HIP VDI AOMP_VDI_REPO_NAME=${AOMP_VDI_REPO_NAME:-vdi} diff --git a/bin/debian/changelog b/bin/debian/changelog index 8e08d0091..180f3e0f3 100644 --- a/bin/debian/changelog +++ b/bin/debian/changelog @@ -1,4 +1,4 @@ -aomp (11.11-2) UNRELEASED; urgency=medium +aomp (11.12-0) UNRELEASED; urgency=medium * Initial release of aomp is 0.3-2 * Please see example in /usr/lib/aomp/examples/vmuldemo @@ -516,5 +516,26 @@ aomp (11.11-2) UNRELEASED; urgency=medium * component is very x86_64 specific. So it would not build on ppc64le. Since HIP * and OpenCL depend on rocclr, these components were not build for the ppc64le * build. Only OpenMP should work on ppc64le. + * + * 11.12-0 + * Add new testing from openlibm testing. This tests the libm functions used for offloading in + * either openmp target region or hip kernel. It tests accuracy and exception situations. + * Integration of roctracer and rocprofiler. + * Integration of changes to support HPC Toolkit + * Fix for Devito . This handles Lvalue References that are typically pointer to pointer kernel args. + * Support for fprintf. + * Fix a latent race between host runtime and devicertl + * Initial support for gpu malloc and free. The internal (device rtl) need for malloc and free + * is for nested parallelism. This is used in two of our applications, possibly by accident. + * The initial implementation of malloc and free was broken. This change uses a malloc and free + * that uses hostrpc which is very slow. Eventually we will develop the malloc and free hostrpc + * stubs to use a smart heap allocation scheme and only go to the host when the heap is consumed. + * This change will slow down the applications (snap) till a smarter malloc and free are implemented. + * This change just removes the broken malloc and free and improves the device memory footprint. + * Increase detail of debug printing controlled by LIBOMPTARGET_KERNEL_TRACE environment variable + * Support for Ubuntu 20.04. + * Move to ROCm 3.10 sources + * AOMP is no longer part of ROCm release starting with ROCM 4.0. OpenMP support in ROCm is part of the + * unified compiler. The unified compiler in ROCm is in the llvm-amdgpu package as of ROCm 3.9. - -- Greg Rodgers Fri, 13 Nov 2020 16:35:41 -0600 + -- Greg Rodgers Fri, 11 Dec 2020 12:53:34 -0600 diff --git a/docs/NOROOTINSTALL.md b/docs/NOROOTINSTALL.md index 884d3b078..5cc992910 100644 --- a/docs/NOROOTINSTALL.md +++ b/docs/NOROOTINSTALL.md @@ -5,15 +5,21 @@ Once installed go to [TESTINSTALL](TESTINSTALL.md) for instructions on getting s ### Debian To install the debian package without root access into your home directory, you can run these commands.
+ +On Ubuntu 20.04: +``` + wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.12-0/aomp_Ubuntu2004_11.12-0_amd64.deb + dpkg -x aomp_Ubuntu2004_11.12-0_amd64.deb /tmp/temproot +``` On Ubuntu 18.04 LTS (bionic beaver): ``` - wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.11-2/aomp_Ubuntu1804_11.11-2_amd64.deb - dpkg -x aomp_Ubuntu1804_11.11-2_amd64.deb /tmp/temproot + wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.12-0/aomp_Ubuntu1804_11.12-0_amd64.deb + dpkg -x aomp_Ubuntu1804_11.12-0_amd64.deb /tmp/temproot ``` On Ubuntu 16.04: ``` - wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.11-2/aomp_Ubuntu1604_11.11-2_amd64.deb - dpkg -x aomp_Ubuntu1604_11.11-2_amd64.deb /tmp/temproot + wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.12-0/aomp_Ubuntu1604_11.12-0_amd64.deb + dpkg -x aomp_Ubuntu1604_11.12-0_amd64.deb /tmp/temproot ``` Move to $HOME and set variables: ``` @@ -30,13 +36,13 @@ To install the rpm package without root access into your home directory, you can ``` For Red Hat: ``` - wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.11-2/aomp_REDHAT_7-11.11-2.x86_64.rpm - rpm2cpio aomp_REDHAT_7-11.11-2.x86_64.rpm | cpio -idmv + wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.12-0/aomp_REDHAT_7-11.12-0.x86_64.rpm + rpm2cpio aomp_REDHAT_7-11.12-0.x86_64.rpm | cpio -idmv ``` For SLES15-SP1: ``` - wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.11-2/aomp_SLES15_SP1-11.11-2.x86_64.rpm - rpm2cpio aomp_SLES15_SP1-11.11-2.x86_64.rpm | cpio -idmv + wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.12-0/aomp_SLES15_SP1-11.12-0.x86_64.rpm + rpm2cpio aomp_SLES15_SP1-11.12-0.x86_64.rpm | cpio -idmv ``` Move to $HOME and set variables: ``` diff --git a/docs/RELEASESOURCEINSTALL.md b/docs/RELEASESOURCEINSTALL.md index 273e712ab..20f053845 100644 --- a/docs/RELEASESOURCEINSTALL.md +++ b/docs/RELEASESOURCEINSTALL.md @@ -14,8 +14,8 @@ To build AOMP from source you must: 1. Install certain distribution packages, 2. To build and install aomp from the release source tarball run these commands: ``` - wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.11-2/aomp-11.11-2.tar.gz - tar -xzf aomp-11.11-2.tar.gz + wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.12-0/aomp-11.12-0.tar.gz + tar -xzf aomp-11.12-0.tar.gz cd aomp nohup make & ``` @@ -30,9 +30,9 @@ If you set the environment variable AOMP, the Makefile will install to that dire Otherwise, the Makefile will install into /usr/local. So you must have authorization to write into /usr/local if you do not set the environment variable AOMP. Let's assume you set the environment variable AOMP to "$HOME/rocm/aomp" in .bash_profile. -The build_aomp.sh script will install into $HOME/rocm/aomp_11.11-2 and create a symbolic link from $HOME/rocm/aomp to $HOME/rocm/aomp_11.11-2. +The build_aomp.sh script will install into $HOME/rocm/aomp_11.12-0 and create a symbolic link from $HOME/rocm/aomp to $HOME/rocm/aomp_11.12-0. This feature allows multiple versions of AOMP to be installed concurrently. -To enable a backlevel version of AOMP, simply set AOMP to $HOME/rocm/aomp_11.11-1. +To enable a backlevel version of AOMP, simply set AOMP to $HOME/rocm/aomp_11.11-2. ## Build AOMP with spack @@ -40,7 +40,7 @@ Assuming your have installed the [prerequisites](SOURCEINSTALL_PREREQUISITE.md), ``` wget https://github.com/ROCm-Developer-Tools/aomp/blob/master/bin/package.py - spack create -n aomp -t makefile --force https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.11-2/aomp-11.11-2.tar.gz + spack create -n aomp -t makefile --force https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.12-0/aomp-11.12-0.tar.gz spack edit aomp spack install aomp ``` diff --git a/docs/RHELINSTALL.md b/docs/RHELINSTALL.md index fb966c41c..a5d18a30a 100644 --- a/docs/RHELINSTALL.md +++ b/docs/RHELINSTALL.md @@ -8,12 +8,12 @@ sudo yum install perl-Digest-MD5 ``` ### Download and Install ``` -wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.11-2/aomp_REDHAT_7-11.11-2.x86_64.rpm -sudo rpm -i aomp_REDHAT_7-11.11-2.x86_64.rpm +wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.12-0/aomp_REDHAT_7-11.12-0.x86_64.rpm +sudo rpm -i aomp_REDHAT_7-11.12-0.x86_64.rpm ``` If CUDA is not installed the installation may cancel, to bypass this: ``` -sudo rpm -i --nodeps aomp_REDHAT_7-11.11-2.x86_64.rpm +sudo rpm -i --nodeps aomp_REDHAT_7-11.12-0.x86_64.rpm ``` Confirm AOMP environment variable is set: ``` diff --git a/docs/SLES15INSTALL.md b/docs/SLES15INSTALL.md index 57bff5f82..bcca41ca5 100644 --- a/docs/SLES15INSTALL.md +++ b/docs/SLES15INSTALL.md @@ -1,8 +1,8 @@ # AOMP SUSE SLES-15-SP1 Install AOMP will install to /usr/lib/aomp. The AOMP environment variable will automatically be set to the install location. This may require a new terminal to be launched to see the change. ``` -wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.11-2/aomp_SLES15_SP1-11.11-2.x86_64.rpm -sudo rpm -i aomp_SLES15_SP1-11.11-2.x86_64.rpm +wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.12-0/aomp_SLES15_SP1-11.12-0.x86_64.rpm +sudo rpm -i aomp_SLES15_SP1-11.12-0.x86_64.rpm ``` Confirm AOMP environment variable is set: ``` diff --git a/docs/SOURCEINSTALL.md b/docs/SOURCEINSTALL.md index a6caf2a1a..8ee0feac0 100644 --- a/docs/SOURCEINSTALL.md +++ b/docs/SOURCEINSTALL.md @@ -1,4 +1,4 @@ -# Source Install V 11.12-0 (DEV) +# Source Install V 11.12-1 (DEV) Build and install from sources is possible. However, the source build for AOMP is complex for several reasons. - Many repos are required. The clone_aomp.sh script ensures you have all repos and the correct branch. @@ -19,7 +19,7 @@ To build AOMP from source you must: 1. Install certain distribution packages, 2. ``` Choose a Build Version (Development or Release) -The development version is the next version to be released. It is possible that the development version is broken due to regressions that often occur during development. If instead, you want to build from the sources of a previous release such as 11.11-2 that is possible as well. +The development version is the next version to be released. It is possible that the development version is broken due to regressions that often occur during development. If instead, you want to build from the sources of a previous release such as 11.12-0 that is possible as well. For the Development Branch: ``` @@ -29,7 +29,7 @@ The development version is the next version to be released. It is possible that For the Release Branch: ``` - git checkout rel_11.11-2 + git checkout rel_11.12-0 git pull export AOMP_CHECK_GIT_BRANCH=0 //Tags will be used to checkout various repos. This will ignore the detached head state to avoid build errors. ``` diff --git a/docs/UBUNTUINSTALL.md b/docs/UBUNTUINSTALL.md index 8f05e79df..e2a73f1d0 100644 --- a/docs/UBUNTUINSTALL.md +++ b/docs/UBUNTUINSTALL.md @@ -1,16 +1,22 @@ # AOMP Debian/Ubuntu Install AOMP will install to /usr/lib/aomp. The AOMP environment variable will automatically be set to the install location. This may require a new terminal to be launched to see the change.
+On Ubuntu 20.04, run these commands: +``` +wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.12-0/aomp_Ubuntu2004_11.12-0_amd64.deb +sudo dpkg -i aomp_Ubuntu2004_11.12-0_amd64.deb +``` + On Ubuntu 18.04 LTS (bionic beaver), run these commands: ``` -wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.11-2/aomp_Ubuntu1804_11.11-2_amd64.deb -sudo dpkg -i aomp_Ubuntu1804_11.11-2_amd64.deb +wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.12-0/aomp_Ubuntu1804_11.12-0_amd64.deb +sudo dpkg -i aomp_Ubuntu1804_11.12-0_amd64.deb ``` On Ubuntu 16.04, run these commands: ``` -wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.11-2/aomp_Ubuntu1604_11.11-2_amd64.deb -sudo dpkg -i aomp_Ubuntu1604_11.11-2_amd64.deb +wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_11.12-0/aomp_Ubuntu1604_11.12-0_amd64.deb +sudo dpkg -i aomp_Ubuntu1604_11.12-0_amd64.deb ``` The AOMP bin directory (which includes the standard clang and llvm binaries) is not intended to be in your PATH for typical operation.