Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 1.4 KB

README.md

File metadata and controls

51 lines (36 loc) · 1.4 KB

arrayfire-docker

Dockerfile for Building and Using ArrayFire https://github.com/arrayfire/arrayfire.git

Dependencies

nvidia-docker

Building image

nvidia-docker build -t arrayfire .

Make sure to modify ArrayFire's build arguments in the Dockerfile to suit your needs prior to building the image.

Running container

nvidia-docker run --rm -ti arrayfire

Once running, invoke the unified backend test to show available devices for each of ArrayFire's backends:

./build/test/backend_unified

Compiling stand-alone examples

cp -R /opt/arrayfire/share/ArrayFire/examples /root/arrayfire-examples
cd /root/arrayfire-examples && mkdir build && cd build
cmake .. -DArrayFire_DIR=/opt/arrayfire/share/ArrayFire/cmake
make -j8

Take a look at the examples README.md for more information.

Support and Contact Info