when run on cpu or graphics card of cpu

when i install sdk of intel cpu then my opencl program run on graphics card of cpu or it runs on CPU’s core?

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.

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 ?