martedì 11 gennaio 2011

Error compiling ATI Streams SDK on Fedora

I'm working with some OpenCL related things, so I need to install ATI Streams SDK on this machine.

I downloaded the software from ATI Streams website, then extracted it and exported the necessary env vars:

$ tar zxvf /path/to/ati-stream-sdk-v2.3-lnx64.tgz
$ cd ati-stream-*/
$ export ATISTREAMSDKROOT=$(PWD)
$ export ATISTREAMSDKSAMPLESROOT=${ATISTREAMSDKROOT}/samples

At this point I had to patch several makefiles to compile the SDK on my Fedora 13, so here's the patch. Save it as ati-streams.patch, then make sure you are in the ati-streams-sdk folder and launch:

$ patch -p1 < /path/to/ati-streams.patch
patching file samples/opencl/cl/app/BoxFilterGL/Makefile
patching file samples/opencl/cl/app/FluidSimulation2D/Makefile
patching file samples/opencl/cl/app/Mandelbrot/Makefile
patching file samples/opencl/cl/app/NBody/Makefile
patching file samples/opencl/cl/app/SimpleGL/Makefile
patching file samples/opencl/cl/app/Template/Makefile
patching file samples/opencl/cl/app/URNGNoiseGL/Makefile

Then you can launch make to compile the SDK.

sabato 8 gennaio 2011

Pronto anche lo sfondo!

Forse un po' troppo. Ma insomma, oggi ho voglia di sfondi così :)

venerdì 7 gennaio 2011

Fix'd

Primo post del 2011... ho fixato un po' i CSS riguardanti il codice sorgente (casomai mi venisse voglia di pubblicare qualche altro orrore :p) ed i CSS della sidebar e del post-footer. Quasi quasi metto anche uno sfondo alla pagina, ma devo rifletterci bene.