Ask Your Question

MidoriYakumo's profile - activity

2014-12-27 02:56:33 -0600 asked a question Any examples to use OpenCL in image filter for python binding?

Both CPU and GPU is avaliable for opencl:

[<pyopencl.Device 'Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz' on 'Intel(R) OpenCL' at 0xf407a8>]
[<pyopencl.Device 'Intel(R) HD Graphics IvyBridge M GT2' on 'Intel Gen OCL Driver' at 0x7fac6390e8a0>]

Environment vars set as:

export OPENCV_OPENCL_DEVICE=':GPU:'

I tried a simple sobel filter example for python-opencv but Intel GPU tool (from mesa) shows that no GPU resources is used.