一、概念:
1.1、一个完整的opencl框架,从内核层到用户层,可分为四部分:
内核层GPU驱动 - kernel device drive ,存在于Image or modules
用户层动态库 - user-space binary drive ,存在于/usr/lib/libOpenCL.so
头文件 - opencl head file ,存在于/usr/include/CL/
应用程序 - opencl application program
1.2、大体流程
内核层GPU驱动 - 用户层动态库 - 头文件 - 应用程序
二、各部分资源如何得到?
2.1、内核层GPU驱动(kernel device drive)
A、需要确定GPU的型号,因作者使用RK3399,通过RK3399对应数据手册可知,
GPU型号是