4

I want to execute OpenCL code on a PC which doesn't have a graphics card, nor any other hardware component which is able to execute OpenCL. Is it possible compile my OpenCL code in a way that it can be executed on the CPU in Linux? Or is it possible to simulate a GPU environment on the CPU?

Note: It's about testing whether the code works as expected, not about performance.

Misch
  • 143

1 Answers1

7

This looks like what you need, although you probably need to recompile, and the SDK linked from there appears specific to Intel CPUs; this link to AMD's documentation appears to describe the equivalent for AMD CPUs.

Aaron Miller
  • 10,087