Releases: ROCm/hcc
preview_1.0.17236
HCC version used by HIP preview_1.0.17241
ROCm 1.5.0 RC1 binary package
ROCm 1.5.0 RC1 binary package
Note:
- This is the first release candidate for HCC for ROCm 1.5.0. It contains codes in
remove-promote-decouple-generic-0
branch which stems from a pending upstream patch: https://reviews.llvm.org/D27627
Contents:
- ROCm Device Library
- HCC Compiler
Build Environment:
- OS: Ubuntu Linux 16.04
- Compiler: gcc 5.4.0
- ROCm: 1.4
Steps to build from source:
(adopted from https://github.com/RadeonOpenCompute/HCC-Native-GCN-ISA/wiki )
# Initialize the Workspace
mkdir repo-roc-1.5.0-rc1
cd repo-roc-1.5.0-rc1
repo init -u https://github.com/RadeonOpenCompute/HCC-Native-GCN-ISA.git -b refs/tags/roc-1.5.0-rc1
repo sync
# build various LLVM components in order to build ROCm device library
mkdir llvm/build
cd llvm/build
cmake .. -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD="AMDGPU;X86" -DLLVM_APPEND_VC_REV=ON
make -j64
cd ../..
# build ROCm device library
mkdir ocml/build
cd ocml/build
export LLVM_BUILD=`pwd`/../../llvm/build
CC=$LLVM_BUILD/bin/clang cmake -DLLVM_DIR=$LLVM_BUILD -DAMDHSACOD=/opt/rocm/bin/amdhsacod ..
make -j64
# build binary packages for distribution
make package
# install the package built so HCC could be properly configured
sudo dpkg -i rocm-device-libs-0.0.1-Linux.deb
cd ../..
# build HCC compiler and HCC runtime
mkdir hcc/build
cd hcc/build
# configure HCC
# add -DDISTRO=xenial in case you build under Ubuntu Linux 16.04
# add -DDISTRO=fd23 in case you build under Fedora Linux 23
cmake .. \
-DROCM_DEVICE_LIB_DIR=/opt/rocm/lib \
-DNUM_BUILD_THREADS=64
# build HCC
make -j64
# build binary packages for distribution
make package
cd ../..
preview_1.0.17114
HCC version used by HIP preview_1.0.17102
preview_1.0.17065
HCC version used by HIP preview_1.0.17066
develop_0.10.16501
HCC version used by HIP preview_1.0.16502 & HIP preview_1.0.17015
ROCm 1.4.0 RC3 binary package
ROCm 1.4.0 RC3 binary package
Contents:
- ROCm Device Library
- HCC Compiler
- AOC2 OpenCL frontend (shipping in binary format as of now)
Steps to build from source:
(adopted from https://github.com/RadeonOpenCompute/HCC-Native-GCN-ISA/wiki )
# Initialize the Workspace
mkdir repo-roc-1.4.0-rc3
cd repo-roc-1.4.0-rc3
repo init -u https://github.com/RadeonOpenCompute/HCC-Native-GCN-ISA.git -b refs/tags/roc-1.4.0-rc3
repo sync
# build various LLVM components in order to build ROCm device library
mkdir llvm/build
cd llvm/build
cmake .. -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD="AMDGPU;X86" -DLLVM_APPEND_VC_REV=ON
make
cd ../..
# build ROCm device library
mkdir ocml/build
cd ocml/build
export LLVM_BUILD=`pwd`/../../llvm/build
CC=$LLVM_BUILD/bin/clang cmake -DLLVM_DIR=$LLVM_BUILD -DAMDHSACOD=/opt/rocm/bin/amdhsacod ..
make
# build binary packages for distribution
make package
# install the package built so HCC could be properly configured
sudo dpkg -i rocm-device-libs-0.0.1401-Linux.deb
cd ../..
# build HCC compiler and HCC runtime
mkdir hcc/build
cd hcc/build
cmake .. \
-DHSA_AMDGPU_GPU_TARGET=AMD:AMDGPU:8:0:3 \
-DROCM_DEVICE_LIB_DIR=/opt/rocm/lib \
-DDISTRO=ubuntu
make
# build binary packages for distribution
make package
cd ../..
develop_0.10.16454
HCC version used by HIP preview_1.0.16461
ROCm 1.4.0 RC2
ROCm 1.4.0 RC2 binary package
Changes from previous version:
- Change data layout for AMDGPU target from "p:32:32" to "p:32:64", in case "-hcc" Environment is specified in target triple.
Contents:
- ROCm Device Library
- HCC Compiler
Steps to build from source:
(adopted from https://github.com/RadeonOpenCompute/HCC-Native-GCN-ISA/wiki )
# Initialize the Workspace
mkdir repo-roc-1.4.0-rc2
cd repo-roc-1.4.0-rc2
repo init -u https://github.com/RadeonOpenCompute/HCC-Native-GCN-ISA.git -b refs/tags/roc-1.4.0-rc2
repo sync
# build various LLVM components in order to build ROCm device library
mkdir llvm/build
cd llvm/build
cmake .. -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD="AMDGPU;X86" -DLLVM_APPEND_VC_REV=ON
make
cd ../..
# build ROCm device library
mkdir ocml/build
cd ocml/build
export LLVM_BUILD=`pwd`/../../llvm/build
CC=$LLVM_BUILD/bin/clang cmake -DLLVM_DIR=$LLVM_BUILD -DAMDHSACOD=/opt/rocm/bin/amdhsacod ..
make
# build binary packages for distribution
make package
# install the package built so HCC could be properly configured
sudo dpkg -i rocm-device-libs-0.0.1402-Linux.deb
cd ../..
# build HCC compiler and HCC runtime
mkdir hcc/build
cd hcc/build
cmake .. \
-DHSA_AMDGPU_GPU_TARGET=AMD:AMDGPU:8:0:3 \
-DROCM_DEVICE_LIB_DIR=/opt/rocm/lib \
-DDISTRO=ubuntu
make
# build binary packages for distribution
make package
cd ../..
ROCm 1.4.0 RC1
ROCm 1.4.0 RC1 binary package
Contents:
- ROCm Device Library
- HCC Compiler
Steps to build from source:
(adopted from https://github.com/RadeonOpenCompute/HCC-Native-GCN-ISA/wiki )
# Initialize the Workspace
mkdir repo-roc-1.4.0-rc1
cd repo-roc-1.4.0-rc1
repo init -u https://github.com/RadeonOpenCompute/HCC-Native-GCN-ISA.git -b refs/tags/roc-1.4.0-rc1
repo sync
# build various LLVM components in order to build ROCm device library
mkdir llvm/build
cd llvm/build
cmake .. -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD="AMDGPU;X86" -DLLVM_APPEND_VC_REV=ON
make
cd ../..
# build ROCm device library
mkdir ocml/build
cd ocml/build
export LLVM_BUILD=`pwd`/../../llvm/build
CC=$LLVM_BUILD/bin/clang cmake -DLLVM_DIR=$LLVM_BUILD -DAMDHSACOD=/opt/rocm/bin/amdhsacod ..
make
# build binary packages for distribution
make package
# install the package built so HCC could be properly configured
sudo dpkg -i rocm-device-libs-0.0.1401-Linux.deb
cd ../..
# build HCC compiler and HCC runtime
mkdir hcc/build
cd hcc/build
cmake .. \
-DHSA_AMDGPU_GPU_TARGET=AMD:AMDGPU:8:0:3 \
-DROCM_DEVICE_LIB_DIR=/opt/rocm/lib \
-DDISTRO=ubuntu
make
# build binary packages for distribution
make package
cd ../..
develop_0.10.16415
HCC version used by HIP preview_1.0.16424