Version 19 (modified by nakasato, 14 years ago) (diff) |
---|
Latest Driver
Latest SDK
http://developer.amd.com/gpu/ATIStreamSDK/Pages/default.aspx
Standard Compute Layer Library
http://www.browndeertechnology.com/stdcl.html
A wrapper library API for OpenCL API used in the tutorial below. It seems that the libstdcl greatly simplify a sample program ($OPENCLDIR/samples/opencl/cl/app/NBody) supplied with Stream SDK 2.0beta.
OpenCL Tutorial: N-Body Simulation
http://www.browndeertechnology.com/docs/BDT_OpenCL_Tutorial_NBody.html
A tutorial that modifies the sample NBody program written in OpenCL API.
local & global
http://forums.amd.com/devforum/messageview.cfm?catid=390&threadid=123350&enterthread=y
It's a tricky question . On 4xxx __local mem is really __global mem ( ATI thinks it's too much work to optimize compiler to use 48xx LDS - although it's possible ). On 5xxx __local is LDS - so it's located in simd core.
Catalyst 10.1 with Ubuntu 9.10 workarounds
Change the kernel boot option
Edit "/etc/default/grub" and execute update-grub. I add "nopat" to GRUB_CMDLINE_LINUX_DEFAULT for Catalyst 10.1.
The configuration file for the grub is at /boot/grub/grub.cfg. This file is automatically generated by update-grub command.
This trick is not necessary for Catalyst 10.2.
X server setting
The default login manager gdm is difficult to properly configure, I install xdm instead of gdm. The configuration file for xdm is at /etc/X11/xdm directory.
Edit "Xservers" file as
:0 local /usr/bin/X :0 vt7 -nolisten tcp -ac
This "-ac" option enable remote applications to access the local X server. Note this option is generally regarded as "bad" for security. Be careful.
icc
http://software.intel.com/en-us/articles/using-intel-compilers-for-linux-with-ubuntu/
packages
sudo aptitude install libgsl0-dev netcdfg-dev gfortran
process affinity
From command line: http://www.cyberciti.biz/tips/setting-processor-affinity-certain-task-or-process.html
Attachments (3)
- NI.png (27.1 KB) - added by nakasato 13 years ago.
- SI.png (41.6 KB) - added by nakasato 13 years ago.
- GPU_REGFILE.png (44.7 KB) - added by nakasato 13 years ago.
Download all attachments as: .zip