pixel transfer and reading back using opencl on IMX 6

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

pixel transfer and reading back using opencl on IMX 6

1,048件の閲覧回数
anusreesarkar
Contributor I

hi,

I was trying out a simple program in OpenCL which involved assigning the values of one memory object to another using a kernel code. However this only is taking around 10 to 12 ms. Also reading back the data using zero copy mechanism is taking at least 15 ms. Is there a way to reduce these timings?

P.S. The size of the image buffer is 1024x1024

0 件の賞賛
返信
1 返信

951件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi Anusree,

Are you using GPU vectors for initialize the CPU memory or GPU memory?, also you can copy the output in GPU memory to CPU memory with command clEnqueueReadBuffer, this should improve the performance.

In any case you are using atomic functions, these are currently are disable from OpenCL compiler, . If the kernel use it, the compiler will prompt error.

Examples can be found on the Graphics reference manual on the BSP documentation.

Hope this helps

0 件の賞賛
返信