2013년 5월 3일 금요일
Install opencl with AMD streaming SDK
Installed env:
OS : unbuntu 10.04 , 64bits
Graphic Card : AMD Radeaon HD 4870
AMD Straming SDK 2.6
- AMD driver download
http://support.amd.com/us/gpudownload/linux/legacy/Pages/legacy-radeon_linux.aspx
http://support.amd.com/us/gpudownload/linux/previous/Pages/radeon_linux.aspx
- stream SDK download
http://developer.amd.com/tools-and-sdks/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/downloads/
1. Check your Graphic card supports opencl or not
You can check here
http://developer.amd.com/tools-and-sdks/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/system-requirements-driver-compatibility/
if the graphic card is not supported , download lower version and check
AMD-APP-SDK-<version>-RC-lnx64\docsAMD_APP_SDK_Getting_Started_Guide_<version>.pdf
2. install driver and opencl SDK
unzip SDK package then run Install-AMD-APP.sh with root log-in
3. go to <install_dir>/AMD-APP-SDK-v2.x-RC3-lnx64/samples/opencl then make
if you do not install openGL you get build error with below message
/opt/AMDAPP/include/GL/glew.h:1138:20: error: GL/glu.h: No such file or directory
in this case install openGL
$ sudo apt-get install freeglut3-dev
then make again, build will be succeeded
피드 구독하기:
댓글 (Atom)
댓글 없음:
댓글 쓰기