AnsweredAssumed Answered

UMat (GPU) works slower then Mat (CPU)

Question asked by ran gree on Sep 4, 2019
Latest reply on Sep 10, 2019 by ran gree

i am having bad performance with working with UMat manipulation. i tested multiplication and addition on matrices 1024*706 with UMat (that works on opencl CL_PLATFORM_VERSION: OpenCL 1.2 V6.2.4.p4.190076 ) and with Mat that works on the CPU on imx8mq. the CPU takes 800 micros while the GPU takes 1400 micros. i am running the multiply and add 500 times so its not the write from CPU to GPU. Am i missing something in the configuration that will accelerate the GPU to work better then the CPU?

Outcomes