Close

Exploiting the GPU/APU

A project log for TinyJaguar

An AMD Jaguar cluster computer

colin-alstonColin Alston 03/13/2017 at 09:260 Comments

I spent a bit more time playing with OpenCL with PyOpenCL. This was a real tricky pain to get working really, since it requires the Catalyst drivers to use the GPU. It would have been easier if I'd known this before building all the nodes because I had to rebuild the initramfs for TFTP and then for some reason OpenCL was just segfaulting. The OpenCL packages in Debian are also old and didn't want to work properly, and the new one wouldn't build properly on the nodes. There seems to be some kind of weird memory glitch happening, possibly due to the shared VRAM. Gah!

Through trial and error and then sheer luck I managed to get PyOpenCL to behave itself and made a quick MPI program to check the nodes.

Now that everything is working I can try build some interesting software to make use of my whole two extra GPU cores, bringing the whole pile to 16 cores of amazing computing power.

Discussions