PDA

View Full Version : when run on cpu or graphics card of cpu



prince
01-19-2013, 09:52 AM
when i install sdk of intel cpu then my opencl program run on graphics card of cpu or it runs on CPU's core?
thanks

Dithermaster
01-19-2013, 12:14 PM
It can run on either, but you'll need a compatible GPU for it to run on GPU (for Intel, HD Graphics 4000).

Your OpenCL program can enumerate the installed OpenCL platforms and devices and select where it runs.

prince
01-20-2013, 07:35 AM
means if i write CPU in function then it will run on CPU ,then no need for GPU it also means that if i dont have GPU(predecessor of intel hd 4000) or not compatible GPU ,then also my opencl program can run on CPU
is it means ?
thanks