bensander / HCC-Example-Application

HCC Sample Applications

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting Started

First, follow the instruction to install ROCm, which provides the HCC compiler, the ROCr runtime and the toolchains to compile the samples.

How to Build the Samples

HC C++ samples

  1. Make sure the HCC compiler is in your path. The default installation of HCC is /opt/rocm/bin.
  2. In the HCC-Example-Applications directory, create a build directory.
  3. Go into the build directory, then type CXX=hcc cmake .. to generate the makefiles.
  4. Type make to compile the samples.

About

HCC Sample Applications


Languages

Language:C++ 92.0%Language:CMake 8.0%