[LITE][OPENCL] Fix OpenCL API/Backend misc. test=develop (#3376)
1. clean code; 2. change `cl::Kernel` from unique to shared ptr; 3. `reset` `cl::Program` and `clear` `device_info_` in destroyed of CLRuntime; 4. remove clFlush in destroyed of CLRuntime.
Showing
想要评论请 注册 或 登录