Skip to content

Commit

Permalink
Changes for aomp 0.6-3 release
Browse files Browse the repository at this point in the history
  • Loading branch information
gregrodgers committed May 28, 2019
1 parent bfa8572 commit be9fd9a
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 16 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -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).
Expand Down Expand Up @@ -74,24 +74,24 @@ 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

<A NAME="Install">

### Debian/Ubunutu Install

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.

<!--### RPM Install
For rpm-based Linux distributions, use this rpm
```
wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/r/aomp-0.6-2.x86_64.rpm
sudo rpm -i aomp-0.6-2.x86_64.rpm
wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/r/aomp-0.6-3.x86_64.rpm
sudo rpm -i aomp-0.6-3.x86_64.rpm
```
-->
### No root Debian Install
Expand All @@ -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
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions SOURCEINSTALL.md
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -24,7 +24,7 @@ Please verify you have the proper software installed as AOMP needs certain suppo
```

<b>Choose a Build Version (Development or Release)</b>
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.

<b>For the Development Branch:</b>
```
Expand All @@ -33,7 +33,7 @@ The development version is the next version to be released. It is possible that

<b>For the Release Branch:</b>
```
git checkout rel_0.6-2
git checkout rel_0.6-3
git pull
```
<b>Clone and Build:</b>
Expand Down
21 changes: 19 additions & 2 deletions bin/debian/changelog
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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 <Gregory.Rodgers@amd.com> Tue, 30 Apr 2019 11:11:14 -0500
-- Greg Rodgers <Gregory.Rodgers@amd.com> Tue, 28 May 2019 09:38:58 -0500

0 comments on commit be9fd9a

Please sign in to comment.