Version 3 (modified by nakasato, 15 years ago) (diff) |
---|
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.
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