Skip to content

arrayfire/arrayfire-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

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