A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/arrayfire/arrayfire/wiki/Build-Instructions-for-Windows below:

Build Instructions for Windows · arrayfire/arrayfire Wiki · GitHub

Overview:

We recommend using vcpkg to install necessary dependencies for each of ArrayFire's backends: CPU, CUDA, and OpenCL.

All backends require FreeImage >= 3.16.

vcpkg install --triplet x64-windows freeimage
vcpkg install --triplet x64-windows glfw3 freetype

Using freetype installed using the above command is sufficient for developement purposes.

vcpkg install --triplet x64-windows freeimage openblas fftw3
vcpkg install --triplet x64-windows boost freeimage

In addition to Boost (>= v1.51) and FreeImage, you will also need:

Required: Install oneAPI Base Toolkit with compiler and libraries.

Once the toolkit is installed, enable necessary paths to all compilers and libraries by running the setvars script. For example:

"C:\Program Files (x86)\Intel\oneAPI\setvars.bat"

Building the oneAPI backend requires setting the AF_BUILD_ONEAPI=1 CMake option since the oneAPI backend is disabled by default.

vcpkg install --triplet x64-windows boost freeimage openblas

In addition to Boost (>= v1.48), FreeImage, and a host-side BLAS library (openblas, in this instance), you will also need to install one of the available OpenCL SDKs along with Python 2.

Note: clBLAS, clFFT and Boost.Compute are automatically downloaded and built by CMake.

ArrayFire Build Instructions

1. Configure ArrayFire

cd arrayfire
mkdir build
cd build
cmake -G "Visual Studio 15 2017 Win64" -DCMAKE_TOOLCHAIN_FILE="<vcpkg_dir>\scripts\buildsystems\vcpkg.cmake" ..

If you are building the CUDA backend with Visual Studio 2017 (v15.5 and above), you will need to point to the v140 toolset during the configuration step:

cmake -Tv140 -G "Visual Studio 15 2017 Win64" -DCMAKE_TOOLCHAIN_FILE="<vcpkg_dir>\scripts\buildsystems\vcpkg.cmake" ..

Consult with the "CUDA backend" section above for how to download and install the v140 toolset in Visual Studio 2017.

2. Build ArrayFire

Once ArrayFire has been configured, you may build ArrayFire by opening the build\ArrayFire.sln file in Visual Studio.

Our Using ArrayFire on Microsoft Windows with Visual Studio details how to setup a development environment with ArrayFire projects.

Known Dependency Compatibility Issues

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4