Enable CLBlast on i.MX8MQ and i.MX8QM/QXP for Yocto project

cancel
Showing results for 
Search instead for 
Did you mean: 

Enable CLBlast on i.MX8MQ and i.MX8QM/QXP for Yocto project

No ratings

Enable CLBlast on i.MX8MQ and i.MX8QM/QXP for Yocto project

CLBlast (https://github.com/CNugteren/CLBlast) is a modern, lightweight, performant and tunable OpenCL BLAS library written in C++11. CLBlast implements BLAS routines: basic linear algebra subprograms operating on vectors and matrices. I enable the library on i.MX8MQ EVK/ i.MX8QXP MEK based on Vivante GPU GC7000L and  i.MX8QM MEK Vivante GPU GC7000XSVX. And I also tune its performance on i.MX8MQ/8QM/8QXP following https://github.com/CNugteren/CLBlast/blob/master/doc/tuning.md. The attached Yocto Recipe bb file base on L4.14.98 GA release.

Tags (3)
Attachments
Comments

Hi could you tell me how to add this layer to yocto? 

Hi Luis Neto

you need to downlaod attated file clblast.tgz and uncompress it. And then copy folder clblast to <i.MX Yocto Project folder>/sources/meta-fsl-bsp-release/imx/meta-sdk/recipes-support/. Later, you can run "bitbake clbast" to build it after you run the command of i.MX Linux Yocto Project Setup, like "DISTRO=fsl-imx-wayland MACHINE=imx8mqevk source fsl-setup-release.sh -b imx8mqevk".

It worked!!

Could you share your tuning results?

Hi Luis Neto

   My tuning results also be included in 0001-tuning-for-Vivante-OpenCL-Device-GPU.patch.

Version history
Revision #:
1 of 1
Last update:
‎09-06-2018 12:46 AM
Updated by: