Skip to content

Latest commit

 

History

History
31 lines (17 loc) · 1.1 KB

README.md

File metadata and controls

31 lines (17 loc) · 1.1 KB

This repository was built to illustrate how Coriander and Oclgrind can be used together. Unfortunately, the devil is in the details, -- the set-up is painful -- since it requires both libraries to be dynamically linked against the same version of LLVM to operate to avoid the following error:

error "'phi-node-folding-threshold' registered more than once"

This repository uses Docker to outline the build steps I used to get these two awesome tools to play nice together.

Dependencies

Precanned

You can avoid building the project by using my prebuilt image. This is done with the following command:

docker run --rm -it --runtime=nvidia beaujoh/coriander-and-oclgrind:1.0

If you are feeling like being more explicit, you can build and run directly outlined in the remainder of the README.

Build

docker build -t coriander-and-oclgrind .

Run

docker run --rm -it --runtime=nvidia coriander-and-oclgrind /bin/bash
make test