Compiler/BEAGLE-3P-BBONE-AI: TIDL example on Beagle-Bone AI

Prodigy 80 points

Replies: 3

Views: 43

Part Number: BEAGLE-3P-BBONE-AI

Tool/software: TI C/C++ Compiler

Hello,

I was trying to run TIDL segmentation example provided in debian@beaglebone:/usr/share/ti/examples/tidl/segmentation  using ./segmentation. but it is raising following error:

 

 

debian@beaglebone:/usr/share/ti/examples/tidl/segmentation$ ./segmentation

CMEM Error: init: major version mismatch between interface and driver.

CMEM Error:     needs driver version 0x4150002, got 0x4160000

TIOCL FATAL: The cmemk kernel module is not installed. Consult the OpenCL UserGuide at http://software-dl.ti.com/mctools/esd/docs/opencl/index.html

 

My kernel version is:

4.19.94-ti-r36

 

I have updated kernel from 4.14. Is that causing problem?

How can I recompile the codes which use TIDL library?

If I try gcc main.cpp in same segmentation folder it raises

 

 

debian@beaglebone:/usr/share/ti/examples/tidl/segmentation$ gcc main.cpp

main.cpp:44:22: fatal error: executor.h: No such file or directory

#include "executor.h"

                      ^

compilation terminated.

 

Also can we use TIDL in python?

 

Thanks.

3 Replies