Hey, I am currently porting a raytracer from FORTRAN 77 to C for a research project.
After porting the basics, the question is how do we go about parallelizing.
In the laboratory, I have access to several other Opteron machines, from 2 to 8 cores, but without GPUs (at the moment). We are running 64b gentoo.
A GPGPU version would be (very) desirable, but with one programmer in the project, supporting separate versions without a GPU and GPU is not an option.
In addition, the code will be GPLed, and we would like it to be used by others who may have completely different hardware.
Thus, the entire program needs to be easily compiled / run without using a GPU or even a multi-core system.
OpenCl seems like a good option, since it can be run on machines without GPUs, but how will this code work on a single-core or 32-bit system?
Is it possible to write code in such a way that it can be easily compiled without openCL?
source share