Performance query for eiq-sample-apps on imx8m nano cpu vs gpu

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

Performance query for eiq-sample-apps on imx8m nano cpu vs gpu

803件の閲覧回数
tyler_ward
Contributor III

I am atempting to confirm my performance numbers when running the eiq demos on the imx8m nano.

I am running a stock image (fsl-image-validation-imx) using the 4.14.98-2.3.0 yocto sumo manifest in the imx8mnevk board. I am using the opencv obj_recognition_cpp example code modified to set the Preferable target either set to CPU or OPENCL

edit to force hardware openCL shown below

  //Net net = readNetFromTensorflow(model, config);
  net = readNetFromCaffe(config, model);
  net.setPreferableTarget(cv::dnn::DNN_TARGET_OPENCL);
}

When using cpu processing I get an Inference fps of about 3 fps

When using the gpu for open cl I get an Inference fps of arround 1/12 (0.08) fps 

Are these the expected performance levels for running open cl on the gpu or have I misconfigured something?

Thanks

Tyler

ラベル(1)
タグ(2)
0 件の賞賛
返信
1 返信

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

Hello Tyler,

1. you can follow chapter 15 Application Programing Recommandations in the  iMX_Graphics_User's_Guide to optimize the apps.

2. Customer can use vProfiler and vAnalyzer ( VivanteVTK) to get a more detailed GPU performance, including GPU utilization, pixel rate, GPU idle cycles, and so on. For more info, please refer to vProfiler and vAnalyzer in the Graphics User Guide documentation.

 When GPU load is very high, other GPU apps will be slower. So, users must balance GPU resource among different GPU apps.

Regards

0 件の賞賛
返信