Simultaneous use of OpenCL(GPU) and TensorFlow Lite(NPU)

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

Simultaneous use of OpenCL(GPU) and TensorFlow Lite(NPU)

992件の閲覧回数
tetsuro-okuyama
Contributor V

Hi,

I want to use OpenCL and Tensorflow lite in the same process.

But my program freezes after calling clEnqueueMapBuffer on i.MX 8Mplus.
Is it possible to use OpenCL and tflite (NPU) at the same time?

The outline of the program is as follows:

1. Initialize OpenCL and loading Tensorflow lite model(using NPU).
2. Call clEnqueueNDRangeKernel and clEnqueueMapBuffer for executing OpenCL
 ->Does not return from clEnqueueMapBuffer

Are there any restrictions on simultaneous use?
Also, if I need any settings, please let me know.


Best regards,

0 件の賞賛
返信
1 返信

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

Hello Tetsuro,

 

There is no restriction to use OpenCL and TensorFlow lite, but I do not see that clEnqueueNDRangeKernel has the data for NPU, so please send us your test code to validate.

 

Regards

0 件の賞賛
返信