Clone wiki

Geometric Algebra Raytracer / Home

A raytracer application using Geometric Algebra (with Gaalop Precompiler) and C++ AMP

1 Installation Guide (for Linux Ubuntu 14.04 LTS)

To install the entire environment you need to install the HSA foundations 'Clamp' driver to interpretate C++ AMP code on linux based operating systems. Furhter on you need to download and install GAALOP Precompiler. Please follow the next steps to set up your system.

My demo system contains:

  • AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ × 2
  • AMD Radeon HD 5450 1GB
  • 4 GB of RAM
  • Ubuntu 14.04 LTS 64-Bit OS

1.1 Install HSAs Clamp driver for C++ AMP (how it worked for me...)

Download and install the following files from HSA Drivers hosting page:

  • libcxxamp-0.4.0-hsa-milestone3-Linux.deb
  • clamp-0.4.0-hsa-milestone3-Linux.deb

You can use Ubuntu Software Center to install the debian files. After installing the files you need to set up a working OpenCL environment on your system. In my case I downloaded for that the AMDAPPSDK-2.9-1 from Note: don't choose a beta version. Once downloaded install the OpenCL environment to location /opt/<your sdk folder> Then you need to extend your config file /etc/ with the following:

# C++AMP runtime libraries
# libc++ & C++AMP runtime implementations

# OpenCL runtime (
/opt/<your sdk folder>/lib/x86_64

How to verify if C++ AMP works on your Linux station

You can verify if the HSA compiler works on your PC if you do the following steps:

1.2 Install GaalopPrecompiler

Stay tuned... more 2 come