How to profile OpenCL on i.MX 8M?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to profile OpenCL on i.MX 8M?

1,181 次查看
aleksandrs_polo
Contributor I

Hello,

vProfiler:

  • produces *.vpd for OpenGL ES code (e.g. /opt/viv_samples/vdk/cover_flow), but
  • does not produce *.vpd for OpenCL code (e.g. /opt/viv_samples/cl11/fft/fft 1024).

How to profile OpenCL with vProfiler (so that the *.vpd file is produced) on i.MX 8M?

If that is not currently possible, what are other options to profile OpenCL on i.MX 8M?

What I do is:

  1. Use device MCIMX8M-EVK.
  2. Use software imx-yocto-L4.14.78_1.0.0_ga (Linux).
  3. Append arguments galcore.powerManagement=0 galcore.showArgs=1 galcore.gpuProfiler=1  to env bootargs in U-boot [1].
  4. In Linux, set environmental variable VIV_PROFILE to 1 (via export VIV_PROFILE=1) [2].
  5. Run /opt/viv_samples/cl11/fft/fft 1024 (or any other OpenCL program).

[1]: Document "i.MX Graphics User’s Guide" Rev. 1, 11/2018, Section "12.6.2.2 Enable vProfiler option in U-Boot"

[2]: Document "i.MX Graphics User’s Guide" Rev. 1, 11/2018, Section "12.6.2.3 Set vProfiler environment variables"


Best regards,
Alex

标签 (2)
标记 (3)
0 项奖励
回复
1 回复

970 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi Aleksandrs,

Currently is not prosible to enable vProfiler with OpenCL.

Regards

0 项奖励
回复