Friday, February 9, 2007

SDK bug squashed


I must be getting up to steam: I just squashed my first bug in the official IBM SDK for the Cell Broadband Engine. In my quest to implement Photon Mapping on the SPU, I stumbled upon this nice little gem in the development kit: the intersect_ray1_triangle8_v() function. This function will do 8 intersection tests in a single go, using optimal SIMD stream lining. However, it did not work, where as the single triangle case did. After fixing the SIMD dot3 define, it ran fine. Also, I have put some assorted development info up on my stolk.org site. My first SPU application is getting nearer. I now have to find out how I can cram photons, pixels and triangles in that really tiny 256Kbyte memory of the SPU.

No comments: