[Bf-committers] Blender and OpenCL
giles at thaumas.net
Sat Aug 28 21:50:39 CEST 2010
2010/8/25 Arturo José Pérez Verdú <arturjosep at gmail.com>:
> When you are talking about the fallback to normal CPU execution you are talking about an optimized CPU execution? I mean, as I understand OpenCL, there's always at least one OpenCL capable device, the CPU.
This depends on the implementation. OpenCL code *can* be compiled to
run on the CPU, and for example Apple's implementation supports this,
but I believe some of the GPU vendor's implementations do not; that
is, they can only compile targetting the GPU, not the CPU.
But as Jeroen points out, OpenCL itself may not be available, so
separate fallback code is necessary regardless.
More information about the Bf-committers