From be9fd9a21b049cd74a0f6bebac594e6a05446504 Mon Sep 17 00:00:00 2001 From: gregrodgers Date: Tue, 28 May 2019 09:47:09 -0500 Subject: [PATCH] Changes for aomp 0.6-3 release --- README.md | 22 +++++++++++----------- SOURCEINSTALL.md | 6 +++--- bin/debian/changelog | 21 +++++++++++++++++++-- 3 files changed, 33 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 363cb95a0..d79572a13 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ -AOMP - V 0.6-2 +AOMP - V 0.6-3 ============== AOMP: AMD OpenMP Compiler This is README.md for https://github.com/ROCM-Developer-Tools/aomp . This is the base repository for AOMP, Use this for issues, documentation, packaging, examples, build. -The last release of AOMP is version 0.6-2. Currently version 0.6-3 is under development. +The last release of AOMP is version 0.6-3. Currently version 0.6-4 is under development. AOMP is an experimental PROTOTYPE that is intended to support multiple programming models including OpenMP 4.5+, , HIP, and cuda clang. It supports offloading to multiple GPU acceleration targets(multi-target). It also supports different host platforms such as AMD64, PPC64LE, and AARCH64. (multi-platform). @@ -74,7 +74,7 @@ Software License Agreement. AOMP needs certain support for Linux to function properly, such as the KFD driver for AMD GPUs and CUDA for nvptx. Click [LINUXSUPPORT](LINUXSUPPORT.md) for more information. -## AOMP Install V 0.6-2 +## AOMP Install V 0.6-3 @@ -82,16 +82,16 @@ AOMP needs certain support for Linux to function properly, such as the KFD drive On Ubuntu 18.04 LTS (bionic beaver), run these commands: ``` -wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_0.6-2/aomp_Ubuntu1804_0.6-2_amd64.deb -sudo dpkg -i aomp_Ubuntu1804_0.6-2_amd64.deb +wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_0.6-3/aomp_Ubuntu1804_0.6-3_amd64.deb +sudo dpkg -i aomp_Ubuntu1804_0.6-3_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. ### No root Debian Install @@ -100,8 +100,8 @@ By default, the packages install their content to the release directory /opt/roc To install the debian package without root access into your home directory, you can run these commands. ``` - wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_0.6-2/aomp_Ubuntu1604_0.6-2_amd64.deb - dpkg -x aomp_Ubuntu1604_0.6-2_amd64.deb /tmp/temproot + wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_0.6-3/aomp_Ubuntu1604_0.6-3_amd64.deb + dpkg -x aomp_Ubuntu1604_0.6-3_amd64.deb /tmp/temproot mv /tmp/temproot/opt/rocm $HOME export PATH=$PATH:$HOME/rocm/aomp/bin export AOMP=$HOME/rocm/aomp @@ -115,8 +115,8 @@ By default, the packages install their content to the release directory /opt/roc To install the rpm package without root access into your home directory, you can run these commands. ``` mkdir /tmp/temproot ; cd /tmp/temproot - wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_0.6-2/aomp-0.6-2.x86_64.rpm - rpm2cpio aomp-0.6-2.x86_64.rpm | cpio -idmv + wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_0.6-3/aomp-0.6-3.x86_64.rpm + rpm2cpio aomp-0.6-3.x86_64.rpm | cpio -idmv mv /tmp/temproot/opt/rocm $HOME export PATH=$PATH:$HOME/rocm/aomp/bin export AOMP=$HOME/rocm/aomp diff --git a/SOURCEINSTALL.md b/SOURCEINSTALL.md index cca8f42da..5093f887d 100644 --- a/SOURCEINSTALL.md +++ b/SOURCEINSTALL.md @@ -1,4 +1,4 @@ -# Source Install V 0.6-3 (DEV) +# Source Install V 0.6-4 (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. @@ -24,7 +24,7 @@ Please verify you have the proper software installed as AOMP needs certain suppo ``` 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 0.6-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 0.6-3 that is possible as well. For the Development Branch: ``` @@ -33,7 +33,7 @@ The development version is the next version to be released. It is possible that For the Release Branch: ``` - git checkout rel_0.6-2 + git checkout rel_0.6-3 git pull ``` Clone and Build: diff --git a/bin/debian/changelog b/bin/debian/changelog index 8606ddc3b..c4f1789a6 100644 --- a/bin/debian/changelog +++ b/bin/debian/changelog @@ -1,4 +1,4 @@ -aomp (0.6-2) UNRELEASED; urgency=medium +aomp (0.6-3) UNRELEASED; urgency=medium * Initial release of aomp is 0.3-2 * Please see example in /opt/rocm/aomp/examples/vmuldemo @@ -161,5 +161,22 @@ aomp (0.6-2) UNRELEASED; urgency=medium * to no more than Max_Teams, fixes assertok_error, and snap4 * Also handle num_teams clause inside loop_tripcount logic. * BALLOT_SYNC macro replaced with ACTIVEMASK in release_80 + * + * 0.6-3 + * New support for synchronous services called hostcall. + * The source to support hostcall can be found in a new repository called aomp-extras in hostcall directory + * There are minor changes to atmi to support hostcall. These are in branch atmi-0.5-063. + * Removed printf end-of-kernel service and added to hostcall. printf is now much more reliable from the gpu. + * Enhancements to toolchain to support static device libraries + * Fix to correctly pickup math functions from libm-.bc. + * Previously it was seeing math functions as builtins. + * Suppress calls to __kmpc_push_target_count for host code, resolves undefined reference. + * Allow -frtti flag to be honored if user requests it on command line. + * Add AOMP/include path before /usr/local/include to pick up correct header for omp.h. + * Generate Metadata for both SPMD and Generic offload targets. + * Honor OMP_TEAM_LIMIT for work groups, just like OMP_NUM_TEAMS. + * Added *_wg_size symbol to reflect compile time known thread limit for a kernel. + * Added support to openmp runtimes to support 1024 threads per team/work group. + * Reenabled SILoadStoreOptimizer pass after pulling upstream fix for scalar carry corruption. - -- Greg Rodgers Tue, 30 Apr 2019 11:11:14 -0500 + -- Greg Rodgers Tue, 28 May 2019 09:38:58 -0500