Wiki - README‎ > ‎Programming‎ > ‎

OpenCL

ATI Stream SDK: OpenCL for CPU and AMD/ATI GPU

install ati catalyst drivers [link] (and dev pkg?)

download AMD Stream SDK [link] and ICD for Linux

add following to make/openclsdkdefs.mk:194
-L/usr/lib/fglrx

export ATISTREAMSDKROOT=[path_to_extracted]
export ATISTREAMSDKSAMPLEROOT=[path_to_extracted]
export LD_LIBRARY_PATH=$ATISTREAMSDKROOT/lib/x86_64:$LD_LIBRARY_PATH
make

untar icd-registration at root (places files in /etc/OpenCL/vendors)
cd / ; tar xfz [path]/icd-registraction.tgz


Cloo: OpenCL for .NET

download source [link] and compile (wrap try-catch around MainForm.cs:56 to catch when OpenCL is not found)
export LD_LIBRARY_PATH=[stream_sdk_root]/lib/x86_64/:$LD_LIBRARY_PATH

run [cloo_root]/bin/Debug/Clootils.exe

Comments