A RetroSearch Logo

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

Search Query:

Showing content from https://github.com/arrayfire/arrayfire-python/wiki below:

Home · arrayfire/arrayfire-python Wiki · GitHub

Welcome to the arrayfire-python wiki!

Getting ArrayFire Libraries

You can get ArrayFire libraries using one of the following methods:

  1. ArrayFire Installers
  2. Build from source
Setting the environment variables

If you have not installed the ArrayFire library in your system paths, please make sure the following environment variables are exported.

export LD_LIBRARY_PATH=/path/to/arrayfire/lib:$LD_LIBRARY_PATH

on a 64-bit system, the following may be necessary instead:

export LD_LIBRARY_PATH=/path/to/arrayfire/lib64:$LD_LIBRARY_PATH

If you are using CUDA, please add the following line as well

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/cuda/lib64:/path/to/cuda/nvvm/lib64

You can put this in your ~/.bashrc or the equivalent file to make it persistent.

export DYLD_LIBRARY_PATH=/path/to/arrayfire/lib:$DYLD_LIBRARY_PATH

If you are using CUDA, please add the following line as well

export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/path/to/cuda/lib:/path/to/cuda/nvvm/lib

You can put this in your ~/.bashrc or the equivalent file to make it persistent.

To allow DLL detection for all users, it needs to be added to the system PATH variable. For this, follow the steps:

  1. Open Advanced System Settings:
  2. In Advanced System Settings window, click on Advanced tab
  3. Click on Environment Variables, then under System Variables, find PATH, and click on it.
  4. In edit mode, append %AF_PATH%\lib. NOTE: Ensure that there is a semi-colon separating %AF_PATH%\lib from any existing content (e.g. EXISTING_PATHS;%AF_PATH%\lib;) otherwise other software may not function correctly.
  5. If using CUDA, append %CUDA_PATH%\nvvm\bin to the PATH as mentioned above.

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