Search This Blog

2011-11-26

Linux driver for E350/Zacate Radeon HD 6310 for APP/OpenCL


http://forums.amd.com/forum/messageview.cfm?catid=390&threadid=145785

Got it working(OpenCL and X11), turns out AMD posted the Linux driver for HD 6XXX today :-)

Here are some rough notes for Fedora 14:

#get ATI driver for E350/Zacate Radeon HD 6310 
support.amd.com
  Desktop->HD Radeon->6XXX driver->x86_64 Linux
sh ati-driver-installer-x11-1-x86.x86_64.run
cd /lib/modules/fglrx
sh make.install.sh
modprobe fglrx
init 3
killall -9 Xorg
aticonfig --initialize
init 5

#get AMD APP / ATI Stream API
tar xzf ati-stream-sdk-v2.3-lnx64.tgz
cd ati-stream-sdk-v2.3-lnx64
#edit make/openclsdkdefs.mk:
  OpenCL -> OpenCL GL GLU
make
export LD_LIBRARY_PATH=`pwd`/lib/x86_64
execstack -c lib/x86_64/libatiocl64.so
cd samples/opencl/bin/x86_64
./MatrixMultiplication

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.