On Linux
AOCL-RNG binary can be installed along with AOCL-LibM and AOCL-BLAS from AOCL master installer tar file available under AOCL Download section.
The master installer tar file could be used to install any standalone or whole package of pre-built AOCL libraries as explained in Using Master Package.
Local environment may use library after executing below command,
$ source $HOME/aocl/<version>/<gcc-or-aocc>/amd-libs.cfg
Alternatively, AOCL-RNG can also be installed using standalone package available under AOCL-RNG Download section.
Other dependencies should also be downloaded from standalone packages available under respective library pages AOCL-LibM Download section and Single-threaded AOCL-BLAS Download section.
On Windows
AOCL-RNG binary for Windows can only be installed from AOCL windows installer exe file available under AOCL Download section.
The windows master installer could be used to install whole package of pre-built AOCL libraries as explained in Using Windows Packages.
Local environment may use library after setting PATH like below,
> set "PATH=C:\Program Files\AMD\AOCL-Windows\amd-rng\lib\LP64;%PATH%"
> set "PATH=C:\Program Files\AMD\AOCL-Windows\amd-secrng\lib\LP64;%PATH%"
> set "PATH=C:\Program Files\AMD\AOCL-Windows\amd-libm\lib;%PATH%"
> set "PATH=C:\Program Files\AMD\AOCL-Windows\amd-blis\lib\LP64;%PATH%"